"tests/python/common/vscode:/vscode.git/clone" did not exist on "5421940a77e691221fdc1753146b02e416281368"
Unverified Commit 4bdde5a3 authored by Matthew Tancik's avatar Matthew Tancik Committed by GitHub
Browse files

Merge pull request #2 from KAIR-BAIR/tancik/0.0.3

Update for pypi
parents 776dff86 59f31c61
git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
opencv-python
imageio
numpy
tqdm
\ No newline at end of file
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
import glob import glob
import os import os
from subprocess import DEVNULL, call from subprocess import DEVNULL, call
from rich.console import Console
console = Console()
from torch.utils.cpp_extension import load from torch.utils.cpp_extension import load
...@@ -25,11 +28,14 @@ else: ...@@ -25,11 +28,14 @@ else:
extra_cflags = ["-O3"] extra_cflags = ["-O3"]
extra_cuda_cflags = ["-O3"] extra_cuda_cflags = ["-O3"]
_C = load( with console.status(
name="nerfacc_cuda", "[bold yellow]Setting up CUDA (This may take a few minutes the first time)", spinner="bouncingBall"
sources=sources, ):
extra_cflags=extra_cflags, _C = load(
extra_cuda_cflags=extra_cuda_cflags, name="nerfacc_cuda",
) sources=sources,
extra_cflags=extra_cflags,
extra_cuda_cflags=extra_cuda_cflags,
)
__all__ = ["_C"] __all__ = ["_C"]
...@@ -11,18 +11,10 @@ requires-python = ">=3.8" ...@@ -11,18 +11,10 @@ requires-python = ">=3.8"
dependencies = [ dependencies = [
"ninja>=1.10.2.3", "ninja>=1.10.2.3",
"pybind11>=2.10.0", "pybind11>=2.10.0",
"torch>=1.12.1" "torch>=1.12.1",
"rich>=12"
] ]
[project.optional-dependencies] [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 # for documentation
docs = [] docs = []
\ 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