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 bfloat16 potentially not being enabled on mps.
comfyanonymousa6decf1e6209
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex de4bd4426..b4f32d648 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -897,7 +897,10 @@ def should_use_bf16(device=None, model_params=0, prioritize_performance=True, maif directml_enabled:return False- if cpu_mode() or mps_mode():+ if mps_mode():+ return True++ if cpu_mode():return Falseif is_intel_xpu():