The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Use half() function on model when loading in fp16.
comfyanonymous986dd820dcae
diff --git a/comfy/sd.py b/comfy/sd.pyindex 3f5ce24e9..c7e0b073d 100644--- a/comfy/sd.py+++ b/comfy/sd.py@@ -854,4 +854,7 @@ def load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, emodel = instantiate_from_config(model_config)model = load_model_weights(model, sd, verbose=False, load_state_dict_to=load_state_dict_to)+ if fp16:+ model = model.half()+return (ModelPatcher(model), clip, vae)