mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-25 10:29:51 +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).
|
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`.
|
`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:
|
For CUDA 11.8:
|
||||||
|
|
||||||
```bash
|
```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
|
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
|
pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
|
||||||
|
|||||||
@@ -42,12 +42,12 @@ pip uninstall torch torchvision functorch tinycudann
|
|||||||
```
|
```
|
||||||
|
|
||||||
::::{tab-set}
|
::::{tab-set}
|
||||||
:::{tab-item} Torch 2.0.1 with CUDA 11.8
|
:::{tab-item} Torch 2.1.2 with CUDA 11.8 (recommended)
|
||||||
|
|
||||||
Install PyTorch 2.0.1 with CUDA 11.8:
|
Install PyTorch 2.1.2 with CUDA 11.8:
|
||||||
|
|
||||||
```bash
|
```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
|
||||||
```
|
```
|
||||||
|
|
||||||
To build the necessary CUDA extensions, `cuda-toolkit` is also required. We
|
To build the necessary CUDA extensions, `cuda-toolkit` is also required. We
|
||||||
|
|||||||
Reference in new issue
Block a user