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
e773a9e1
Unverified
Commit
e773a9e1
authored
Jun 21, 2025
by
wangxiyuan
Committed by
GitHub
Jun 20, 2025
Browse files
[Misc] Clean up useless code (#19889)
Signed-off-by:
wangxiyuan
<
wangxiyuan1007@gmail.com
>
parent
71baf85a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
vllm/config.py
vllm/config.py
+0
-11
No files found.
vllm/config.py
View file @
e773a9e1
...
...
@@ -1900,17 +1900,6 @@ class ParallelConfig:
os
.
environ
[
"VLLM_ENABLE_V1_MULTIPROCESSING"
]
=
"0"
logger
.
info
(
"Disabling V1 multiprocessing for external launcher."
)
ray_only_devices
:
list
[
str
]
=
[]
from
vllm.platforms
import
current_platform
if
(
current_platform
.
device_type
in
ray_only_devices
and
self
.
world_size
>
1
):
if
self
.
distributed_executor_backend
is
None
:
self
.
distributed_executor_backend
=
"ray"
if
self
.
distributed_executor_backend
!=
"ray"
:
raise
ValueError
(
f
"
{
current_platform
.
device_type
.
upper
()
}
backend only "
"supports Ray for distributed inference."
)
if
self
.
distributed_executor_backend
is
None
and
self
.
world_size
>
1
:
# We use multiprocessing by default if world_size fits on the
# current node and we aren't in a ray placement group.
...
...
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