Update vision.py

This commit is contained in:
Daniel Han 2025-03-18 04:50:18 -07:00
commit e24059fb03

View file

@ -146,7 +146,7 @@ def unsloth_base_fast_generate(
try: kwargs["pixel_values"] = kwargs["pixel_values"].to(dtype)
except: pass
print(args, kwargs)
print(args, kwargs, self._old_generate)
# Mixed precision autocast
if os.environ.get("UNSLOTH_FORCE_FLOAT32", "0") == "1":