File tree Expand file tree Collapse file tree 3 files changed +0
-113
lines changed
Expand file tree Collapse file tree 3 files changed +0
-113
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,6 @@ def _derive_model_shapes(self):
338338 or "DotsVLMForCausalLM" in self .hf_config .architectures
339339 or "MistralLarge3ForCausalLM" in self .hf_config .architectures
340340 or "PixtralForConditionalGeneration" in self .hf_config .architectures
341- or "MistralLarge3ForCausalLMEagle" in self .hf_config .architectures
342341 ):
343342 self .head_dim = 256
344343 self .attention_arch = AttentionArch .MLA
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -70,16 +70,13 @@ def adapt_config_dict(
7070 "encoder_args"
7171 )
7272 )
73- is_eagle = "eagle" in model
7473
7574 assert not (is_vision and is_audio ), "Vision and audio are mutually exclusive"
7675
7776 if is_vision :
7877 config_dict = _remap_mistral_vision_args (config_dict )
7978 if is_audio :
8079 config_dict = _remap_mistral_audio_args (config_dict )
81- if is_eagle :
82- config_dict = _remap_mistral_eagle_args (config_dict )
8380
8481 config = PretrainedConfig .from_dict (config_dict )
8582
@@ -211,11 +208,6 @@ def _remap_mistral_audio_args(config: dict) -> dict:
211208 return config
212209
213210
214- def _remap_mistral_eagle_args (config : dict ) -> dict :
215- config ["architectures" ] = ["MistralLarge3ForCausalLMEagle" ]
216- return config
217-
218-
219211def _remap_moe_args (config : dict ) -> dict :
220212 moe_config_map = {
221213 "route_every_n" : "moe_layer_freq" ,
You can’t perform that action at this time.
0 commit comments