The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Apparently directml supports fp16.
comfyanonymous12da6ef581cd
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex 9ff63f35d..9066e0dc2 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -1021,8 +1021,6 @@ def is_directml_enabled():return Falsedef should_use_fp16(device=None, model_params=0, prioritize_performance=True, manual_cast=False):- global directml_enabled-if device is not None:if is_device_cpu(device):return False@@ -1033,8 +1031,8 @@ def should_use_fp16(device=None, model_params=0, prioritize_performance=True, maif FORCE_FP32:return False- if directml_enabled:- return False+ if is_directml_enabled():+ return Trueif (device is not None and is_device_mps(device)) or mps_mode():return True