Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vllm/v1/worker/gpu_ubatch_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def __init__(
"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
self.total_sms = total_sms
Expand Down
Loading