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
edd6a07b
Unverified
Commit
edd6a07b
authored
Sep 16, 2025
by
Shangming Cai
Committed by
GitHub
Sep 16, 2025
Browse files
Minor fix lint introduced by #10466 (#10507)
Signed-off-by:
Shangming Cai
<
csmthu@gmail.com
>
parent
b6dd4bcb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
python/sglang/srt/models/qwen3_next.py
python/sglang/srt/models/qwen3_next.py
+3
-1
No files found.
python/sglang/srt/models/qwen3_next.py
View file @
edd6a07b
...
@@ -497,7 +497,9 @@ class Qwen3HybridLinearDecoderLayer(nn.Module):
...
@@ -497,7 +497,9 @@ class Qwen3HybridLinearDecoderLayer(nn.Module):
)
->
None
:
)
->
None
:
super
().
__init__
()
super
().
__init__
()
self
.
config
=
config
self
.
config
=
config
self
.
linear_attn
=
Qwen3GatedDeltaNet
(
config
,
layer_id
,
quant_config
,
alt_stream
)
self
.
linear_attn
=
Qwen3GatedDeltaNet
(
config
,
layer_id
,
quant_config
,
alt_stream
)
# Qwen3Next all layers are sparse and have no nextn now
# Qwen3Next all layers are sparse and have no nextn now
self
.
is_layer_sparse
=
True
self
.
is_layer_sparse
=
True
...
...
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