2525 from ray .runtime_env import RuntimeEnv
2626 from ray .util .placement_group import PlacementGroup
2727
28- from vllm .executor . executor_base import ExecutorBase
28+ from vllm .v1 . executor import Executor
2929else :
3030 RuntimeEnv = Any
3131 PlacementGroup = Any
32- ExecutorBase = Any
32+ Executor = Any
3333
3434logger = init_logger (__name__ )
3535
@@ -199,7 +199,7 @@ class ParallelConfig:
199199 """ray distributed model workers placement group."""
200200
201201 distributed_executor_backend : (
202- str | DistributedExecutorBackend | type [ExecutorBase ] | None
202+ str | DistributedExecutorBackend | type [Executor ] | None
203203 ) = None
204204 """Backend to use for distributed model
205205 workers, either "ray" or "mp" (multiprocessing). If the product
@@ -521,7 +521,7 @@ def __post_init__(self) -> None:
521521 # We use multiprocessing by default if world_size fits on the
522522 # current node and we aren't in a ray placement group.
523523
524- from vllm .executor import ray_utils
524+ from vllm .v1 . executor import ray_utils
525525
526526 backend : DistributedExecutorBackend = "mp"
527527 ray_found = ray_utils .ray_is_available ()
@@ -563,6 +563,12 @@ def __post_init__(self) -> None:
563563 if self .distributed_executor_backend is None and self .world_size == 1 :
564564 self .distributed_executor_backend = "uni"
565565
566+ if self .max_parallel_loading_workers is not None :
567+ logger .warning (
568+ "max_parallel_loading_workers is currently "
569+ "not supported and will be ignored."
570+ )
571+
566572 @property
567573 def use_ray (self ) -> bool :
568574 return self .distributed_executor_backend == "ray" or (
@@ -573,7 +579,7 @@ def use_ray(self) -> bool:
573579 @model_validator (mode = "after" )
574580 def _verify_args (self ) -> Self :
575581 # Lazy import to avoid circular import
576- from vllm .executor . executor_base import ExecutorBase
582+ from vllm .v1 . executor import Executor
577583
578584 # Enable batch invariance settings if requested
579585 if vllm_is_batch_invariant ():
@@ -584,17 +590,17 @@ def _verify_args(self) -> Self:
584590 and not isinstance (self .distributed_executor_backend , str )
585591 and not (
586592 isinstance (self .distributed_executor_backend , type )
587- and issubclass (self .distributed_executor_backend , ExecutorBase )
593+ and issubclass (self .distributed_executor_backend , Executor )
588594 )
589595 ):
590596 raise ValueError (
591597 "Unrecognized distributed executor backend "
592598 f"{ self .distributed_executor_backend } . Supported "
593599 "values are 'ray', 'mp' 'uni', 'external_launcher', "
594- " custom ExecutorBase subclass or its import path."
600+ " custom Executor subclass or its import path."
595601 )
596602 if self .use_ray :
597- from vllm .executor import ray_utils
603+ from vllm .v1 . executor import ray_utils
598604
599605 ray_utils .assert_ray_available ()
600606
0 commit comments