Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
8fbcfd07
Unverified
Commit
8fbcfd07
authored
Aug 01, 2025
by
Ke Bao
Committed by
GitHub
Aug 01, 2025
Browse files
Update step3v default config (#8626)
parent
3c307dc0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
python/sglang/srt/configs/model_config.py
python/sglang/srt/configs/model_config.py
+1
-0
python/sglang/srt/models/step3_vl.py
python/sglang/srt/models/step3_vl.py
+0
-3
python/sglang/srt/utils.py
python/sglang/srt/utils.py
+1
-0
No files found.
python/sglang/srt/configs/model_config.py
View file @
8fbcfd07
...
...
@@ -112,6 +112,7 @@ class ModelConfig:
mm_disabled_models
=
[
"Gemma3ForConditionalGeneration"
,
"Llama4ForConditionalGeneration"
,
"Step3VLForConditionalGeneration"
,
]
if
self
.
hf_config
.
architectures
[
0
]
in
mm_disabled_models
:
enable_multimodal
=
False
...
...
python/sglang/srt/models/step3_vl.py
View file @
8fbcfd07
...
...
@@ -868,7 +868,6 @@ class Step3VLForConditionalGeneration(nn.Module):
)
def
load_weights
(
self
,
weights
:
Iterable
[
Tuple
[
str
,
torch
.
Tensor
]]):
# TODO:
stacked_params_mapping
=
[
# (param_name, shard_name, shard_id)
(
".qkv_proj"
,
".q_proj"
,
0
),
...
...
@@ -901,9 +900,7 @@ class Step3VLForConditionalGeneration(nn.Module):
for
name
,
loaded_weight
in
weights
:
if
"vision_model"
in
name
:
# 1.It’s not great, but let’s leave it like this for now
name
=
name
.
replace
(
"self_attn"
,
"self_attn.attn"
)
# 2.
name
=
name
.
replace
(
"out_proj"
,
"proj"
)
# TODO: support vision model
...
...
python/sglang/srt/utils.py
View file @
8fbcfd07
...
...
@@ -2344,6 +2344,7 @@ def is_fa3_default_architecture(hf_config):
"Qwen3ForCausalLM"
,
"Qwen3MoeForCausalLM"
,
"Glm4MoeForCausalLM"
,
"Step3VLForConditionalGeneration"
,
}
return
architectures
[
0
]
in
default_archs
...
...
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