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.
previous
cerebras.modelzoo.common.run_gpt_inference.setup_logging
next
cerebras.modelzoo.common.run_utils