diff --git a/vllm/config/parallel.py b/vllm/config/parallel.py index 913e97250d3d3..7ba1da5db3849 100644 --- a/vllm/config/parallel.py +++ b/vllm/config/parallel.py @@ -593,9 +593,10 @@ class ParallelConfig: "max_parallel_loading_workers is currently " "not supported and will be ignored." ) - if self.distributed_executor_backend != "mp" and self.nnodes > 1: + if self.distributed_executor_backend not in ("mp", "uni") and self.nnodes > 1: raise ValueError( - "nnodes > 1 can only be set when distributed exectuor backend is mp." + "nnodes > 1 can only be set when distributed executor " + "backend is mp or uni." ) @property