Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix ruff.

comfyanonymous1d5d6586f300
diff --git a/comfy/model_management.py b/comfy/model_management.py
index cbf4c4ea6..f3d90c668 100644
--- a/comfy/model_management.py
+++ b/comfy/model_management.py
@@ -1082,7 +1082,7 @@ def should_use_bf16(device=None, model_params=0, prioritize_performance=True, ma
if is_intel_xpu():
return True
-
+
if is_ascend_npu():
return True