File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1900,17 +1900,6 @@ def __post_init__(self) -> None:
1900
1900
os .environ ["VLLM_ENABLE_V1_MULTIPROCESSING" ] = "0"
1901
1901
logger .info ("Disabling V1 multiprocessing for external launcher." )
1902
1902
1903
- ray_only_devices : list [str ] = []
1904
- from vllm .platforms import current_platform
1905
- if (current_platform .device_type in ray_only_devices
1906
- and self .world_size > 1 ):
1907
- if self .distributed_executor_backend is None :
1908
- self .distributed_executor_backend = "ray"
1909
- if self .distributed_executor_backend != "ray" :
1910
- raise ValueError (
1911
- f"{ current_platform .device_type .upper ()} backend only "
1912
- "supports Ray for distributed inference." )
1913
-
1914
1903
if self .distributed_executor_backend is None and self .world_size > 1 :
1915
1904
# We use multiprocessing by default if world_size fits on the
1916
1905
# current node and we aren't in a ray placement group.
You can’t perform that action at this time.
0 commit comments