chore: fix docstring comment from distributed pr
This commit is contained in:
@@ -74,9 +74,6 @@ def is_main_process() -> bool:
|
|||||||
Check if the current process is the main process. If not in distributed mode,
|
Check if the current process is the main process. If not in distributed mode,
|
||||||
always return `True`.
|
always return `True`.
|
||||||
|
|
||||||
We use a simpler logic when the distributed state is not initialized: we just log
|
|
||||||
on the 0-th local rank.
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
`True` if the current process is the main process, `False` otherwise.
|
`True` if the current process is the main process, `False` otherwise.
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user