Update loader.py

This commit is contained in:
hpr
2026-01-12 06:23:00 +07:00
committed by jayn7
parent 36b16deb09
commit 243a525df9
+1 -1
View File
@@ -492,7 +492,7 @@ def gguf_clip_loader(path):
if arch == "llama" and sd[temb_key].shape == (131072, 5120):
# non-standard Comfy-Org tokenizer
sd["tekken_model"] = gguf_tekken_tokenizer_loader(path, sd[temb_key].shape)
if arch == "gemma3":
elif arch == "gemma3":
sd["spiece_model"] = gguf_gemma3_tokenizer_loader(path)
# See note above for T5.
logging.warning(f"Dequantizing {temb_key} to prevent runtime OOM.")