Skip to content

Commit ee12c89

Browse files
committed
update
1 parent 7d5a001 commit ee12c89

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,8 @@ jobs:
7979
working-directory: ascend_npu
8080
run: |
8181
pip install ${{ inputs.artifact_name }}
82-
torch_npu_version=$(python -c "import torch_npu; print(torch_npu.__version__)")
8382
npu_is_available=$(python -c "import torch; print(torch.npu.is_available())")
8483
npu_count=$(python -c "import torch; print(torch.npu.device_count())")
85-
echo "Installed torch_npu: ${torch_npu_version}"
8684
echo "NPU is available: ${npu_is_available}"
8785
echo "NPU count: ${npu_count}"
8886
@@ -127,3 +125,8 @@ jobs:
127125
run: |
128126
echo "## Torchbenchmark statistics report" >> $GITHUB_STEP_SUMMARY
129127
echo "${{ steps.report.outputs.table }}" >> $GITHUB_STEP_SUMMARY
128+
129+
- name: Modify README.md
130+
run: |
131+
echo "${{ github.event_name }}"
132+
echo "${{ github.event_name == 'push' }}"

0 commit comments

Comments
 (0)