Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
[Core] init_distributed_environment align with init_process_group(vll…
Browse files Browse the repository at this point in the history
…m-project#4014)

[Core][Distributed] make init_distributed_environment compatible with init_process_group (vllm-project#4014)
  • Loading branch information
youkaichao authored and andy-neuma committed Apr 12, 2024
1 parent 1d859cc commit 9f93716
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 9f93716

Please sign in to comment.