[Bugfix] Fix PP default fallback behavior for V1 (#18915)

Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
Michael Goin 2025-05-29 22:13:17 -04:00 committed by GitHub
parent a1cc9f33a3
commit d54af615d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1380,7 +1380,8 @@ class EngineArgs:
if (self.pipeline_parallel_size > 1
and self.distributed_executor_backend
not in ("ray", "mp", "external_launcher")):
not in (ParallelConfig.distributed_executor_backend, "ray",
"mp", "external_launcher")):
name = "Pipeline Parallelism without Ray distributed executor " \
"or multiprocessing executor or external launcher"
_raise_or_fallback(feature_name=name, recommend_to_remove=False)