Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nerfacc
Commits
1d79f7b5
Unverified
Commit
1d79f7b5
authored
Jan 31, 2023
by
Ruilong Li(李瑞龙)
Committed by
GitHub
Jan 31, 2023
Browse files
Bump to 0.3.4 (#153)
* update readme install, bump 0.3.4 * add package data
parent
14398229
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
9 deletions
+18
-9
README.md
README.md
+16
-8
nerfacc/version.py
nerfacc/version.py
+1
-1
setup.py
setup.py
+1
-0
No files found.
README.md
View file @
1d79f7b5
...
...
@@ -32,20 +32,28 @@ 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`
|
|--------------|---------|---------|---------|---------|
|
Windows & Linux
|
`cu102`
|
`cu113`
|
`cu116`
|
`cu117`
|
|--------------
---
|---------|---------|---------|---------|
| torch 1.10.0 | ✅ | ✅ | | |
| torch 1.11.0 | ✅
*
| ✅ | | |
| torch 1.12.0 | ✅
*
| ✅ | ✅ | |
...
...
nerfacc/version.py
View file @
1d79f7b5
...
...
@@ -2,4 +2,4 @@
Copyright (c) 2022 Ruilong Li, UC Berkeley.
"""
__version__
=
"0.3.
3
"
__version__
=
"0.3.
4
"
setup.py
View file @
1d79f7b5
...
...
@@ -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
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment