Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
2a0104e2
Commit
2a0104e2
authored
Feb 14, 2026
by
chenych
Browse files
Update minimax-m2
parent
6f06966e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
tests/models/registry.py
tests/models/registry.py
+4
-2
vllm/reasoning/minimax_m2_reasoning_parser.py
vllm/reasoning/minimax_m2_reasoning_parser.py
+1
-1
No files found.
tests/models/registry.py
View file @
2a0104e2
...
@@ -300,6 +300,8 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
...
@@ -300,6 +300,8 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
revision
=
"a59aa9cbc53b9fb8742ca4e9e1531b9802b6fdc3"
),
# noqa: E501
revision
=
"a59aa9cbc53b9fb8742ca4e9e1531b9802b6fdc3"
),
# noqa: E501
"MiniMaxM1ForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"MiniMaxAI/MiniMax-M1-40k"
),
"MiniMaxM1ForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"MiniMaxAI/MiniMax-M1-40k"
),
trust_remote_code
=
True
),
trust_remote_code
=
True
),
"MiniMaxM2ForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"MiniMaxAI/MiniMax-M2"
),
trust_remote_code
=
True
),
"MistralForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"mistralai/Mistral-7B-Instruct-v0.1"
)),
"MistralForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"mistralai/Mistral-7B-Instruct-v0.1"
)),
"MixtralForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"mistralai/Mixtral-8x7B-Instruct-v0.1"
),
# noqa: E501
"MixtralForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"mistralai/Mixtral-8x7B-Instruct-v0.1"
),
# noqa: E501
{
"tiny"
:
os
.
path
.
join
(
models_path_prefix
,
"TitanML/tiny-mixtral"
)}),
# noqa: E501
{
"tiny"
:
os
.
path
.
join
(
models_path_prefix
,
"TitanML/tiny-mixtral"
)}),
# noqa: E501
...
...
vllm/reasoning/minimax_m2_reasoning_parser.py
View file @
2a0104e2
...
@@ -74,7 +74,7 @@ class MiniMaxM2ReasoningParser(BaseThinkingReasoningParser):
...
@@ -74,7 +74,7 @@ class MiniMaxM2ReasoningParser(BaseThinkingReasoningParser):
# No end token yet, all content is reasoning
# No end token yet, all content is reasoning
return
DeltaMessage
(
reasoning
=
delta_text
)
return
DeltaMessage
(
reasoning
=
delta_text
)
@
ReasoningParserManager
.
register_module
(
"minimax_m2_append_think"
)
class
MiniMaxM2AppendThinkReasoningParser
(
ReasoningParser
):
class
MiniMaxM2AppendThinkReasoningParser
(
ReasoningParser
):
"""
"""
Reasoning parser for MiniMax M2 model.
Reasoning parser for MiniMax M2 model.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment