cerebras.modelzoo.common.run_gpt_inference.setup_logging_excepthook#

cerebras.modelzoo.common.run_gpt_inference.setup_logging_excepthook()[source]#

Setup a logging hook that runs whenever an exception is raised that catches and logs the exception to ensure that the full traceback is printed in the log file.