mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +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:
1 parent
4fe8e657d2
commit
5eb83e8acd
3 files changed
+4
-4
No files matched your search
@@ -123,7 +123,7 @@ ns-download-data nerfstudio --capture-name=aspen
|
|||||||
```python
|
```python
|
||||||
# 1 GPU (8192 rays per GPU per batch)
|
# 1 GPU (8192 rays per GPU per batch)
|
||||||
export CUDA_VISIBLE_DEVICES=0
|
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.
|
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
|
```python
|
||||||
# 2 GPUs (4096 rays per GPU per batch, effectively 8192 rays per batch)
|
# 2 GPUs (4096 rays per GPU per batch, effectively 8192 rays per batch)
|
||||||
export CUDA_VISIBLE_DEVICES=0,1
|
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).
|
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
|
machine: !!python/object:nerfstudio.configs.base_config.MachineConfig
|
||||||
dist_url: auto
|
dist_url: auto
|
||||||
machine_rank: 0
|
machine_rank: 0
|
||||||
num_gpus: 1
|
num_devices: 1
|
||||||
num_machines: 1
|
num_machines: 1
|
||||||
seed: 42
|
seed: 42
|
||||||
max_num_iterations: 30000
|
max_num_iterations: 30000
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ logging: !!python/object:nerfstudio.configs.base_config.LoggingConfig
|
|||||||
machine: !!python/object:nerfstudio.configs.base_config.MachineConfig
|
machine: !!python/object:nerfstudio.configs.base_config.MachineConfig
|
||||||
dist_url: auto
|
dist_url: auto
|
||||||
machine_rank: 0
|
machine_rank: 0
|
||||||
num_gpus: 1
|
num_devices: 1
|
||||||
num_machines: 1
|
num_machines: 1
|
||||||
seed: 42
|
seed: 42
|
||||||
max_num_iterations: 30000
|
max_num_iterations: 30000
|
||||||
|
|||||||
Reference in new issue
Block a user