From f3c0ca701217f4a354f04b7e76549538833da4c8 Mon Sep 17 00:00:00 2001 From: Daniel Han-Chen Date: Wed, 11 Feb 2026 13:34:44 +0000 Subject: [PATCH] Remove redundant Deepseek OCR patch call from vision loader --- unsloth/models/vision.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py index b03f1c6d15..3e6dc8ac5f 100644 --- a/unsloth/models/vision.py +++ b/unsloth/models/vision.py @@ -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