Skip to content

Commit 7f9b7a6

Browse files
committed
update
1 parent f6314e0 commit 7f9b7a6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,16 @@ jobs:
6262
apt install --no-install-recommends -y git gcc g++ make cmake ninja-build curl
6363
6464
- name: Install torch_npu
65-
working-directory: ascend_npu
6665
run: |
6766
pip install torch-npu --index-url https://pypi.org/simple/
6867
6968
- name: Install torch_npu dependencies
70-
working-directory: ascend_npu
7169
run: |
72-
curl -fsSL -O https://raw.githubusercontent.com/Ascend/pytorch/refs/heads/master/requirements.txt
73-
pip install -r requirements.txt
70+
mkdir ascend_npu
71+
curl -fsSL -o ascend_npu/requirements.txt https://raw.githubusercontent.com/Ascend/pytorch/refs/heads/master/requirements.txt
72+
pip install -r ascend_npu/requirements.txt
73+
echo $(pwd)
74+
echo $(ls -la)
7475
7576
- name: Checkout
7677
uses: actions/checkout@v4
@@ -83,8 +84,8 @@ jobs:
8384

8485
- name: Install benchmark dependencies
8586
run: |
86-
pip install -r benchmark/requirements.txt --constraint ./ascend_npu/requirements.txt
87-
python ./benchmark/install.py --userbenchmark test_bench --models BERT_pytorch hf_GPT2
87+
pip install -r benchmark/requirements.txt --constraint ascend_npu/requirements.txt
88+
python benchmark/install.py --userbenchmark test_bench --models BERT_pytorch hf_GPT2
8889
8990
- name: Run benchmarks
9091
working-directory: benchmark

0 commit comments

Comments
 (0)