mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-11 16:46:58 +08:00
Merge 5c565e9125b475294422b99d361d24920c55ed91 into 0899012ad60db23cbc5990d164fbd22195bafcb2
This commit is contained in:
commit
69659c2309
@ -123,6 +123,7 @@ except:
|
|||||||
try:
|
try:
|
||||||
import torch_npu # noqa: F401
|
import torch_npu # noqa: F401
|
||||||
_ = torch.npu.device_count()
|
_ = torch.npu.device_count()
|
||||||
|
torch_npu.npu.set_compile_mode(jit_compile = False)
|
||||||
npu_available = torch.npu.is_available()
|
npu_available = torch.npu.is_available()
|
||||||
except:
|
except:
|
||||||
npu_available = False
|
npu_available = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user