[Models] Cohere Eagle + fix to Cohere MoE (#42078)

Signed-off-by: Terrencezzj <terrence@cohere.ai>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Terrence Zhao
2026-05-08 21:46:26 -07:00
committed by GitHub
co-authored by Cursor
parent e8f9038ebd
commit a2812becd6
8 changed files with 377 additions and 41 deletions
+1
View File
@@ -1168,6 +1168,7 @@ class SpecDecodeBaseProposer:
# handle multimodality
assert hasattr(target_model, "config")
if self.get_model_name(target_model) in [
"Cohere2VisionForConditionalGeneration",
"Exaone4_5_ForConditionalGeneration",
"GlmOcrForConditionalGeneration",
"HunYuanVLForConditionalGeneration",