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 27ee9ce commit 58a95e1Copy full SHA for 58a95e1
1 file changed
transformer_engine/plugin/core/backends/vendor/npu/patches.py
@@ -39,10 +39,6 @@ def get_npu_device_properties(device=None):
39
def apply_patch() -> None:
40
"""Apply NPU Python-side patches (idempotent, best-effort)."""
41
try:
42
- #from .npu import NPUBackend
43
-
44
- #if not NPUBackend().is_available():
45
- # return
46
import torch_npu
47
if not torch_npu.npu.is_available():
48
return
0 commit comments