Update vision.py
This commit is contained in:
parent
dddd5de8f3
commit
abc50d7def
1 changed files with 1 additions and 0 deletions
|
|
@ -118,6 +118,7 @@ def unsloth_base_fast_generate(
|
|||
key = NUM_LOGITS_TO_KEEP[arch]
|
||||
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
|
||||
if PROMPT_LOOPKUP[arch]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue