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
168e578e
Unverified
Commit
168e578e
authored
Oct 19, 2025
by
Yongtao Huang
Committed by
GitHub
Oct 18, 2025
Browse files
Fix incorrect string formatting in barrier timeout exceptions (#27149)
Signed-off-by:
Yongtao Huang
<
yongtaoh2022@gmail.com
>
parent
6ac5e06f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vllm/distributed/utils.py
vllm/distributed/utils.py
+4
-2
No files found.
vllm/distributed/utils.py
View file @
168e578e
...
...
@@ -277,7 +277,7 @@ class StatelessProcessGroup:
# Check for timeout
cur_time
=
time
.
time
()
if
cur_time
-
start_time
>
timeout
:
raise
RuntimeError
(
"Barrier timed out after
%f seconds"
,
timeout
)
raise
RuntimeError
(
f
"Barrier timed out after
{
timeout
:.
2
f
}
seconds"
)
# Check for each process
for
i
in
range
(
self
.
world_size
):
...
...
@@ -324,7 +324,9 @@ class StatelessProcessGroup:
while
len
(
processes_departed
)
<
self
.
world_size
:
# Check for timeout
if
time
.
time
()
-
start_time
>
timeout
:
raise
RuntimeError
(
"Barrier departure timed out after %f s"
,
timeout
)
raise
RuntimeError
(
f
"Barrier departure timed out after
{
timeout
:.
2
f
}
seconds"
)
# Check for each process
for
i
in
range
(
self
.
world_size
):
...
...
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