Compare commits

...

3 Commits

Author SHA1 Message Date
Rui Wang (王瑞)
d40347e373
Merge 5c565e9125 into 2943093a53 2025-12-28 16:03:29 +08:00
Rui Wang (王瑞)
5c565e9125
Merge branch 'comfyanonymous:master' into ascend/quicker_generate 2025-11-19 00:03:25 +08:00
muxuezzz
083d8aa330 fix: accelerate the first inference speed on low-level NPUs. 2025-09-27 15:23:09 +08:00

View File

@ -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