mirror of
https://github.com/vllm-project/vllm.git
synced 2025-10-20 23:03:52 +08:00
@ -602,9 +602,8 @@ def launch_core_engines(
|
|||||||
assert local_engine_count == 1
|
assert local_engine_count == 1
|
||||||
engines_to_handshake = [CoreEngine(index=dp_rank, local=True)]
|
engines_to_handshake = [CoreEngine(index=dp_rank, local=True)]
|
||||||
elif dp_rank == 0:
|
elif dp_rank == 0:
|
||||||
# Rank 0 holds Coordinator, so it handshakes will all Cores,
|
# Rank 0 holds Coordinator, so it handshakes with all Cores
|
||||||
# including in external DPLB mode where it is not managing
|
# in both external dplb and internal dplb mode.
|
||||||
# the remote EngineCore.
|
|
||||||
engines_to_handshake = [
|
engines_to_handshake = [
|
||||||
CoreEngine(index=i, local=(i < local_engine_count))
|
CoreEngine(index=i, local=(i < local_engine_count))
|
||||||
for i in range(dp_size)
|
for i in range(dp_size)
|
||||||
|
|||||||
Reference in New Issue
Block a user