From ea34350d882624e421101ffa0477f2d3bf3364e2 Mon Sep 17 00:00:00 2001 From: Lianmin Zheng Date: Mon, 25 Nov 2024 17:12:08 -0800 Subject: [PATCH] Rename double sparsity config file (#2188) --- .github/workflows/pr-test.yml | 4 ++-- ...json => double-sparsity-config-Llama-3.1-8B-Instruct.json} | 0 test/srt/test_double_sparsity.py | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) rename test/srt/{Llama-3.1-8B-Instruct.json => double-sparsity-config-Llama-3.1-8B-Instruct.json} (100%) diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 23d777c43..a3d30324c 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -84,7 +84,7 @@ jobs: timeout-minutes: 25 run: | cd test/srt - python3 run_suite.py --suite minimal --range-begin 14 --range-end 21 + python3 run_suite.py --suite minimal --range-begin 14 --range-end 23 unit-test-backend-part-4: if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' @@ -101,7 +101,7 @@ jobs: timeout-minutes: 25 run: | cd test/srt - python3 run_suite.py --suite minimal --range-begin 21 + python3 run_suite.py --suite minimal --range-begin 23 unit-test-backend-2-gpu-part-1: if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' diff --git a/test/srt/Llama-3.1-8B-Instruct.json b/test/srt/double-sparsity-config-Llama-3.1-8B-Instruct.json similarity index 100% rename from test/srt/Llama-3.1-8B-Instruct.json rename to test/srt/double-sparsity-config-Llama-3.1-8B-Instruct.json diff --git a/test/srt/test_double_sparsity.py b/test/srt/test_double_sparsity.py index 1a35280a0..20896aff2 100644 --- a/test/srt/test_double_sparsity.py +++ b/test/srt/test_double_sparsity.py @@ -18,7 +18,9 @@ class TestDoubleSparsity(unittest.TestCase): cls.model = DEFAULT_MODEL_NAME_FOR_TEST cls.base_url = DEFAULT_URL_FOR_TEST dirpath = os.path.dirname(__file__) - config_file = os.path.join(dirpath, "Llama-3.1-8B-Instruct.json") + config_file = os.path.join( + dirpath, "double-sparsity-config-Llama-3.1-8B-Instruct.json" + ) # NOTE: Generate the config file by running https://github.com/andy-yang-1/DoubleSparse/blob/main/evaluation/group_channel_config.py cls.process = popen_launch_server( cls.model,