File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 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' }}"
You can’t perform that action at this time.
0 commit comments