From d3492a67e603c476fc988b78b30a5114dea01eb0 Mon Sep 17 00:00:00 2001 From: huyiwen <1020030101@qq.com> Date: Thu, 29 Aug 2024 19:49:26 +0800 Subject: [PATCH] [ci] skip dashscope/resources/qwen.tiktoken not found --- tests/dry_test/test_models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/dry_test/test_models.py b/tests/dry_test/test_models.py index d0203a1c..e7c9ec2e 100644 --- a/tests/dry_test/test_models.py +++ b/tests/dry_test/test_models.py @@ -26,3 +26,5 @@ def test_models_dry_run(run_evaluate, model, dataset, extra_args): run_evaluate(["-m", model, "-d", dataset, "-b", "10", "--dry_run"] + extra_args, cuda=0) except torch.cuda.OutOfMemoryError: pytest.skip(f"Out of memory error on {model} {dataset}") + except FileNotFoundError: + pytest.skip(f"File not found error on {model} {dataset}")