Unverified Commit 1d79f7b5 authored by Ruilong Li(李瑞龙)'s avatar Ruilong Li(李瑞龙) Committed by GitHub
Browse files

Bump to 0.3.4 (#153)

* update readme install, bump 0.3.4

* add package data
parent 14398229
......@@ -32,24 +32,32 @@ Using NerfAcc,
## Installation
The easist way is to install from PyPI, and it will build itself on the first run.
The easist way is to install from PyPI. In this way it will build the CUDA code **on the first run** (JIT).
```
pip install nerfacc
```
Or install from source.
```
# build CUDA during installation
pip install git+https://github.com/KAIR-BAIR/nerfacc.git
# build CUDA on the first run (JIT)
BUILD_NO_CUDA=1 pip install git+https://github.com/KAIR-BAIR/nerfacc.git
```
We also provide pre-built wheels covering major combinations of Pytorch + CUDA supported by [official Pytorch](https://pytorch.org/get-started/previous-versions/).
```
# e.g., Windows & Linux, torch 1.13.0 + cu117
# e.g., torch 1.13.0 + cu117
pip install nerfacc -f https://nerfacc-bucket.s3.us-west-2.amazonaws.com/whl/torch-1.13.0_cu117.html
```
| | `cu102` | `cu113` | `cu116` | `cu117` |
|--------------|---------|---------|---------|---------|
| torch 1.10.0 | ✅ | ✅ | | |
| torch 1.11.0 | ✅* | ✅ | | |
| torch 1.12.0 | ✅* | ✅ | ✅ | |
| torch 1.13.0 | | | ✅ | ✅ |
| Windows & Linux | `cu102` | `cu113` | `cu116` | `cu117` |
|-----------------|---------|---------|---------|---------|
| torch 1.10.0 | ✅ | ✅ | | |
| torch 1.11.0 | ✅* | ✅ | | |
| torch 1.12.0 | ✅* | ✅ | ✅ | |
| torch 1.13.0 | | | ✅ | ✅ |
\* Pytorch does not support Windows pre-built wheels for those combinations thus we do not support as well.
......
......@@ -2,4 +2,4 @@
Copyright (c) 2022 Ruilong Li, UC Berkeley.
"""
__version__ = "0.3.3"
__version__ = "0.3.4"
......@@ -121,5 +121,6 @@ setup(
ext_modules=get_extensions() if not BUILD_NO_CUDA else [],
cmdclass={"build_ext": get_ext()} if not BUILD_NO_CUDA else {},
packages=find_packages(),
package_data={"": ["*.cu", "*.cpp", "*.h"]},
include_package_data=include_package_data,
)
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