Update vision.py
This commit is contained in:
parent
e99dfc2589
commit
a8884bc8c1
1 changed files with 1 additions and 0 deletions
|
|
@ -207,6 +207,7 @@ def unsloth_base_fast_generate(
|
|||
|
||||
try:
|
||||
with torch.inference_mode(), autocaster:
|
||||
print(args, kwargs)
|
||||
output = self._old_generate(*args, **kwargs)
|
||||
except:
|
||||
PROMPT_LOOPKUP[arch] = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue