mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-19 22:25:44 +08:00
Update docs to recommend torch 2.1 (#2748)
This commit is contained in:
1 parent
3b6ca91dbc
commit
55b7a2c8ef
2 files changed
+4
-13
No files matched your search
@@ -124,19 +124,10 @@ pip install --upgrade pip
|
||||
Install PyTorch with CUDA (this repo has been tested with CUDA 11.7 and CUDA 11.8) and [tiny-cuda-nn](https://github.com/NVlabs/tiny-cuda-nn).
|
||||
`cuda-toolkit` is required for building `tiny-cuda-nn`.
|
||||
|
||||
For CUDA 11.7:
|
||||
|
||||
```bash
|
||||
pip install torch==2.0.1+cu117 torchvision==0.15.2+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
|
||||
|
||||
conda install -c "nvidia/label/cuda-11.7.1" cuda-toolkit
|
||||
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
|
||||
```
|
||||
|
||||
For CUDA 11.8:
|
||||
|
||||
```bash
|
||||
pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
|
||||
pip install torch==2.1.2+cu118 torchvision==0.16.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
|
||||
|
||||
conda install -c "nvidia/label/cuda-11.8.0" cuda-toolkit
|
||||
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
|
||||
|
||||
Reference in new issue
Block a user