Skip to content

Commit 58a95e1

Browse files
committed
123
1 parent 27ee9ce commit 58a95e1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

  • transformer_engine/plugin/core/backends/vendor/npu

transformer_engine/plugin/core/backends/vendor/npu/patches.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ def get_npu_device_properties(device=None):
3939
def apply_patch() -> None:
4040
"""Apply NPU Python-side patches (idempotent, best-effort)."""
4141
try:
42-
#from .npu import NPUBackend
43-
44-
#if not NPUBackend().is_available():
45-
# return
4642
import torch_npu
4743
if not torch_npu.npu.is_available():
4844
return

0 commit comments

Comments
 (0)