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.

This is not needed anymore and causes issues with alphas_cumprod.

comfyanonymousfb4bf7f591e4
diff --git a/comfy/sd.py b/comfy/sd.py
index 24806dd01..7f04ae3a7 100644
--- a/comfy/sd.py
+++ b/comfy/sd.py
@@ -1159,9 +1159,6 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, o
else:
model = model_base.BaseModel(unet_config, v_prediction=v_prediction)
- if fp16:
- model = model.half()
-
model = load_model_weights(model, sd, verbose=False, load_state_dict_to=load_state_dict_to)
return (ModelPatcher(model), clip, vae, clipvision)