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
9511a3f8
Unverified
Commit
9511a3f8
authored
Feb 25, 2026
by
Lucas Wilkinson
Committed by
GitHub
Feb 25, 2026
Browse files
[Bugfix] Fix AttributeError in SMControlContextManager (#35338)
Signed-off-by:
Lucas Wilkinson
<
lwilkins@redhat.com
>
parent
de527e1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/worker/gpu_ubatch_wrapper.py
vllm/v1/worker/gpu_ubatch_wrapper.py
+1
-1
No files found.
vllm/v1/worker/gpu_ubatch_wrapper.py
View file @
9511a3f8
...
@@ -74,7 +74,7 @@ class SMControlContextManager:
...
@@ -74,7 +74,7 @@ class SMControlContextManager:
"SM control is currently only supported on CUDA"
"SM control is currently only supported on CUDA"
)
)
total_sms
=
num_compute_units
(
torch
.
cuda
.
current_device
()
.
index
)
total_sms
=
num_compute_units
(
torch
.
cuda
.
current_device
())
assert
comm_sms
<
total_sms
assert
comm_sms
<
total_sms
self
.
total_sms
=
total_sms
self
.
total_sms
=
total_sms
...
...
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