Skip to content

Commit

Permalink
[Core] init_distributed_environment align with init_process_group(#4014)
Browse files Browse the repository at this point in the history
[Core][Distributed] make init_distributed_environment compatible with init_process_group (#4014)
  • Loading branch information
youkaichao authored Apr 11, 2024
1 parent a10d305 commit 559eb85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vllm/distributed/parallel_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@


def init_distributed_environment(
world_size: int,
rank: int,
distributed_init_method: Optional[str] = None,
world_size: int = -1,
rank: int = -1,
distributed_init_method: str = "env://",
local_rank: int = -1,
backend: str = "nccl",
):
Expand Down

0 comments on commit 559eb85

Please sign in to comment.