From b0dca720a83e9bf97875fc540379835863f4101d Mon Sep 17 00:00:00 2001 From: Alex-Zhang <71915735+pixel-alex@users.noreply.github.com> Date: Fri, 31 Mar 2023 18:00:53 -0500 Subject: [PATCH] Update installation.md (#1675) * Update installation.md install ninja to speed up installation of tinycuda-nn * Update installation.md * update readme and installation --- README.md | 4 ++-- docs/quickstart/installation.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b8bea621b..ddd0873e0 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/docs/quickstart/installation.md b/docs/quickstart/installation.md index 32542ea9c..dafb9f0ee 100644 --- a/docs/quickstart/installation.md +++ b/docs/quickstart/installation.md @@ -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