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
739daa63
"docs/source/vscode:/vscode.git/clone" did not exist on "c141f8db4fec019fc42246680342662c3e8a73aa"
Unverified
Commit
739daa63
authored
Oct 11, 2025
by
Liangsheng Yin
Committed by
GitHub
Oct 11, 2025
Browse files
Adjust logits metada init for target verify (#11467)
parent
d957177a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/model_executor/forward_batch_info.py
python/sglang/srt/model_executor/forward_batch_info.py
+1
-1
No files found.
python/sglang/srt/model_executor/forward_batch_info.py
View file @
739daa63
...
@@ -393,7 +393,7 @@ class ForwardBatch:
...
@@ -393,7 +393,7 @@ class ForwardBatch:
ret
.
positions
=
ret
.
spec_info
.
positions
ret
.
positions
=
ret
.
spec_info
.
positions
# Init position information
# Init position information
if
ret
.
forward_mode
.
is_decode
():
if
ret
.
forward_mode
.
is_decode
()
or
ret
.
forward_mode
.
is_target_verify
()
:
if
ret
.
positions
is
None
:
if
ret
.
positions
is
None
:
ret
.
positions
=
clamp_position
(
batch
.
seq_lens
)
ret
.
positions
=
clamp_position
(
batch
.
seq_lens
)
else
:
else
:
...
...
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