From 77e928d00e9a444e2c2796bfb5e15724863f965a Mon Sep 17 00:00:00 2001 From: Sai Enduri Date: Sat, 7 Jun 2025 15:10:27 -0700 Subject: [PATCH] Update server timeout time in AMD CI. (#6953) --- .github/workflows/pr-test-amd.yml | 4 ++-- python/sglang/test/test_utils.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-test-amd.yml b/.github/workflows/pr-test-amd.yml index daa4176fc..d7de3ac73 100644 --- a/.github/workflows/pr-test-amd.yml +++ b/.github/workflows/pr-test-amd.yml @@ -284,9 +284,9 @@ jobs: run: bash scripts/amd_ci_install_dependency.sh - name: Run test - timeout-minutes: 40 + timeout-minutes: 60 run: | - bash scripts/amd_ci_exec.sh python3 run_suite.py --suite per-commit-8-gpu-amd + bash scripts/amd_ci_exec.sh python3 run_suite.py --suite per-commit-8-gpu-amd --timeout-per-file 3600 finish: if: always() diff --git a/python/sglang/test/test_utils.py b/python/sglang/test/test_utils.py index 607a53b63..0aacec497 100644 --- a/python/sglang/test/test_utils.py +++ b/python/sglang/test/test_utils.py @@ -109,6 +109,9 @@ else: ) DEFAULT_URL_FOR_TEST = f"http://127.0.0.1:{DEFAULT_PORT_FOR_SRT_TEST_RUNNER + 1000}" +if is_in_amd_ci(): + DEFAULT_TIMEOUT_FOR_SERVER_LAUNCH = 3000 + def call_generate_lightllm(prompt, temperature, max_tokens, stop=None, url=None): assert url is not None