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
4f9e71df
Unverified
Commit
4f9e71df
authored
Sep 17, 2025
by
Yichen Yan
Committed by
GitHub
Sep 16, 2025
Browse files
Remove duplicated code (#10545)
Co-authored-by:
jiapingW
<
56055330+jiapingW@users.noreply.github.com
>
parent
541551ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
python/sglang/srt/models/qwen2.py
python/sglang/srt/models/qwen2.py
+0
-4
No files found.
python/sglang/srt/models/qwen2.py
View file @
4f9e71df
...
@@ -484,10 +484,6 @@ class Qwen2ForCausalLM(nn.Module):
...
@@ -484,10 +484,6 @@ class Qwen2ForCausalLM(nn.Module):
if
self
.
capture_aux_hidden_states
:
if
self
.
capture_aux_hidden_states
:
hidden_states
,
aux_hidden_states
=
hidden_states
hidden_states
,
aux_hidden_states
=
hidden_states
aux_hidden_states
=
None
if
self
.
capture_aux_hidden_states
:
hidden_states
,
aux_hidden_states
=
hidden_states
if
self
.
pp_group
.
is_last_rank
:
if
self
.
pp_group
.
is_last_rank
:
if
not
get_embedding
:
if
not
get_embedding
:
return
self
.
logits_processor
(
return
self
.
logits_processor
(
...
...
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