[Models] Consolidate Deepseek-OCR2 processor (#33909)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py
2026-02-05 18:29:20 +00:00
committed by GitHub
parent a57c8228ff
commit 87d0d17ab5
5 changed files with 52 additions and 336 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class CustomQwen2Decoder(nn.Module):
num_key_value_heads: int = 2,
intermediate_size: int = 4864,
vocab_size: int = 151936,
attn_implementation: str = "sdpa", # ⭐
attn_implementation: str = "sdpa",
rms_norm_eps: float = 1e-06,
rope_theta: float = 1000000.0,
attention_dropout: float = 0.0,