Remove redundant Deepseek OCR patch call from vision loader
This commit is contained in:
parent
631b36db15
commit
f3c0ca7012
1 changed files with 0 additions and 8 deletions
|
|
@ -782,14 +782,6 @@ class FastBaseModel:
|
|||
# attn_implementation = attn_implementation,
|
||||
**kwargs,
|
||||
)
|
||||
try:
|
||||
from unsloth_zoo.temporary_patches.misc import (
|
||||
patch_deepseek_ocr_masked_scatter,
|
||||
)
|
||||
|
||||
patch_deepseek_ocr_masked_scatter()
|
||||
except Exception:
|
||||
pass
|
||||
if hasattr(model, "generate"):
|
||||
model.fast_generate = make_fast_generate_wrapper(model.generate)
|
||||
model.fast_generate_batches = error_out_no_vllm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue