Commit 24a46a2e authored by Matt Tancik's avatar Matt Tancik
Browse files

Update project settings

parent 5697b2b2
version: 2 version: 2
sphinx:
fail_on_warning: true
python: python:
version: 3.8 version: 3.8
install: install:
- requirements: requirements.txt # Equivalent to 'pip install .'
- requirements: docs/requirements.txt
- method: pip - method: pip
path: . path: .
# Equivalent to 'pip install .[docs]'
sphinx: - method: pip
fail_on_warning: true path: .
\ No newline at end of file extra_requirements:
- docs
instant-ngp @ 25dec33c
Subproject commit 25dec33c253f035485bb2e1f8563e12ef3134e8b
# Examples using nerfacc
## Installation
Extra dependencies are needed.
You should make sure that you are using version of pytorch that support CUDA 11.
```
pip install torch --extra-index-url https://download.pytorch.org/whl/cu113
```
Then install via pip
```
pip install nerfacc[examples]
```
To install locally
```
pip install -e .[examples]
```
git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
opencv-python
imageio
numpy
tqdm
\ No newline at end of file
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project] [project]
name = "nerfacc" name = "nerfacc"
version = "0.0.3"
authors = [{name = "Ruilong", email = "ruilongli94@gmail.com"}] authors = [{name = "Ruilong", email = "ruilongli94@gmail.com"}]
dynamic = ["version", "description"] license = { text="MIT" }
\ No newline at end of file requires-python = ">=3.8"
dependencies = [
"ninja>=1.10.2.3",
"pybind11>=2.10.0",
"torch>=1.12.1"
]
[project.optional-dependencies]
# for example scripts
examples = [
"tinycudann @ git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch",
"opencv-python",
"imageio",
"numpy",
"tqdm",
]
# for documentation
docs = []
\ No newline at end of file
ninja
pybind11
torch
# torch-scatter -f https://data.pyg.org/whl/torch-1.12.0+cu102.html
\ No newline at end of file
from setuptools import find_packages, setup
setup(
name="nerfacc",
description="NeRF accelerated rendering",
version="0.0.3",
packages=find_packages(exclude=("tests*",)),
)
conda create -n nerfacc python=3.9 -y conda create -n nerfacc python=3.9 -y
conda activate nerfacc conda activate nerfacc
pip install -r requirements.txt conda install pytorch cudatoolkit=11.3 -c pytorch -y
\ No newline at end of file pip install -e .
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment