Skip to content

Commit f4daf4a

Browse files
committed
update
1 parent 4300a89 commit f4daf4a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
npu_count=$(python -c "import torch; print(torch.npu.device_count())")
9999
echo "NPU is available: ${npu_is_available}"
100100
echo "NPU count: ${npu_count}"
101-
pip list | grep torch
101+
pip list | grep -E 'torch|numpy'
102102
103103
- name: Run benchmarks
104104
working-directory: benchmark
@@ -121,7 +121,7 @@ jobs:
121121
id: report
122122
run: |
123123
output_path=$(realpath benchmark/ascend_npu_benchmark.json)
124-
table=$(python .ci/benchmark.py)
124+
table=$(python .ci/benchmark.py ${output_path})
125125
echo "table=${table}" >> $GITHUB_OUTPUT
126126
127127
- name: Write to workflow job summary
@@ -131,6 +131,7 @@ jobs:
131131
echo "${{ steps.report.outputs.table }}" >> $GITHUB_STEP_SUMMARY
132132
133133
- name: Modify README.md
134+
if: ${{ always() }}
134135
run: |
135136
echo "${{ github.event_name }}"
136137
echo "${{ github.event_name == 'push' }}"

0 commit comments

Comments
 (0)