mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-11 06:40:48 +08:00
Compare commits
3 Commits
b91e3f9859
...
d40347e373
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d40347e373 | ||
|
|
5c565e9125 | ||
|
|
083d8aa330 |
@ -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…
Reference in New Issue
Block a user