Skip to content

Commit

Permalink
update with installation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
liruilong940607 committed Jan 31, 2023
1 parent 2535b2b commit aacd3f9
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ The easist way is to install from PyPI. In this way it will build the CUDA code
pip install nerfacc
```

Or install from source.
Or install from source. In this way it will build the CUDA code during installation.
```
# 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/).
Expand Down Expand Up @@ -169,12 +166,13 @@ Used by:
- [instant-nsr-pl](https://github.com/bennyguo/instant-nsr-pl): NeuS in 10 minutes.


## Build Status
## Common Installation Issues

We

#### Linux & Windows

<details>
<summary>ImportError: .../csrc.so: undefined symbol</summary>
If you are installing a pre-built wheel, make sure the Pytorch and CUDA version matchs with the nerfacc version (nerfacc.__version__).
</details>

## Citation

Expand Down

0 comments on commit aacd3f9

Please sign in to comment.