Update vision.py

This commit is contained in:
Daniel Han 2025-03-18 03:45:55 -07:00
commit aca62cfa01

View file

@ -126,8 +126,8 @@ def unsloth_base_fast_generate(
pass
pass
key = NUM_LOGITS_TO_KEEP[arch]
if key is not None and key not in kwargs:
kwargs[key] = 1
# if key is not None and key not in kwargs:
# kwargs[key] = 1
global PROMPT_LOOPKUP
if arch not in PROMPT_LOOPKUP:
PROMPT_LOOPKUP[arch] = True