Skip to content

Commit e73c4a5

Browse files
committed
[bugfix]already a kernel registered
1 parent 26f7db2 commit e73c4a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/_ascend_npu_build_torch_npu.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ jobs:
124124
- name: List torch_npu version
125125
id: list-version
126126
run: |
127+
export TORCH_DEVICE_BACKEND_AUTOLOAD=0
127128
torch_version=$(python -c "import torch; print(torch.__version__)")
128129
torch_npu_version=$(python -c "import torch_npu; print(torch_npu.__version__)")
129130
echo "torch version: ${torch_version}"

0 commit comments

Comments
 (0)