mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 22:25:44 +08:00
Remove defaults from docstrings. (#480)
This commit is contained in:
1 parent
f796a9f468
commit
8b388a3e5c
25 files changed
+106
-112
No files matched your search
@@ -126,10 +126,10 @@ def launch(
|
||||
main_func (Callable): function that will be called by the distributed workers
|
||||
num_gpus_per_machine (int): number of GPUs per machine
|
||||
num_machines (int, optional): total number of machines
|
||||
machine_rank (int, optional): rank of this machine. Defaults to 0.
|
||||
dist_url (str, optional): url to connect to for distributed jobs. Defaults to "auto".
|
||||
config (Config, optional): config file specifying training regimen. Defaults to None.
|
||||
timeout (timedelta, optional): timeout of the distributed workers. Defaults to DEFAULT_TIMEOUT.
|
||||
machine_rank (int, optional): rank of this machine.
|
||||
dist_url (str, optional): url to connect to for distributed jobs.
|
||||
config (Config, optional): config file specifying training regimen.
|
||||
timeout (timedelta, optional): timeout of the distributed workers.
|
||||
"""
|
||||
assert config is not None
|
||||
world_size = num_machines * num_gpus_per_machine
|
||||
|
||||
Reference in new issue
Block a user