[Model] Remove BaiChuanForCausalLM and BaichuanForCausalLM (#46362)

Signed-off-by: Xianbao QIAN <xianbao.qian@gmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Tiezhen WANG
2026-06-24 16:13:57 +08:00
committed by GitHub
co-authored by Claude
parent 191826ec61
commit 4cd1a84c88
10 changed files with 2 additions and 536 deletions
+2 -4
View File
@@ -77,10 +77,6 @@ _TEXT_GENERATION_MODELS = {
"ArceeForCausalLM": ("arcee", "ArceeForCausalLM"),
"ArcticForCausalLM": ("arctic", "ArcticForCausalLM"),
"AXK1ForCausalLM": ("AXK1", "AXK1ForCausalLM"),
# baichuan-7b, upper case 'C' in the class name
"BaiChuanForCausalLM": ("baichuan", "BaiChuanForCausalLM"),
# baichuan-13b, lower case 'c' in the class name
"BaichuanForCausalLM": ("baichuan", "BaichuanForCausalLM"),
"BailingMoeForCausalLM": ("bailing_moe", "BailingMoeForCausalLM"),
"BailingMoeV2ForCausalLM": ("bailing_moe", "BailingMoeV2ForCausalLM"),
"BailingMoeV2_5ForCausalLM": ("bailing_moe_linear", "BailingMoeV25ForCausalLM"),
@@ -733,6 +729,8 @@ _PREVIOUSLY_SUPPORTED_MODELS = {
"MiniMaxText01ForCausalLM": "0.23.0",
"MiniMaxM1ForCausalLM": "0.23.0",
"MiniMaxVL01ForConditionalGeneration": "0.23.0",
"BaiChuanForCausalLM": "0.23.0",
"BaichuanForCausalLM": "0.23.0",
}
_OOT_SUPPORTED_MODELS = {