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
7151ae65
Unverified
Commit
7151ae65
authored
Mar 23, 2026
by
yanghui1-arch
Committed by
GitHub
Mar 23, 2026
Browse files
[Bugfix] RoBERTa position_id accumulation in CUDA graph padding region (#37873)
Signed-off-by:
dass90
<
3053034939@qq.com
>
parent
45bd5c8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+2
-0
No files found.
vllm/v1/worker/gpu_model_runner.py
View file @
7151ae65
...
...
@@ -3084,6 +3084,8 @@ class GPUModelRunner(
positions
=
self
.
xdrope_positions
.
gpu
[:,
:
num_input_tokens
]
else
:
positions
=
self
.
positions
.
gpu
[:
num_input_tokens
]
if
num_input_tokens
>
num_scheduled_tokens
:
self
.
positions
.
gpu
[
num_scheduled_tokens
:
num_input_tokens
].
zero_
()
if
is_first_rank
:
intermediate_tensors
=
None
...
...
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