[Misc] Remove duplicated DeepSeek V2/V3 model definition (#12793)

This commit is contained in:
Michael Goin
2025-02-06 02:16:20 -05:00
committed by GitHub
parent 1a6fcad4c9
commit 449d1bce02
4 changed files with 36 additions and 821 deletions

View File

@@ -754,7 +754,6 @@ class ModelConfig:
@property
def is_deepseek_mla(self) -> bool:
# TODO add deepseek_v3
return (hasattr(self.hf_text_config, "model_type")) \
and (self.hf_text_config.model_type in \
('deepseek_v2', 'deepseek_v3'))\