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
Hide 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
...
...
@@ -54,7 +54,7 @@ class _HfExamplesInfo:
skip_tokenizer_init
:
bool
=
False
"""
If true, skip initialization of tokenizer and detokenizer.
If true, skip initialization of tokenizer and detokenizer.
"""
dtype
:
ModelDType
=
"auto"
...
...
@@ -103,7 +103,7 @@ class _HfExamplesInfo:
use_original_num_layers
:
bool
=
False
"""
If True, use the original number of layers from the model config
If True, use the original number of layers from the model config
instead of minimal layers for testing.
"""
...
...
@@ -300,6 +300,8 @@ _TEXT_GENERATION_EXAMPLE_MODELS = {
revision
=
"a59aa9cbc53b9fb8742ca4e9e1531b9802b6fdc3"
),
# noqa: E501
"MiniMaxM1ForCausalLM"
:
_HfExamplesInfo
(
os
.
path
.
join
(
models_path_prefix
,
"MiniMaxAI/MiniMax-M1-40k"
),
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"
)),
"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
...
...
vllm/reasoning/minimax_m2_reasoning_parser.py
View file @
2a0104e2
...
...
@@ -74,7 +74,7 @@ class MiniMaxM2ReasoningParser(BaseThinkingReasoningParser):
# No end token yet, all content is reasoning
return
DeltaMessage
(
reasoning
=
delta_text
)
@
ReasoningParserManager
.
register_module
(
"minimax_m2_append_think"
)
class
MiniMaxM2AppendThinkReasoningParser
(
ReasoningParser
):
"""
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