Compare commits

..

1 Commits

Author SHA1 Message Date
NanoCode012
159f0531f9 chore: fix docstring comment from distributed pr 2025-06-20 05:48:34 +07:00
2 changed files with 1 additions and 4 deletions

View File

@@ -4,4 +4,4 @@ import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__) # Make this a namespace package
__version__ = "0.10.1"
__version__ = "0.11.0.dev"

View File

@@ -74,9 +74,6 @@ def is_main_process() -> bool:
Check if the current process is the main process. If not in distributed mode,
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:
`True` if the current process is the main process, `False` otherwise.
"""