[CI/NPU] fix multiple NPU CI issue (#16111)
This commit is contained in:
@@ -93,7 +93,7 @@ jobs:
|
|||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
||||||
# copy download through proxy
|
# copy download through proxy
|
||||||
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://raw.githubusercontent.com/openai/grade-school-math/master/grade_school_math/data/test.jsonl
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
@@ -138,7 +138,7 @@ jobs:
|
|||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
||||||
# copy download through proxy
|
# copy download through proxy
|
||||||
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://raw.githubusercontent.com/openai/grade-school-math/master/grade_school_math/data/test.jsonl
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
@@ -179,7 +179,7 @@ jobs:
|
|||||||
# copy required file from our daily cache
|
# copy required file from our daily cache
|
||||||
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
cp ~/.cache/modelscope/hub/datasets/otavia/ShareGPT_Vicuna_unfiltered/ShareGPT_V3_unfiltered_cleaned_split.json /tmp
|
||||||
# copy download through proxy
|
# copy download through proxy
|
||||||
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://raw.githubusercontent.com/openai/grade-school-math/master/grade_school_math/data/test.jsonl
|
||||||
|
|
||||||
- name: Run test
|
- name: Run test
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
|
|||||||
@@ -63,4 +63,4 @@ pip install ./custom_ops-1.0.$DEVICE_TYPE-cp311-cp311-linux_aarch64.whl
|
|||||||
|
|
||||||
### Install SGLang
|
### Install SGLang
|
||||||
rm -rf python/pyproject.toml && mv python/pyproject_other.toml python/pyproject.toml
|
rm -rf python/pyproject.toml && mv python/pyproject_other.toml python/pyproject.toml
|
||||||
${PIP_INSTALL} -v -e "python[srt_npu]"
|
${PIP_INSTALL} -v -e "python[dev_npu]"
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ class TestAscendDeepEP(CustomTestCase):
|
|||||||
process = popen_launch_server(
|
process = popen_launch_server(
|
||||||
model,
|
model,
|
||||||
self.base_url,
|
self.base_url,
|
||||||
timeout=1500,
|
timeout=2400,
|
||||||
other_args=[
|
other_args=[
|
||||||
*self.common_args,
|
*self.common_args,
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ class TestAscendDeepSeekMTP(CustomTestCase):
|
|||||||
process = popen_launch_server(
|
process = popen_launch_server(
|
||||||
model,
|
model,
|
||||||
self.base_url,
|
self.base_url,
|
||||||
timeout=1500,
|
timeout=2400,
|
||||||
other_args=[
|
other_args=[
|
||||||
*self.common_args,
|
*self.common_args,
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user