The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Small cleanups.
comfyanonymous0d7b0a4dc7e8
diff --git a/comfy/model_management.py b/comfy/model_management.pyindex 51f631416..fc0cb9011 100644--- a/comfy/model_management.py+++ b/comfy/model_management.py@@ -589,7 +589,10 @@ def should_use_fp16(device=None, model_params=0):if cpu_mode() or mps_mode():return False #TODO ?- if torch.cuda.is_bf16_supported() or xpu_available:+ if xpu_available:+ return True++ if torch.cuda.is_bf16_supported():return Trueprops = torch.cuda.get_device_properties("cuda")