From 4504ee718ac9d3fc244abcb0f3d2d5619daf0e72 Mon Sep 17 00:00:00 2001 From: comfyanonymous <121283862+comfyanonymous@users.noreply.github.com> Date: Tue, 31 Mar 2026 14:27:17 -0700 Subject: [PATCH] Fix some fp8 scaled checkpoints no longer working. (#13239) --- comfy/sd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comfy/sd.py b/comfy/sd.py index e207bb0fd..3c1cf242b 100644 --- a/comfy/sd.py +++ b/comfy/sd.py @@ -1724,6 +1724,8 @@ def load_diffusion_model_state_dict(sd, model_options={}, metadata=None, disable temp_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) custom_operations = model_options.get("custom_operations", None) if custom_operations is None: