mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-15 00:30:55 +08:00
Merge 5c565e9125 into 87c104bfc1
This commit is contained in:
commit
cc485a4fde
@ -122,6 +122,7 @@ except:
|
||||
try:
|
||||
import torch_npu # noqa: F401
|
||||
_ = torch.npu.device_count()
|
||||
torch_npu.npu.set_compile_mode(jit_compile = False)
|
||||
npu_available = torch.npu.is_available()
|
||||
except:
|
||||
npu_available = False
|
||||
|
||||
Loading…
Reference in New Issue
Block a user