From 518576dd1a87b113179d23f57241662e2c3e55cf Mon Sep 17 00:00:00 2001 From: wgzintel Date: Thu, 1 Aug 2024 10:43:13 +0800 Subject: [PATCH] revert benchmark.py --- .github/workflows/check_model_pattern_changes.yml | 3 +-- llm_bench/python/benchmark.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_model_pattern_changes.yml b/.github/workflows/check_model_pattern_changes.yml index 3e8eeb648b..ea42e8b2f7 100644 --- a/.github/workflows/check_model_pattern_changes.yml +++ b/.github/workflows/check_model_pattern_changes.yml @@ -9,8 +9,7 @@ env: on: pull_request: paths: - - 'requirements.txt' - - .github/workflows/check_model_pattern_changes.yml + - 'llm_bench/python/requirements.txt' permissions: read-all # Required by https://github.com/ossf/scorecard/blob/e23b8ad91fd6a64a0a971ca4fc0a4d1650725615/docs/checks.md#token-permissions diff --git a/llm_bench/python/benchmark.py b/llm_bench/python/benchmark.py index c348dac364..2e4a23da41 100644 --- a/llm_bench/python/benchmark.py +++ b/llm_bench/python/benchmark.py @@ -762,7 +762,7 @@ def main(): model_precision, ) except Exception: - log.error('An exception occurred ....') + log.error('An exception occurred') log.info(traceback.format_exc()) exit(1) finally: