mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-09 05:40:49 +08:00
Merge efac5a7075 into 3cd7b32f1b
This commit is contained in:
commit
b91e3f9859
@ -123,6 +123,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