Skip to content

Commit ba272c1

Browse files
committed
update torch version
1 parent 64965e2 commit ba272c1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ jobs:
9090
run: |
9191
pip install -r https://raw.githubusercontent.com/Ascend/pytorch/refs/heads/master/requirements.txt
9292
93-
- name: List torch version
94-
id: list-torch-version
95-
shell: bash
96-
run: |
97-
torch_version=$(python -c "import torch; print(torch.__version__)")
98-
echo "torch-version=${torch_version}" >> $GITHUB_OUTPUT
99-
10093
- name: Download torch_npu artifact
10194
uses: actions/download-artifact@v4
10295
with:
@@ -108,6 +101,13 @@ jobs:
108101
run: |
109102
pip install ${{ inputs.torch-npu-artifact }}
110103
104+
- name: List torch version
105+
id: list-torch-version
106+
shell: bash
107+
run: |
108+
torch_version=$(python -c "import torch; print(torch.__version__)")
109+
echo "torch-version=${torch_version}" >> $GITHUB_OUTPUT
110+
111111
- name: Install benchmark dependencies
112112
run: |
113113
pip install -r benchmark/requirements.txt \

0 commit comments

Comments
 (0)