diff --git a/.nojekyll b/.nojekyll index 5a3685ab6..ec5b23aaa 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -3e16e425 \ No newline at end of file +55409b32 \ No newline at end of file diff --git a/docs/api/utils.distributed.html b/docs/api/utils.distributed.html index 428add302..5704040a9 100644 --- a/docs/api/utils.distributed.html +++ b/docs/api/utils.distributed.html @@ -459,7 +459,6 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
utils.distributed.is_main_process()utils.distributed.is_main_process(use_environ=False)Check if the current process is the main process. If not in distributed mode,
always return True.
Args: +- use_environ (bool, optional): Use environment variable to determine main process.
+Returns:
+- bool: True if the current process is the main process, False otherwise.
utils.distributed.zero_first(is_main)runs the wrapped context so that rank 0 runs first before other ranks
-utils.distributed.zero_only()Context manager that only runs the enclosed block on the main rank.