From ab7961a14a59be9a0170f1654315d5c2be44c015 Mon Sep 17 00:00:00 2001 From: Tiezhen WANG <38108242+xianbaoqian@users.noreply.github.com> Date: Thu, 9 Jul 2026 15:34:54 +0800 Subject: [PATCH] Remove TeleChatForCausalLM (#47989) Signed-off-by: Xianbao QIAN Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> --- docs/models/supported_models.md | 1 - tests/models/registry.py | 3 --- vllm/model_executor/models/registry.py | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/models/supported_models.md b/docs/models/supported_models.md index a191bb2d3c..4e44a577db 100644 --- a/docs/models/supported_models.md +++ b/docs/models/supported_models.md @@ -454,7 +454,6 @@ th { | `StableLMEpochForCausalLM` | StableLM Epoch | `stabilityai/stablelm-zephyr-3b`, etc. | | ✅︎ | | `Step1ForCausalLM` | Step-Audio | `stepfun-ai/Step-Audio-EditX`, etc. | ✅︎ | ✅︎ | | `Step3p5ForCausalLM` | Step-3.5-flash | `stepfun-ai/Step-3.5-Flash`, etc. | | ✅︎ | -| `TeleChatForCausalLM` | TeleChat | `chuhac/TeleChat2-35B`, etc. | ✅︎ | ✅︎ | | `TeleChat2ForCausalLM` | TeleChat2 | `Tele-AI/TeleChat2-3B`, `Tele-AI/TeleChat2-7B`, `Tele-AI/TeleChat2-35B`, etc. | ✅︎ | ✅︎ | | `TeleChat3ForCausalLM` | TeleChat3 | `Tele-AI/TeleChat3-36B-Thinking`, `Tele-AI/TeleChat3-Coder-36B-Thinking`, etc. | ✅︎ | ✅︎ | | `TeleFLMForCausalLM` | TeleFLM | `CofeAI/FLM-2-52B-Instruct-2407`, `CofeAI/Tele-FLM`, etc. | ✅︎ | ✅︎ | diff --git a/tests/models/registry.py b/tests/models/registry.py index 91d5f63ab7..e7e11e8763 100644 --- a/tests/models/registry.py +++ b/tests/models/registry.py @@ -548,9 +548,6 @@ _TEXT_GENERATION_EXAMPLE_MODELS = { "SolarForCausalLM": _HfExamplesInfo( "upstage/solar-pro-preview-instruct", trust_remote_code=True ), - "TeleChatForCausalLM": _HfExamplesInfo( - "chuhac/TeleChat2-35B", trust_remote_code=True - ), "TeleChat2ForCausalLM": _HfExamplesInfo( "Tele-AI/TeleChat2-3B", trust_remote_code=True ), diff --git a/vllm/model_executor/models/registry.py b/vllm/model_executor/models/registry.py index c9e43ed635..6031996a1d 100644 --- a/vllm/model_executor/models/registry.py +++ b/vllm/model_executor/models/registry.py @@ -200,7 +200,6 @@ _TEXT_GENERATION_MODELS = { "StableLMEpochForCausalLM": ("stablelm", "StablelmForCausalLM"), "StableLmForCausalLM": ("stablelm", "StablelmForCausalLM"), "SolarForCausalLM": ("solar", "SolarForCausalLM"), - "TeleChatForCausalLM": ("telechat2", "TeleChat2ForCausalLM"), "TeleChat2ForCausalLM": ("telechat2", "TeleChat2ForCausalLM"), "TeleChat3ForCausalLM": ("llama", "LlamaForCausalLM"), "TeleFLMForCausalLM": ("teleflm", "TeleFLMForCausalLM"), @@ -236,7 +235,6 @@ _EMBEDDING_MODELS = { "Qwen2ForCausalLM": ("qwen2", "Qwen2ForCausalLM"), "RobertaForMaskedLM": ("roberta", "RobertaEmbeddingModel"), "RobertaModel": ("roberta", "RobertaEmbeddingModel"), - "TeleChatForCausalLM": ("telechat2", "TeleChat2ForCausalLM"), "TeleChat2ForCausalLM": ("telechat2", "TeleChat2ForCausalLM"), "VoyageQwen3BidirectionalEmbedModel": ( "voyage", @@ -739,6 +737,7 @@ _PREVIOUSLY_SUPPORTED_MODELS = { "MantisForConditionalGeneration": "0.24.0", "MusicFlamingoForConditionalGeneration": "0.24.0", "AyaVisionForConditionalGeneration": "0.24.0", + "TeleChatForCausalLM": "0.25.0", } _OOT_SUPPORTED_MODELS = {