Skip to content

Commit

Permalink
Update installation.md (#1675)
Browse files Browse the repository at this point in the history
* Update installation.md

install ninja to speed up installation of tinycuda-nn

* Update installation.md

* update readme and installation
  • Loading branch information
robo-alex committed Mar 31, 2023
1 parent bde853b commit b0dca72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,14 @@ For CUDA 11.3:

```bash
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 -f https://download.pytorch.org/whl/torch_stable.html
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
```

For CUDA 11.7:

```bash
pip install torch==1.13.1 torchvision functorch --extra-index-url https://download.pytorch.org/whl/cu117
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
```

See [Dependencies](https://github.com/nerfstudio-project/nerfstudio/blob/main/docs/quickstart/installation.md#dependencies)
Expand Down
4 changes: 2 additions & 2 deletions docs/quickstart/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ pip install torch==1.13.1 torchvision functorch --extra-index-url https://downlo

### tinycudann

After pytorch, install the torch bindings for tinycudann:
After pytorch and ninja, install the torch bindings for tinycudann:

```bash
pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
```

## Installing nerfstudio
Expand Down

0 comments on commit b0dca72

Please sign in to comment.