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
456e8c10
"docker/ci/vscode:/vscode.git/clone" did not exist on "21d47d0eb8fca8b4cdfea37f99a1c8f40b3c4782"
Commit
456e8c10
authored
Apr 03, 2026
by
guanyu1
Committed by
zhangzbb
Apr 03, 2026
Browse files
[BUGFIX] mrope 二维表示情况下,在dcu上kernel无法提前下发
parent
b233584a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+5
-1
No files found.
vllm/v1/worker/gpu_model_runner.py
View file @
456e8c10
...
@@ -816,8 +816,12 @@ class GPUModelRunner(
...
@@ -816,8 +816,12 @@ class GPUModelRunner(
non_blocking
=
True
,
non_blocking
=
True
,
)
)
return
return
# self.mrope_positions.gpu[:, :num_tokens].copy_(
# self.mrope_positions.cpu[:, :num_tokens],
# non_blocking=True,
# )
self
.
mrope_positions
.
gpu
[:,
:
num_tokens
].
copy_
(
self
.
mrope_positions
.
gpu
[:,
:
num_tokens
].
copy_
(
self
.
mrope_positions
.
cpu
[:,
:
num_tokens
],
self
.
mrope_positions
.
cpu
[:,
:
num_tokens
]
.
contiguous
().
pin_memory
()
,
non_blocking
=
True
,
non_blocking
=
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