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.

Remove leftover scaled_fp8 key. (#11603)

comfyanonymous9a552df898ec
diff --git a/comfy/utils.py b/comfy/utils.py
index 8d4e2b445..e4162d7ac 100644
--- a/comfy/utils.py
+++ b/comfy/utils.py
@@ -1230,6 +1230,8 @@ def convert_old_quants(state_dict, model_prefix="", metadata={}):
out_sd = {}
layers = {}
for k in list(state_dict.keys()):
+ if k == scaled_fp8_key:
+ continue
if not k.startswith(model_prefix):
out_sd[k] = state_dict[k]
continue