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 some fp8 scaled checkpoints no longer working. (#13239)
comfyanonymouse2ddf28d78f1
diff --git a/comfy/sd.py b/comfy/sd.pyindex 7425765a4..5b6b59ea4 100644--- a/comfy/sd.py+++ b/comfy/sd.py@@ -1745,6 +1745,8 @@ def load_diffusion_model_state_dict(sd, model_options={}, metadata=None, disabletemp_sd = comfy.utils.state_dict_prefix_replace(sd, {diffusion_model_prefix: ""}, filter_keys=True)if len(temp_sd) > 0:sd = temp_sd+ if custom_operations is None:+ sd, metadata = comfy.utils.convert_old_quants(sd, "", metadata=metadata)parameters = comfy.utils.calculate_parameters(sd)weight_dtype = comfy.utils.weight_dtype(sd)