You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param func_kwargs: Any keyword arguments to be provided when calling ``func``
289
301
:type func_kwargs: dict[str, Any]
302
+
:param auto: Automatically determine allocation sizes, supports Slurm allocation. ``hostnames`` and ``workers_per_host`` are automatically assigned if they're set to ``None``, defaults to None
303
+
:type auto: bool, optional
290
304
:param hostnames: A list of node hostnames to start workers on, defaults to ["localhost"]
291
-
:type hostnames: list[str], optional
305
+
:type hostnames: list[str] | None, optional
292
306
: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
293
-
:type workers_per_host: int | list[int], optional
307
+
:type workers_per_host: int | list[int] | None, optional
294
308
:param ssh_config_file: An SSH configuration file to use when connecting to nodes, defaults to None
:param backend: A ``torch.distributed`` `backend string <https://pytorch.org/docs/stable/distributed.html#torch.distributed.Backend>`_, defaults to None
0 commit comments