Disable mixing scaled FP8 + GGUF

This commit is contained in:
City
2025-04-16 16:07:51 +02:00
parent 47bec61475
commit e29f526c68
+2
View File
@@ -227,6 +227,8 @@ class CLIPLoaderGGUF:
sd = gguf_clip_loader(p)
else:
sd = comfy.utils.load_torch_file(p, safe_load=True)
if "scaled_fp8" in sd: # NOTE: Scaled FP8 would require different custom ops, but only one can be active
raise NotImplementedError(f"Mixing scaled FP8 with GGUF is not supported! Use regular CLIP loader or switch model(s)\n({p})")
clip_data.append(sd)
return clip_data