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
21e39436
Unverified
Commit
21e39436
authored
Aug 18, 2025
by
Calvin Chen
Committed by
GitHub
Aug 17, 2025
Browse files
[XPU] fix xpu to set cudagraph batch sizes (#23044)
Signed-off-by:
calvin chen
<
wen.chen@dynamia.ai
>
parent
6d243efe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vllm/v1/worker/gpu_model_runner.py
vllm/v1/worker/gpu_model_runner.py
+4
-2
No files found.
vllm/v1/worker/gpu_model_runner.py
View file @
21e39436
...
...
@@ -232,6 +232,8 @@ class GPUModelRunner(LoRAModelRunnerMixin, KVConnectorModelRunnerMixin):
# The convention is different.
# self.cudagraph_batch_sizes sorts in ascending order.
# The batch sizes in the config are in descending order.
if
self
.
compilation_config
.
cudagraph_capture_sizes
and
\
self
.
compilation_config
.
cudagraph_mode
!=
CUDAGraphMode
.
NONE
:
self
.
cudagraph_batch_sizes
=
list
(
reversed
(
self
.
compilation_config
.
cudagraph_capture_sizes
))
...
...
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