Skip to content
Open
Show file tree
Hide file tree
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 tools/check_pickle_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
# cloudpickle
'vllm/worker/worker_base.py',
'vllm/executor/mp_distributed_executor.py',
'vllm/executor/ray_distributed_executor.py',
'vllm/entrypoints/llm.py',
'vllm/v1/executor/ray_distributed_executor.py',
'tests/utils.py',
# pickle and cloudpickle
'vllm/utils/__init__.py',
Expand Down
6 changes: 3 additions & 3 deletions vllm/engine/llm_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,9 +433,9 @@ def _get_executor_cls(cls,
f"ExecutorBase. Got {distributed_executor_backend}.")
executor_class = distributed_executor_backend
elif distributed_executor_backend == "ray":
from vllm.executor.ray_distributed_executor import (
RayDistributedExecutor)
executor_class = RayDistributedExecutor
raise RuntimeError(
"The Ray distributed executor is only available in the v1 "
"engine. Enable it by setting 'VLLM_USE_V1=1'.")
elif distributed_executor_backend == "mp":
from vllm.executor.mp_distributed_executor import (
MultiprocessingDistributedExecutor)
Expand Down
Loading