[Model] Add Kimi K3 support: Python frontend [2/2] (#50093)

Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Bugen Zhao
2026-07-29 01:06:01 -07:00
committed by GitHub
parent 6370e53f24
commit f5a7cce9b6
20 changed files with 3056 additions and 5 deletions
+12
View File
@@ -125,6 +125,18 @@ class ParserManager:
MistralParser.tool_parser_cls = tool_parser_cls
return MistralParser
if reasoning_parser_name == "kimi_k3" or tool_parser_name == "kimi_k3":
from vllm.parser.kimi_k3 import KimiK3Parser
r_cls = reasoning_parser_cls
t_cls = tool_parser_cls
class _KimiK3Parser(KimiK3Parser):
reasoning_parser_cls = r_cls
tool_parser_cls = t_cls
return _KimiK3Parser
from vllm.parser.abstract_parser import DelegatingParser
r_cls = reasoning_parser_cls