Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruilong Li committed Sep 29, 2023
1 parent 666a9c6 commit 972a362
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,25 @@

Our version of differentiable gaussian rasterizer

# ref_rast
# Installation

Copied official version of differentiable gaussian rasterizer
For CUDA development, it is recommend to install with `BUILD_NO_CUDA=1`, which
will disable compiling during pip install, and instead use JIT compiling on your
first run. The benefit of JIT compiling is that it does incremental compiling as
you modify your cuda code so it is much faster than re-compile through pip. Note
the JIT compiled library can be found under `~/.cache/torch_extensions/py*-cu*/`.

# Installation
```
BUILD_NO_CUDA=1 pip install -e .[dev]
```

If you won't touch the underlying CUDA code, you can just install with compiling:

```
python3 -m pip install --upgrade pip
cd diff_rast; pip install -e .
cd ../ref_rast; pip install -e .
pip install -e .[dev]
```


# Brief walkthrough

The main python bindings for rasterization are found by importing diff_rast
Expand Down

0 comments on commit 972a362

Please sign in to comment.