mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 10:34:29 +08:00
Account for num_gpus rename in docs + test configs (#2332)
* fix: num-gpus to num-devices * fix: Update test_config1.yml * fix: Update test_config2.yml
This commit is contained in:
parent
4fe8e657d2
commit
5eb83e8acd
@ -123,7 +123,7 @@ ns-download-data nerfstudio --capture-name=aspen
|
||||
```python
|
||||
# 1 GPU (8192 rays per GPU per batch)
|
||||
export CUDA_VISIBLE_DEVICES=0
|
||||
ns-train nerfacto-big --vis viewer+wandb --machine.num-gpus 1 --pipeline.datamanager.train-num-rays-per-batch 4096 --data data/nerfstudio/aspen
|
||||
ns-train nerfacto-big --vis viewer+wandb --machine.num-devices 1 --pipeline.datamanager.train-num-rays-per-batch 4096 --data data/nerfstudio/aspen
|
||||
```
|
||||
|
||||
You would observe about ~70k rays / sec on NVIDIA V100.
|
||||
@ -148,7 +148,7 @@ By having more GPUs in the training, you can allocate batch size to multiple GPU
|
||||
```python
|
||||
# 2 GPUs (4096 rays per GPU per batch, effectively 8192 rays per batch)
|
||||
export CUDA_VISIBLE_DEVICES=0,1
|
||||
ns-train nerfacto --vis viewer+wandb --machine.num-gpus 2 --pipeline.datamanager.train-num-rays-per-batch 4096 --data data/nerfstudio/aspen
|
||||
ns-train nerfacto --vis viewer+wandb --machine.num-devices 2 --pipeline.datamanager.train-num-rays-per-batch 4096 --data data/nerfstudio/aspen
|
||||
```
|
||||
|
||||
You would get improved throughput (~100k rays / sec on two NVIDIA V100).
|
||||
|
||||
@ -37,7 +37,7 @@ logging: !!python/object:nerfstudio.configs.base_config.LoggingConfig
|
||||
machine: !!python/object:nerfstudio.configs.base_config.MachineConfig
|
||||
dist_url: auto
|
||||
machine_rank: 0
|
||||
num_gpus: 1
|
||||
num_devices: 1
|
||||
num_machines: 1
|
||||
seed: 42
|
||||
max_num_iterations: 30000
|
||||
|
||||
@ -32,7 +32,7 @@ logging: !!python/object:nerfstudio.configs.base_config.LoggingConfig
|
||||
machine: !!python/object:nerfstudio.configs.base_config.MachineConfig
|
||||
dist_url: auto
|
||||
machine_rank: 0
|
||||
num_gpus: 1
|
||||
num_devices: 1
|
||||
num_machines: 1
|
||||
seed: 42
|
||||
max_num_iterations: 30000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user