mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-10 14:07:05 +08:00
Ruff.
This commit is contained in:
parent
2dac065cd7
commit
50ff3a2a6a
@ -96,7 +96,7 @@ except:
|
|||||||
npu_available = False
|
npu_available = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import torch_mlu
|
import torch_mlu # noqa: F401
|
||||||
_ = torch.mlu.device_count()
|
_ = torch.mlu.device_count()
|
||||||
mlu_available = torch.mlu.is_available()
|
mlu_available = torch.mlu.is_available()
|
||||||
except:
|
except:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user