From ca56c458ad919ef239d8f447c20672f3eb9a0eb4 Mon Sep 17 00:00:00 2001 From: Dipika Sikka Date: Tue, 6 Aug 2024 01:56:47 +0000 Subject: [PATCH] fix --- .buildkite/lm-eval-harness/test_lm_eval_correctness.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/lm-eval-harness/test_lm_eval_correctness.py b/.buildkite/lm-eval-harness/test_lm_eval_correctness.py index 671231697b196..2b33274db2a8d 100644 --- a/.buildkite/lm-eval-harness/test_lm_eval_correctness.py +++ b/.buildkite/lm-eval-harness/test_lm_eval_correctness.py @@ -25,7 +25,7 @@ def launch_lm_eval(eval_config): try: trust_remote_code = eval_config['trust_remote_code'] - except: + except Exception trust_remote_code = False model_args = f"pretrained={eval_config['model_name']}," \