Skip to content

Commit bce84a1

Browse files
authored
[CI] Fix (#4)
1 parent db11a8b commit bce84a1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/_build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ jobs:
5656
- name: Compile and install torch_npu
5757
working-directory: /root/build/npu/pytorch
5858
run: |
59-
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
59+
pip install -r requirements.txt
6060
bash ci/build.sh --python=`python --version | awk '{print $2}' | cut -d '.' -f 1,2`
6161
pip3 install dist/torch_npu*.whl
6262
- name: Do the test
63-
working-directory: /root/build
63+
working-directory: /root/build/npu/pytorch
6464
run: |
65-
pip3 install -r npu/pytorch/test/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --no-deps
66-
python npu/pytorch/ci/access_control_test.py
65+
pip3 install -r test/requirements.txt --no-deps
66+
python ci/access_control_test.py

.github/workflows/ascend_npu_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ on:
3030
type: choice
3131
options:
3232
- self-hosted
33+
- npu-arm64
3334
default: 'self-hosted'
3435
description: The runner selected to run on
3536
device:

0 commit comments

Comments
 (0)