Npu single node test timeout config (#36092)
This commit is contained in:
@@ -58,6 +58,11 @@ on:
|
|||||||
description: 'GitHub token for API calls'
|
description: 'GitHub token for API calls'
|
||||||
type: string
|
type: string
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
|
test_timeout_minutes:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: '300'
|
||||||
|
description: 'timeout-minutes for the Run test step'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
SKIP_PR_TEST_HEALTH_CHECK: ${{ inputs.skip_pr_test_health_check }}
|
SKIP_PR_TEST_HEALTH_CHECK: ${{ inputs.skip_pr_test_health_check }}
|
||||||
@@ -210,7 +215,7 @@ jobs:
|
|||||||
curl -o /tmp/test.jsonl -L https://gh-proxy.test.osinfra.cn/https://raw.githubusercontent.com/openai/grade-school-math/master/grade_school_math/data/test.jsonl
|
curl -o /tmp/test.jsonl -L https://gh-proxy.test.osinfra.cn/https://raw.githubusercontent.com/openai/grade-school-math/master/grade_school_math/data/test.jsonl
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
timeout-minutes: 300
|
timeout-minutes: ${{ fromJson(inputs.test_timeout_minutes) }}
|
||||||
env:
|
env:
|
||||||
SGLANG_USE_MODELSCOPE: true
|
SGLANG_USE_MODELSCOPE: true
|
||||||
HF_ENDPOINT: https://hf-mirror.com
|
HF_ENDPOINT: https://hf-mirror.com
|
||||||
|
|||||||
@@ -278,6 +278,7 @@ jobs:
|
|||||||
install_sglang_deps: false
|
install_sglang_deps: false
|
||||||
device_type_for_deps: 'a3'
|
device_type_for_deps: 'a3'
|
||||||
run_start_metadata: ${{ needs.set-image-config.outputs.run_start_metadata }}
|
run_start_metadata: ${{ needs.set-image-config.outputs.run_start_metadata }}
|
||||||
|
test_timeout_minutes: '180'
|
||||||
|
|
||||||
# The acc-2 suite is split across 4 parallel partition jobs via the single `partitions` input.
|
# The acc-2 suite is split across 4 parallel partition jobs via the single `partitions` input.
|
||||||
nightly-acc-2-npu-a3:
|
nightly-acc-2-npu-a3:
|
||||||
|
|||||||
@@ -394,6 +394,7 @@ jobs:
|
|||||||
image: ${{ needs.set-image-config.outputs.CANN_image_a3 }}
|
image: ${{ needs.set-image-config.outputs.CANN_image_a3 }}
|
||||||
install_sglang_deps: true
|
install_sglang_deps: true
|
||||||
device_type_for_deps: 'a3'
|
device_type_for_deps: 'a3'
|
||||||
|
test_timeout_minutes: '180'
|
||||||
|
|
||||||
|
|
||||||
pr-test-npu-finish:
|
pr-test-npu-finish:
|
||||||
|
|||||||
Reference in New Issue
Block a user