From 7b0f69affaf84aaae18dcd328cca1a4685ba6ae4 Mon Sep 17 00:00:00 2001 From: Peter Curtin Date: Mon, 8 Jul 2024 15:18:20 -0400 Subject: [PATCH] docstring touch-up --- src/torchrunx/launcher.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/torchrunx/launcher.py b/src/torchrunx/launcher.py index 90f2e60..2e18c05 100644 --- a/src/torchrunx/launcher.py +++ b/src/torchrunx/launcher.py @@ -53,8 +53,7 @@ def launch( :type func_kwargs: dict[str, Any] :param hostnames: A list of node hostnames to start workers on, defaults to ["localhost"] :type hostnames: list[str], optional - :param workers_per_host: The numbder of workers per node. - Providing an `int` implies all nodes should have `workers_per_host` workers, meanwhile providing a list causes node `i` to have `worker_per_host[i]` workers, defaults to 1 + :param workers_per_host: The number of workers per node. Providing an `int` implies all nodes should have `workers_per_host` workers, meanwhile providing a list causes node `i` to have `worker_per_host[i]` workers, defaults to 1 :type workers_per_host: int | list[int], optional :param ssh_config_file: An SSH configuration file to use when connecting to nodes, defaults to None :type ssh_config_file: str | os.PathLike | None, optional