Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
Summary: as title

Reviewed By: JKSenthil

Differential Revision: D53581367

fbshipit-source-id: 7b18cad17d296d294348b35e80a72e9def20d245
  • Loading branch information
gunchu authored and facebook-github-bot committed Feb 9, 2024
1 parent d3ef20a commit ddbe151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchtnt/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def init_from_env(
"""Utility function that initializes the device and process group, if applicable.
The global process group is initialized only if:
- torch.distributed is available is not already initialized
- torch.distributed is available and has not already been initialized
- the program has been launched on multiple processes
This is intended as a convenience to include at the beginning of scripts that follow
Expand Down

0 comments on commit ddbe151

Please sign in to comment.