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