We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba272c1 commit 2c6bec9Copy full SHA for 2c6bec9
.github/workflows/_ascend_npu_benchmark.yml
@@ -105,7 +105,7 @@ jobs:
105
id: list-torch-version
106
shell: bash
107
run: |
108
- torch_version=$(python -c "import torch; print(torch.__version__)")
+ torch_version=$(python -c "from importlib.metadata import version;print(version('torch'))")
109
echo "torch-version=${torch_version}" >> $GITHUB_OUTPUT
110
111
- name: Install benchmark dependencies
0 commit comments