From 646ce58ed82e18b9315800a3d104c8975ebe0674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mochol=C3=AD?= Date: Wed, 7 Feb 2024 15:43:46 +0100 Subject: [PATCH] Fix CLI docs typo --- docs/source-pytorch/cli/lightning_cli_advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-pytorch/cli/lightning_cli_advanced.rst b/docs/source-pytorch/cli/lightning_cli_advanced.rst index 9f73533772ed0..2d21e9fe9d113 100644 --- a/docs/source-pytorch/cli/lightning_cli_advanced.rst +++ b/docs/source-pytorch/cli/lightning_cli_advanced.rst @@ -86,7 +86,7 @@ save the config in a logger. An example of this is: .. note:: - The ``save_config``method is only called on rank zero. This allows to implement a custom save config without having + The ``save_config`` method is only called on rank zero. This allows to implement a custom save config without having to worry about ranks or race conditions. Since it only runs on rank zero, any collective call will make the process hang waiting for a broadcast. If you need to make collective calls, implement the ``setup`` method instead.