Update server timeout time in AMD CI. (#6953)
This commit is contained in:
4
.github/workflows/pr-test-amd.yml
vendored
4
.github/workflows/pr-test-amd.yml
vendored
@@ -284,9 +284,9 @@ jobs:
|
|||||||
run: bash scripts/amd_ci_install_dependency.sh
|
run: bash scripts/amd_ci_install_dependency.sh
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
timeout-minutes: 40
|
timeout-minutes: 60
|
||||||
run: |
|
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:
|
finish:
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
@@ -109,6 +109,9 @@ else:
|
|||||||
)
|
)
|
||||||
DEFAULT_URL_FOR_TEST = f"http://127.0.0.1:{DEFAULT_PORT_FOR_SRT_TEST_RUNNER + 1000}"
|
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):
|
def call_generate_lightllm(prompt, temperature, max_tokens, stop=None, url=None):
|
||||||
assert url is not None
|
assert url is not None
|
||||||
|
|||||||
Reference in New Issue
Block a user