[Feature][Frontend] Add granite_thinking_parser reasoning parser for Granite 4.2 (#55957)
Signed-off-by: Yousaf shah <yousaf.shah@gmail.com> Co-authored-by: sfeng33 <4florafeng@gmail.com>
This commit is contained in:
@@ -76,6 +76,10 @@ _REASONING_PARSERS_TO_REGISTER = {
|
||||
"granite_reasoning_parser",
|
||||
"GraniteReasoningParser",
|
||||
),
|
||||
"granite_thinking_parser": (
|
||||
"granite_thinking_engine_reasoning_parser",
|
||||
"GraniteThinkingParserReasoningAdapter",
|
||||
),
|
||||
"holo2": (
|
||||
"deepseek_v3_reasoning_parser",
|
||||
"DeepSeekV3ReasoningWithThinkingParser",
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
|
||||
from vllm.parser.engine.registered_adapters import (
|
||||
GraniteThinkingParserReasoningAdapter,
|
||||
)
|
||||
|
||||
__all__ = ["GraniteThinkingParserReasoningAdapter"]
|
||||
Reference in New Issue
Block a user