Update vision.py

This commit is contained in:
Daniel Han 2025-03-26 04:13:43 -07:00
commit 7a581bdbe2

View file

@ -306,7 +306,7 @@ class FastBaseModel:
# Stop SDPA for some archs like Pixtral / Mistral3
kwargs["attn_implementation"] = "sdpa"
if not supports_sdpa:
print(f"Unsloth: {model_type_arch} does not support SDPA - switching to eager!")
print(f"Unsloth: {model_type_arch.title()} does not support SDPA - switching to eager!")
del kwargs["attn_implementation"]
pass