Git Product home page Git Product logo

svox2's Introduction

svox2's People

Contributors

jaeyeol816 avatar sarafridov avatar sxyu avatar tombyrer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

svox2's Issues

License

Super excited about your work!

Can you add a license to your repo, thanks!

`pip install .` failes on Ubuntu 21.04 with CUDA 11.3

Hello, I can not get the pip install . step up and running. I have followd the instructions and read other issues here but couldnt figure what to do exactly. Unfortunatelly I can not make any sense of the error log. As you can see I have cuda installed, i can verify that my card works in other applications and my sytem is up to date. I recreated the conda env each time (conda env remove --name plenoxel). Thanks for any hints in advance.

My System

➜  conda conda --version
conda 4.10.3
➜  conda /usr/local/cuda-11.3/bin/nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Mar_21_19:15:46_PDT_2021
Cuda compilation tools, release 11.3, V11.3.58
Build cuda_11.3.r11.3/compiler.29745058_0
➜  conda nvidia-smi -L
GPU 0: NVIDIA GeForce RTX 3070 (UUID: GPU-351e85ab-4238-bb15-d449-41d59e8bd70f)
➜  conda lsmod | grep nvid
nvidia_uvm           1040384  0
nvidia_drm             57344  6
nvidia_modeset       1183744  14 nvidia_drm
nvidia              34897920  835 nvidia_uvm,nvidia_modeset
drm_kms_helper        245760  1 nvidia_drm
drm                   552960  9 drm_kms_helper,nvidia_drm
➜  conda gcc --version
gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

➜  conda lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.04
Release:        21.04
Codename:       hirsute
➜  conda echo $CUDA_HOME
/usr/local/cuda-11.3

Clone repo, setup conda env

➜  conda git clone https://github.com/sxyu/svox2.git
Cloning into 'svox2'...
remote: Enumerating objects: 1509, done.
remote: Counting objects: 100% (1509/1509), done.
remote: Compressing objects: 100% (834/834), done.
remote: Total 1509 (delta 1125), reused 1039 (delta 660), pack-reused 0
Receiving objects: 100% (1509/1509), 4.63 MiB | 2.05 MiB/s, done.
Resolving deltas: 100% (1125/1125), done.
➜  conda cd svox2
➜  svox2 git:(master) conda env create -f environment.yml
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.3
  latest version: 4.11.0

Please update conda by running

    $ conda update -n base -c defaults conda


Preparing transaction: done
Verifying transaction: done
Executing transaction: \ By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html

done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/home/philipp/anaconda3/envs/plenoxel/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt']
Pip subprocess output:
Collecting imageio
  Using cached imageio-2.13.5-py3-none-any.whl (3.3 MB)
Collecting imageio-ffmpeg
  Using cached imageio_ffmpeg-0.4.5-py3-none-manylinux2010_x86_64.whl (26.9 MB)
Collecting ipdb
  Using cached ipdb-0.13.9-py3-none-any.whl
Collecting lpips
  Using cached lpips-0.1.4-py3-none-any.whl (53 kB)
Collecting opencv-python>=4.4.0
  Using cached opencv_python-4.5.5.62-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.4 MB)
Requirement already satisfied: Pillow>=7.2.0 in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from -r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 6)) (8.4.0)
Collecting Pillow>=7.2.0
  Using cached Pillow-9.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB)
Collecting pyyaml>=5.3.1
  Using cached PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
Collecting tensorboard>=2.4.0
  Using cached tensorboard-2.7.0-py3-none-any.whl (5.8 MB)
Collecting pymcubes
  Using cached PyMCubes-0.1.2-cp38-cp38-manylinux2010_x86_64.whl (282 kB)
Collecting moviepy
  Using cached moviepy-1.0.3-py3-none-any.whl
Collecting matplotlib
  Using cached matplotlib-3.5.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.3 MB)
Collecting scipy>=1.6.0
  Using cached scipy-1.7.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.3 MB)
Requirement already satisfied: numpy in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from imageio->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 1)) (1.18.5)
Collecting decorator
  Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB)
Collecting ipython>=7.17.0
  Using cached ipython-8.0.0-py3-none-any.whl (747 kB)
Collecting toml>=0.10.2
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: setuptools in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from ipdb->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 3)) (58.0.4)
Requirement already satisfied: torchvision>=0.2.1 in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from lpips->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 4)) (0.11.2)
Requirement already satisfied: torch>=0.4.0 in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from lpips->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 4)) (1.10.1)
Requirement already satisfied: tqdm>=4.28.1 in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from lpips->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 4)) (4.62.3)
Collecting tensorboard-plugin-wit>=1.6.0
  Using cached tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
Collecting protobuf>=3.6.0
  Using cached protobuf-3.19.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Collecting markdown>=2.6.8
  Using cached Markdown-3.3.6-py3-none-any.whl (97 kB)
Collecting google-auth-oauthlib<0.5,>=0.4.1
  Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
Collecting google-auth<3,>=1.6.3
  Using cached google_auth-2.3.3-py2.py3-none-any.whl (155 kB)
Collecting tensorboard-data-server<0.7.0,>=0.6.0
  Using cached tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
Requirement already satisfied: wheel>=0.26 in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from tensorboard>=2.4.0->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 8)) (0.37.1)
Collecting absl-py>=0.4
  Using cached absl_py-1.0.0-py3-none-any.whl (126 kB)
Collecting requests<3,>=2.21.0
  Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting grpcio>=1.24.3
  Using cached grpcio-1.43.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)
Collecting werkzeug>=0.11.15
  Using cached Werkzeug-2.0.2-py3-none-any.whl (288 kB)
Collecting proglog<=1.0.0
  Using cached proglog-0.1.9-py3-none-any.whl
Collecting decorator
  Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB)
Collecting pyparsing>=2.2.1
  Using cached pyparsing-3.0.6-py3-none-any.whl (97 kB)
Collecting python-dateutil>=2.7
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting cycler>=0.10
  Using cached cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting kiwisolver>=1.0.1
  Using cached kiwisolver-1.3.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.2 MB)
Collecting packaging>=20.0
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting fonttools>=4.22.0
  Using cached fonttools-4.28.5-py3-none-any.whl (890 kB)
Requirement already satisfied: six in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from absl-py>=0.4->tensorboard>=2.4.0->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 8)) (1.16.0)
Collecting cachetools<5.0,>=2.0.0
  Using cached cachetools-4.2.4-py3-none-any.whl (10 kB)
Collecting rsa<5,>=3.1.4
  Using cached rsa-4.8-py3-none-any.whl (39 kB)
Collecting pyasn1-modules>=0.2.1
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting requests-oauthlib>=0.7.0
  Using cached requests_oauthlib-1.3.0-py2.py3-none-any.whl (23 kB)
Collecting pygments
  Using cached Pygments-2.11.2-py3-none-any.whl (1.1 MB)
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached prompt_toolkit-3.0.24-py3-none-any.whl (374 kB)
Collecting jedi>=0.16
  Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB)
Collecting pexpect>4.3
  Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB)
Collecting black
  Using cached black-21.12b0-py3-none-any.whl (156 kB)
Collecting traitlets>=5
  Using cached traitlets-5.1.1-py3-none-any.whl (102 kB)
Collecting backcall
  Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB)
Collecting pickleshare
  Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB)
Collecting stack-data
  Using cached stack_data-0.1.4-py3-none-any.whl (20 kB)
Collecting matplotlib-inline
  Using cached matplotlib_inline-0.1.3-py3-none-any.whl (8.2 kB)
Collecting parso<0.9.0,>=0.8.0
  Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB)
Collecting importlib-metadata>=4.4
  Using cached importlib_metadata-4.10.1-py3-none-any.whl (17 kB)
Collecting zipp>=0.5
  Using cached zipp-3.7.0-py3-none-any.whl (5.3 kB)
Collecting ptyprocess>=0.5
  Using cached ptyprocess-0.7.0-py2.py3-none-any.whl (13 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting pyasn1<0.5.0,>=0.4.6
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.8-py2.py3-none-any.whl (138 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting charset-normalizer~=2.0.0
  Using cached charset_normalizer-2.0.10-py3-none-any.whl (39 kB)
Requirement already satisfied: certifi>=2017.4.17 in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from requests<3,>=2.21.0->tensorboard>=2.4.0->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 8)) (2021.10.8)
Collecting oauthlib>=3.0.0
  Using cached oauthlib-3.1.1-py2.py3-none-any.whl (146 kB)
Requirement already satisfied: typing_extensions in /home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages (from torch>=0.4.0->lpips->-r /home/philipp/dev/conda/svox2/condaenv.4l3ulqnt.requirements.txt (line 4)) (3.10.0.2)
Collecting tomli<2.0.0,>=0.2.6
  Using cached tomli-1.2.3-py3-none-any.whl (12 kB)
Collecting click>=7.1.2
  Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting platformdirs>=2
  Using cached platformdirs-2.4.1-py3-none-any.whl (14 kB)
Collecting mypy-extensions>=0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting pathspec<1,>=0.9.0
  Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
Collecting pure-eval
  Using cached pure_eval-0.2.1-py3-none-any.whl (11 kB)
Collecting executing
  Using cached executing-0.8.2-py2.py3-none-any.whl (16 kB)
Collecting asttokens
  Using cached asttokens-2.0.5-py2.py3-none-any.whl (20 kB)
Installing collected packages: urllib3, pyasn1, idna, charset-normalizer, zipp, wcwidth, traitlets, tomli, rsa, requests, pyasn1-modules, pure-eval, ptyprocess, platformdirs, pathspec, parso, oauthlib, mypy-extensions, executing, click, cachetools, asttokens, stack-data, requests-oauthlib, pyparsing, pygments, prompt-toolkit, Pillow, pickleshare, pexpect, matplotlib-inline, jedi, importlib-metadata, google-auth, decorator, black, backcall, werkzeug, toml, tensorboard-plugin-wit, tensorboard-data-server, scipy, python-dateutil, protobuf, proglog, packaging, markdown, kiwisolver, ipython, imageio-ffmpeg, imageio, grpcio, google-auth-oauthlib, fonttools, cycler, absl-py, tensorboard, pyyaml, pymcubes, opencv-python, moviepy, matplotlib, lpips, ipdb
  Attempting uninstall: Pillow
    Found existing installation: Pillow 8.4.0
    Uninstalling Pillow-8.4.0:
      Successfully uninstalled Pillow-8.4.0
Successfully installed Pillow-9.0.0 absl-py-1.0.0 asttokens-2.0.5 backcall-0.2.0 black-21.12b0 cachetools-4.2.4 charset-normalizer-2.0.10 click-8.0.3 cycler-0.11.0 decorator-4.4.2 executing-0.8.2 fonttools-4.28.5 google-auth-2.3.3 google-auth-oauthlib-0.4.6 grpcio-1.43.0 idna-3.3 imageio-2.13.5 imageio-ffmpeg-0.4.5 importlib-metadata-4.10.1 ipdb-0.13.9 ipython-8.0.0 jedi-0.18.1 kiwisolver-1.3.2 lpips-0.1.4 markdown-3.3.6 matplotlib-3.5.1 matplotlib-inline-0.1.3 moviepy-1.0.3 mypy-extensions-0.4.3 oauthlib-3.1.1 opencv-python-4.5.5.62 packaging-21.3 parso-0.8.3 pathspec-0.9.0 pexpect-4.8.0 pickleshare-0.7.5 platformdirs-2.4.1 proglog-0.1.9 prompt-toolkit-3.0.24 protobuf-3.19.3 ptyprocess-0.7.0 pure-eval-0.2.1 pyasn1-0.4.8 pyasn1-modules-0.2.8 pygments-2.11.2 pymcubes-0.1.2 pyparsing-3.0.6 python-dateutil-2.8.2 pyyaml-6.0 requests-2.27.1 requests-oauthlib-1.3.0 rsa-4.8 scipy-1.7.3 stack-data-0.1.4 tensorboard-2.7.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 toml-0.10.2 tomli-1.2.3 traitlets-5.1.1 urllib3-1.26.8 wcwidth-0.2.5 werkzeug-2.0.2 zipp-3.7.0

done
#
# To activate this environment, use
#
#     $ conda activate plenoxel
#
# To deactivate an active environment, use
#
#     $ conda deactivate

➜  svox2 git:(master) conda activate plenoxel

pip install . error

(plenoxel) ➜  svox2 git:(master) pip install .
Processing /home/philipp/dev/conda/svox2
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
Building wheels for collected packages: svox2
  Building wheel for svox2 (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/philipp/anaconda3/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-efiegvfx/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-efiegvfx/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-kxdlnzhf
       cwd: /tmp/pip-req-build-efiegvfx/
  Complete output (196 lines):
  /tmp/pip-req-build-efiegvfx/setup.py:25: UserWarning: The environment variable `CUB_HOME` was not found.Installation will fail if your system CUDA toolkit version is less than 11.NVIDIA CUB can be downloaded from `https://github.com/NVIDIA/cub/releases`. You can unpack it to a location of your choice and set the environment variable `CUB_HOME` to the folder containing the `CMakeListst.txt` file.
    warnings.warn(
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/svox2
  copying svox2/version.py -> build/lib.linux-x86_64-3.8/svox2
  copying svox2/__init__.py -> build/lib.linux-x86_64-3.8/svox2
  copying svox2/svox2.py -> build/lib.linux-x86_64-3.8/svox2
  copying svox2/utils.py -> build/lib.linux-x86_64-3.8/svox2
  copying svox2/defs.py -> build/lib.linux-x86_64-3.8/svox2
  package init file 'svox2/csrc/__init__.py' not found (or not a regular file)
  running build_ext
  building 'svox2.csrc' extension
  creating /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8
  creating /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2
  creating /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc
  Emitting ninja build file /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/build.ninja...
  Compiling objects...
  Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
  [1/8] c++ -MMD -MF /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o.d -pthread -B /home/philipp/anaconda3/envs/plenoxel/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/svox2.cpp -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  [2/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/optim_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/optim_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [3/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/svox2_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/svox2_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [4/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/misc_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/misc_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/misc_kernel.cu(57): warning: function "<unnamed>::device::accel_linf_dist_transform_kernel" was declared but never referenced

  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [5/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_nvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_nvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_nvol.cu(112): warning: parameter "color_cache" was declared but never referenced

  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [6/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu(23): warning: parameter "ndc_coeffx" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu(24): warning: parameter "ndc_coeffy" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu(25): warning: parameter "z" was declared but never referenced

  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [7/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_svox1_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_svox1_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  [8/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_cuvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o
  /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_cuvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

  /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

  /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
  /usr/include/c++/10/chrono:473:154:   required from here
  /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
    428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
        |                           ^~~~~~
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1717, in _run_ninja_build
      subprocess.run(
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/subprocess.py", line 516, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-req-build-efiegvfx/setup.py", line 55, in <module>
      setup(
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
      _build_ext.run(self)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 340, in run
      self.build_extensions()
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
      build_ext.build_extensions(self)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
      self._build_extensions_serial()
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
      objects = self.compiler.compile(sources,
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 556, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1399, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1733, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  ----------------------------------------
  ERROR: Failed building wheel for svox2
  Running setup.py clean for svox2
Failed to build svox2
Installing collected packages: svox2
    Running setup.py install for svox2 ... error
    ERROR: Command errored out with exit status 1:
     command: /home/philipp/anaconda3/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-efiegvfx/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-efiegvfx/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vx634sky/install-record.txt --single-version-externally-managed --compile --install-headers /home/philipp/anaconda3/envs/plenoxel/include/python3.8/svox2
         cwd: /tmp/pip-req-build-efiegvfx/
    Complete output (198 lines):
    /tmp/pip-req-build-efiegvfx/setup.py:25: UserWarning: The environment variable `CUB_HOME` was not found.Installation will fail if your system CUDA toolkit version is less than 11.NVIDIA CUB can be downloaded from `https://github.com/NVIDIA/cub/releases`. You can unpack it to a location of your choice and set the environment variable `CUB_HOME` to the folder containing the `CMakeListst.txt` file.
      warnings.warn(
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/svox2
    copying svox2/version.py -> build/lib.linux-x86_64-3.8/svox2
    copying svox2/__init__.py -> build/lib.linux-x86_64-3.8/svox2
    copying svox2/svox2.py -> build/lib.linux-x86_64-3.8/svox2
    copying svox2/utils.py -> build/lib.linux-x86_64-3.8/svox2
    copying svox2/defs.py -> build/lib.linux-x86_64-3.8/svox2
    package init file 'svox2/csrc/__init__.py' not found (or not a regular file)
    running build_ext
    building 'svox2.csrc' extension
    creating /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8
    creating /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2
    creating /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc
    Emitting ninja build file /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/build.ninja...
    Compiling objects...
    Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
    [1/8] c++ -MMD -MF /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o.d -pthread -B /home/philipp/anaconda3/envs/plenoxel/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/svox2.cpp -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
    cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
    [2/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/misc_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/misc_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/misc_kernel.cu(57): warning: function "<unnamed>::device::accel_linf_dist_transform_kernel" was declared but never referenced

    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    [3/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/optim_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/optim_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    [4/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/svox2_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/svox2_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    [5/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_svox1_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_svox1_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    [6/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu(23): warning: parameter "ndc_coeffx" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu(24): warning: parameter "ndc_coeffy" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/loss_kernel.cu(25): warning: parameter "z" was declared but never referenced

    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    [7/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_nvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_nvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_nvol.cu(112): warning: parameter "color_cache" was declared but never referenced

    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    [8/8] /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_cuvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    FAILED: /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o
    /usr/local/cuda-11.3/bin/nvcc  -I/tmp/pip-req-build-efiegvfx/svox2/csrc/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/philipp/anaconda3/envs/plenoxel/include/python3.8 -c -c /tmp/pip-req-build-efiegvfx/svox2/csrc/render_lerp_kernel_cuvol.cu -o /tmp/pip-req-build-efiegvfx/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

    /tmp/pip-req-build-efiegvfx/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

    /usr/include/c++/10/chrono: In substitution of ‘template<class _Rep, class _Period> template<class _Period2> using __is_harmonic = std::__bool_constant<(std::ratio<((_Period2::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)) * (_Period::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den))), ((_Period2::den / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::den, _Period::den)) * (_Period::num / std::chrono::duration<_Rep, _Period>::_S_gcd(_Period2::num, _Period::num)))>::den == 1)> [with _Period2 = _Period2; _Rep = _Rep; _Period = _Period]’:
    /usr/include/c++/10/chrono:473:154:   required from here
    /usr/include/c++/10/chrono:428:27: internal compiler error: Segmentation fault
      428 |  _S_gcd(intmax_t __m, intmax_t __n) noexcept
          |                           ^~~~~~
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
    ninja: build stopped: subcommand failed.
    Traceback (most recent call last):
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1717, in _run_ninja_build
        subprocess.run(
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/subprocess.py", line 516, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-req-build-efiegvfx/setup.py", line 55, in <module>
        setup(
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
        _build_ext.run(self)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 340, in run
        self.build_extensions()
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
        build_ext.build_extensions(self)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
        self._build_extensions_serial()
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
        self.build_extension(ext)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
        _build_ext.build_extension(self, ext)
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
        objects = self.compiler.compile(sources,
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 556, in unix_wrap_ninja_compile
        _write_ninja_file_and_compile_objects(
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1399, in _write_ninja_file_and_compile_objects
        _run_ninja_build(
      File "/home/philipp/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1733, in _run_ninja_build
        raise RuntimeError(message) from e
    RuntimeError: Error compiling objects for extension
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/philipp/anaconda3/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-efiegvfx/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-efiegvfx/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vx634sky/install-record.txt --single-version-externally-managed --compile --install-headers /home/philipp/anaconda3/envs/plenoxel/include/python3.8/svox2 Check the logs for full command output.
(plenoxel) ➜  svox2 git:(master)

Negative density

After training, I find that some voxels have negative density or zero density. I was wondering how the densities are defined if it's negative. Specifically, I find the negative density when I train using the default setting on the lego dataset.

Error compiling loss_kernel.cu (CUDA 11.6)

Hi! I have the following log after trying pip install . :

C:\Users\drumk\anaconda3\envs\plenoxel\lib\site-packages\torch\include\pybind11\cast.h(1503): error: too few arguments for template template parameter "Tuple"
          detected during instantiation of class "pybind11::detail::tuple_caster<Tuple, Ts...> [with Tuple=std::pair, Ts=<T1, T2>]"
(1507): here
2 errors detected in the compilation of "svox2/csrc/loss_kernel.cu".
loss_kernel.cu
error: command 'P:\\Program Files\\CUDA\\DEV\\bin\\nvcc.exe' failed with exit code 1
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "C:\Users\drumk\anaconda3\envs\plenoxel\lib\site-packages\colorama\ansitowin32.py", line 59, in closed
    return stream.closed
ValueError: underlying buffer has been detached`

Is it an issue on my side or something is wrong with the code? Thanks.

RuntimeError: CUDA error: initialization error

I got the following error when running on my own data
image
I checked the building step and there seems to be no error, I'm using 1080ti with CUDA=10.0
Do anyone have any idea? Many thanks

Encounter memory issue when training my own dataset.

First I would like to thank you for your great work and making it public!
I noticed that all the ground truth data needs to be read into memory at once. I understand that it can speed up the training procedure. But if I use my own dataset with large resolution or large data size, my system memory is not enough for training. Is there any method not to read all data at once? Or this algorithm is designed to be this way?

Model Differential Property

Hi, thx for sharing the great works.
I am curious about the differential property regarding the input rays. When backward model, can the gradient be passed to the input sampled points?

Fail to reproduce the results (bad visualization + low PSNR) (Fixed)

Thanks for the amazing work. When I run the code on nerf_synthetic data (i.e., Lego), I couldn't get the same results as good as shown in the paper. I am showing a rendered LEGO result as below (right):
0000
The PSNR I got is ~21 on lego. I believe I followed the instructions for the installation and running. The example command line is like:

python opt.py ../data/lego -t ckpt/lego -c configs/syn.json

I'm also repeating the experiments on other data. The Drum and the hotdog in Syn data and the fern in LLFF data seem fine. No idea about other data just yet. Some good examples I got:
image
image
image

Installation failed

Hi,

I got the following error when running pip install .:

Building wheels for collected packages: svox2
  Building wheel for svox2 (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/anaconda3/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1yhno3f6/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-1yhno3f6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-eoq4wyid
       cwd: /tmp/pip-req-build-1yhno3f6/
  Complete output (176 lines):
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead
    warnings.warn(
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'index-url' will not be supported in future versions. Please use the underscore name 'index_url' instead
    warnings.warn(
  running bdist_wheel
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py:381: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
    warnings.warn(msg.format('we could not find ninja.'))
  running build
  running build_py
  package init file 'svox2/csrc/__init__.py' not found (or not a regular file)
  running build_ext
  building 'svox2.csrc' extension
  gcc -pthread -B /home/anaconda3/envs/plenoxel/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/tmp/pip-req-build-1yhno3f6/svox2/csrc/include -I/usr/local/cuda-11.3 -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/anaconda3/envs/plenoxel/include/python3.8 -c svox2/csrc/svox2.cpp -o build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
  cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
  /usr/local/cuda-11.3/bin/nvcc -I/tmp/pip-req-build-1yhno3f6/svox2/csrc/include -I/usr/local/cuda-11.3 -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda-11.3/include -I/home/anaconda3/envs/plenoxel/include/python3.8 -c svox2/csrc/svox2_kernel.cu -o build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE="_gcc" -DPYBIND11_STDLIB="_libstdcpp" -DPYBIND11_BUILD_ABI="_cxxabi1011" -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=compute_70 -gencode=arch=compute_70,code=sm_70 -std=c++14
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of ‘std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::CrossMapLRN2dImpl]’:
  /tmp/tmpxft_00002579_00000000-6_svox2_kernel.cudafe1.stub.c:4:27:   required from here
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:57:59: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:69:61: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >’ to type ‘torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of ‘std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::EmbeddingBagImpl]’:
  /tmp/tmpxft_00002579_00000000-6_svox2_kernel.cudafe1.stub.c:4:27:   required from here
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:57:59: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:69:61: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >’ to type ‘torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of ‘std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::EmbeddingImpl]’:
  /tmp/tmpxft_00002579_00000000-6_svox2_kernel.cudafe1.stub.c:4:27:   required from here
  ......
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:57:59: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:69:61: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >’ to type ‘torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of ‘std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::UnflattenImpl]’:
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/optim/sgd.h:49:48:   required from here
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:57:59: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:69:61: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >’ to type ‘torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h: In instantiation of ‘std::shared_ptr<torch::nn::Module> torch::nn::Cloneable<Derived>::clone(const c10::optional<c10::Device>&) const [with Derived = torch::nn::LinearImpl]’:
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/optim/sgd.h:49:48:   required from here
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:57:59: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>&’
  /home/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include/torch/nn/cloneable.h:69:61: error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >’ to type ‘torch::OrderedDict<std::basic_string<char>, std::shared_ptr<torch::nn::Module> >&’
  error: command '/usr/local/cuda-11.3/bin/nvcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for svox2

The error information then repeated itself after a line of Running setup.py install for svox2 ... error. I removed some error log in the middle for simplicity as they basically just repeat error: invalid static_cast from type ‘const torch::OrderedDict<std::basic_string<char>, at::Tensor>’ to type ‘torch::OrderedDict<std::basic_string<char>, at::Tensor>

My system is Centos 7. CUDA version is 11.3. cuDNN version is 8.2.0. Driver Version is 465.19.01. GPU is a Tesla V100. The conda environment is created using the environment.yml.

Any help would be much appreciated.

Thank you.

Estimated time for installing the cuda extension?

I am installing the extension on a machine where I don't have access to sudo apt. The installation has been running for two days, and it is not done yet. Is this normal? What is the expected amount of time to install it?

own image result bad

When I use render_imgs_circle.py the result is poor, but the psnr value is high(PSNR:27).
I speculate that it is a problem of downsampling
If I modify the downsampling number to 8, what do I need to change
image

But use render_imgs.py the result is well

image

sh coefs to physically based rendering coefs like roughness and metalness per vertex

image

I am just brainstorming here. Please forgive crazy ideas ;D

Is there some way to extract typical physically based rendering shader coefficients like roughness and metalness from spherical harmonics coefs? If so could we then reduce mesh size and need for special renderers ? There is many pbr renderers sketchfab for web ue unity and many others all supporting vr ;)

Lets find good synthetic dataset with all known pbr coefs combinations.

image
And convert to plenoxels with sh

Then perhaps train neural network which sh or pixel lumas was produced by which known pbr roughness and metalness coefs.

Or maybe nn or sh are not needed if observed luminance angle dependent volume has obvious patterns?
For example if we observe all angles of the same voxel (sh or not) or even neighboring voxels patch and check

  1. is there specular highlight area following camera / pointing to it.

  2. if so. How fast/slow is luminance drop rate from maximum from all angles for this and/or neighboring voxels (perhaps rough and porous surfaces will have way shallow and wide luma including maximum ) . And narrow and tall for shiny ones. are these luminance peaks/shape, enough to roughly estimate roughness and metalness per voxel ?

image

  1. if number of colors from various angles per voxel is low can we assume it is not metal/mirror/glass? And if color/luma from various angles change violently with slightest angle change but still has strong color tint than its tinted shiny surface or glass ?

Perhaps if we save just outer surface point cloud (just surface voxels = voxels bordering with trimmed outer voxels) with base color roughness and metalness.

Perhaps this could in theory allow for existing highly performant vr engines yet while still retaining view dependent realistic captured physical material behavior?

On the other hand if ue5 added support for sh to nanite then streaming 16 half floats per vertex maybe would not be that bad?
But how much of reflected env is baked to sh for shiny areas? do we want that? Still. Since nanite allows rendering meshes with virtually infinite detail and even integrated graphics can nowadays handle milions of vertices 60 fps.

I propose this first version of working colab of Plenoxels to Readme.md for people to have form of fast realtime playing with training and rendering?

Hi guys.
Many people are struggling with trying to train this on common gpus just to findout that gpus with 16g or more are needed on many coolest provided sample datasets due to their size. PlenOctree page mentions 24g ?

Sadly gpus are currently pretty much impossible to buy plus those big GPU mem sizes are mostly domain of cloud provided ones.
Too bad current svox2 version doesnt fit 12g ram and 15g gpu of Free colab instance to train datasets of M60 size

So I created at least barely fitting to gpu mem (training and rendering of coolest m60 tank dataset ) on Colab Pro
it's 10$ bucks for month which is price of one hamburger but still better than nothing.

https://colab.research.google.com/drive/1SODy_HiP_kkjL5E4IiBM1XZsD1HofElZ?usp=sharing

Too bad that algo doesn't probably yet support? training on smaller mem gpus even in parallel.

There is gazillion mining rigs that people have at homes typically with multiple 4-11g gpus. I have one 10g 3080 twice as fast as colabpro, 11g 1080 which is the same speed , and 6g of 1060 which is 27g gpu mem lying idly in this case

I noticed that free kaggle gpu is 16g and should fit but system ram is problem which is solvable faster by multiple smaller 10g capped cpu passes ? or by using manually memory mapping file to go around mem size problem I guess?
https://thechief.io/c/editorial/comparison-cloud-gpu-providers/

Perhaps we could in theory split big dataset to smaller ones by segmenting images with known similar camera locations to smaller chunks from bundle adjustment colmap files that datasets already have?

Anyway. I made colab editable for others to make improvements and on
https://github.com/neurall/PlenoxelsColab to make forks easily possible too

It would be cool if Plenoxels github readme had link to some colab to allow others to play with technology faster.

Perhaps "download checkpoints and render-images only part" could be perhaps made working even on free colab ?
That would still provide people with an interactive access to get feel for this incredible new rendering possibility without all the finding expensive gpu and installing fuss?

I was just thinking UE5 nanite team ? ;D
Just think about the possibilities If photorealistic scene reconstruction is this good and fast thx to Plenoxels.

UE5 is able to render massive datasets with unlimited details on whim and you don't even need file you can stream vertices to it directly. I think it will not take a long until we see app that streams to real-time VR experience as a new form of live reporting concert or journalism?

I.e. we could be transported to any place on earth in VR and move around as things are happening ;D. Imagine VR news network. exiting times

to_svox1 colors

Thanks a lot for your outstanding work!
Experimenting the export to svox1, I find the colors a bit "greyish". I was wondering if the reason is the sigmoid you apply in volrend, which is not applied (as far as I understood) in svox2?

In svox2 render_lerp_kernel_cuvol.cu (line 102):

            outv += weight * fmaxf(lane_color_total + 0.5f, 0.f);  // Clamp to [+0, infty)

In volrend rt_core.cuh (line 192):

                            out[t] += weight / (1.f + expf(-tmp));

It seems to give better colors by just replacing the above line by:

                            out[t] += weight * min(1., max(0., tmp + 0.5));

What do you think? Did I understand well the fading color problem?

Best regards,
Matthieu.

Error in svox2.tv_grad_sparse : invalid device function

Hello, thanks for your excellent work!
I tried to run your code after successfully installing svox2, jaxlib, nvidiacub. I ran

CUDA_VISIBLE_DEVICES=0 python opt.py data/nerf_synthetic/lego/ -t ckpt/paper_nerfsyn

but I received some problems such as "Error in svox2.accel_dist_prop : invalid device function". The total output is like the following:

Detected NeRF (Blender) dataset
LOAD DATA /data/zhangwenyuan/data/nerf_synthetic/lego/train
100%|█████████████████████████████████████████| 100/100 [00:02<00:00, 40.48it/s]
 Generating rays, scaling factor 1
Detected NeRF (Blender) dataset
LOAD DATA /data/zhangwenyuan/data/nerf_synthetic/lego/test
100%|█████████████████████████████████████████| 200/200 [00:04<00:00, 43.29it/s]
Error in svox2.accel_dist_prop : invalid device function
Render options RenderOptions(backend='cuvol', background_brightness=1.0, step_size=0.5, sigma_thresh=1e-08, stop_thresh=1e-07, last_sample_opaque=False, near_clip=0.0, use_spheric_clip=False, random_sigma_std=0.0, random_sigma_std_background=0.0)
 Selecting random rays
Eval step
  0%|                                                     | 0/5 [00:00<?, ?it/s]Error in svox2.volume_render_cuvol_image : invalid device function
Error in svox2.volume_render_cuvol_image : invalid device function
 40%|██████████████████                           | 2/5 [00:00<00:00, 12.62it/s]Error in svox2.volume_render_cuvol_image : invalid device function
Error in svox2.volume_render_cuvol_image : invalid device function
 80%|████████████████████████████████████         | 4/5 [00:00<00:00,  8.57it/s]Error in svox2.volume_render_cuvol_image : invalid device function
100%|█████████████████████████████████████████████| 5/5 [00:00<00:00,  9.60it/s]
eval stats: {'psnr': 3.719849289036856, 'mse': 0.4248954772949219}
Train step
  0%|                                                 | 0/12800 [00:00<?, ?it/s]Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
epoch 0 psnr=1.10:   0%|                              | 0/12800 [00:00<?, ?it/s]Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
epoch 0 psnr=1.10:   0%|                    | 31/12800 [00:00<00:41, 308.00it/s]Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.tv_grad_sparse : invalid device function
Error in svox2.volume_render_cuvol_fused : invalid device function
Error in svox2.tv_grad_sparse : invalid device function

The process can continue, but PSNR doesnot seem to change.
My Pytorch version is like the following:

PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 10.2
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75
  - CuDNN 7.6.5
  - Magma 2.5.2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON

and my cuda version is 10.0.

I guess this problem may come from some version error, but I don't know how to solve it. I would appreciate it a lot if you can give me some advice. Thank you very much!

bad case:fake shadow

the demo result is not as good as the one shows in website

test_renders.mp4

0017
0116

dose it result from the input data or parameters?is it reasonable?
what's more, I download the nerf dataset from https://github.com/facebookresearch/NSVF ,because the dataset provided in plenoxel has format error?there are only train/test/validation subdirs and it doesn't work with the code.

CUDA 11 had already included the CUB

Hi there, when I tried to install the dependcies by following the README, the console gave a error that CUDA 11 had already included the CUB, and ask me to remove the incompatable CUB, so after I sudo apt-get uninstall the nvidiacub, the installation works.

If any one got the same problem should do some favor to you.

My env is :
cuda 11.3.1
3080ti

Pretrained models

Could you, please, also upload the pretrained models? Because I could'nt compile svox2 so far, but I'm very interested in your work!
(And I think all of your projects are very meaningful. Thanks!)

Windows proc_colmap.sh can't find Colmap

I noticed on windows that colmap was not being executed when running bash proc_colmap.sh <img_dir> leaving me with a folder of resized images and nothing else. I do have it on my environment path.

Temporarily fixed the issue by adding the absolute path kike <path to colmap folder>/colmap.bat everywhere the colmap command string is being built here:

colmap feature_extractor \

But I believe after some research that the correct windows command should be colmap.bat <commands> and not colmap <commands> like in run_colmap.py. So try this first.

Hope it helps someone!

what does <CHECKPOINT.npz> <data_dir> mean???

run custom data, after execed launch.sh...

(plenoxel) lin@pc:~/Desktop/workSpace/svox2/opt$ find /home/lin/Desktop/datas/UnixConPicts/ -name *.npz
/home/lin/Desktop/datas/UnixConPicts/images/visual/volrend.draw.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00012.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00004.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00005.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00010.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00013.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00003.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00008.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/1_00000.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00007.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00006.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00011.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00002.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00009.npz
/home/lin/Desktop/datas/UnixConPicts/images/feature/0_00001.npz

python render_imgs.py <CHECKPOINT.npz> <data_dir>

what does the parameters <CHECKPOINT.npz> <data_dir> mean?

(plenoxel) lin@pc:~/Desktop/workSpace/svox2/opt$ ll ckpt/book
total 52
drwxrwxr-x 2 lin lin  4096 1   3 23:39 ./
drwxrwxr-x 5 lin lin  4096 1   3 23:44 ../
-rw-rw-r-- 1 lin lin  2946 1   3 23:37 args.json
-rw-rw-r-- 1 lin lin    40 1   3 23:37 events.out.tfevents.1641224276.pc.12899.0
-rw-rw-r-- 1 lin lin  1169 1   3 23:37 log
-rw-rw-r-- 1 lin lin 31127 1   3 23:37 opt_frozen.py

How many samples per ray?

Hi, thanks for sharing this amazing work. I tried to search how many samples you have used for each ray in the paper, however, I could not find anything related to that. I also checked your cuda kernel, and it seems that you have a dynamic number of samples on each ray. In that case, how do you pace along the ray? Could you confirm about that? Thank you so much!
image

Related Work?

Hi! This is an amazing work and congrats!

I find our work is somewhat related to yours and probably you may want to add our work as a related work in your paper because our idea is very similar. Our work is more in the context of scientific visualization instead of computer vision. And it's based on Taichi, which enables automatic differentiation and sparse support as well. In our work, we found that with a transfer function, even a volume with single-channel voxels is enough for a reasonable "reconstruction" (in the context of SciVis, see our demo). We didn't publish it via a paper because it started as my toy project and it wasn't our major focus.

And I've read your paper, it seems there are some differences and similarities as the following.

Technical differences:

  1. We used Taichi instead of PyTorch. Taichi differs from PyTorch in that it's kernel-based, not operator-based.
  2. We use dense volumes (although Taichi support sparse volumes), but you used sparse ones.

Theoretical differences:

  1. We use single-channel intensities (could be N-channel) in voxels and an ordinary transfer function as a representation while you use SH.
  2. We didn't add TV loss (since the results were good enough for us).
  3. We didn't do much in the context of yours. We did reconstructions on volumes whose voxel intensities can be scientifically meaningful based on our Direct Volume Rendering visualizations, while you do the reconstruction on volumes that are a representation of scenes based on photos.
  4. N-channel intensities/vector in voxels with a transfer function(a neural one or a plain learnable texture) may be consider as a superset of SH coefficients in the context of learnable representations.

Similarities:

  1. Direct Volume Rendering + Auto Differentiation
  2. Volume representation
  3. "Learning" from images (ours: rendered images, yours: photos or synthesized photos)
  4. Good convergence speed :)

torch.count_nonzero(indexer).item() RuntimeError: CUDA out of memory.

Eval step
100%|██████████| 6/6 [00:03<00:00, 1.55it/s]
eval stats: {'psnr': 6.496485767868177, 'mse': 0.2280503436923027}
Train step
0%| | 0/12800 [00:00<?, ?it/s]
Traceback (most recent call last):
File "opt.py", line 605, in
train_step()
File "opt.py", line 597, in train_step
grid.optim_background_step(lr_sigma_bg, lr_color_bg, beta=args.rms_beta, optim=args.bg_optim)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 2055, in optim_background_step
indexer = self._maybe_convert_sparse_grad_indexer(bg=True)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 2217, in _maybe_convert_sparse_grad_indexer
torch.count_nonzero(indexer).item()
RuntimeError: CUDA out of memory. Tried to allocate 1024.00 MiB (GPU 0; 7.93 GiB total capacity; 6.78 GiB already allocated; 362.56 MiB free; 6.79 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

Custom dataset with poses and intrinsics included -> NSVF Format

I have a large dataset comprising renders of a single object taken over a fairly dense sampling of poses (rotations and translations). I also have the camera intrinsics and distortion coefficients (though it looks like these are usually not incorporated in most radiance field work?).

I was hoping you might be able to lend some guidance on how I can use this supplemental information to form a dataset that is compatible with svox2. Specifically, do you have any tips on how I might leverage colmap and colmap2nsvf.py? When running proc_colmap.sh on a directory of raw images, I see it produces its own pose.txt estimates, database.db, and points.npy and appears to sample only a subset of the given images. Are there any modifications I should be making that are immediately evident to you?

Any help is greatly appreciated!

view_data.py with custom dataset - error with `seg` indexing implementation

Upon defining a dataset of images and running bash proc_colmap.sh, when running view_data.py I get an error when trying to pass an empty rotation matrix to scene.add_camera_frustrum from the nerfvis library. The error stems from a faulty list of segs as defined in view_data.py

    all_poses = []
    pnum, seg_begin = None, 0
    segs = []
    for i, pose_file in enumerate(pose_files):
        pose = np.loadtxt(path.join(pose_dir, pose_file)).reshape(4, 4)
        splt = path.splitext(pose_file)[0].split('_')
        num = int(splt[1] if len(splt) > 1 else splt[0])
        if pnum is not None and num - pnum > 1 and seg_begin < num:
            segs.append((seg_begin, num))
            seg_begin = num
        pnum = num
        all_poses.append(pose)
    all_poses = np.stack(all_poses)
    segs.append((seg_begin, len(pose_files)))

Specifically, segs appears to be a list of 2-tuples corresponding to the connection between two pose matrices. Given my pose directory contents of

├── 0_00019.txt
├── 0_00095.txt
├── 0_00107.txt
├── 0_00134.txt
├── 0_00140.txt
├── 0_00143.txt
├── 0_00169.txt
├── 0_00187.txt
├── 0_00191.txt
├── 0_00197.txt
├── 0_00200.txt
├── 0_00212.txt
├── 0_00242.txt
├── 0_00251.txt
├── 0_00252.txt
├── 0_00260.txt
├── 0_00291.txt
├── 1_00017.txt
└── 1_00259.txt

segs evaluates to

[(0, 19), (19, 95), (95, 107), (107, 134), (134, 140), (140, 143), (143, 169), (169, 187), (187, 191), (191, 197), (197, 200), (200, 212), (212, 242), (242, 251), (251, 259), (259, 291), (291, 19)]

In the following loop

    for i, seg in enumerate(segs):
        print(seg)
        print(R.shape, t.shape)
        print(seg[0], seg[1])
        scene.add_camera_frustum(name=f"traj_{i:04d}", focal_length=focal,
                                 image_width=image_wh[0],
                                 image_height=image_wh[1],
                                 z=0.1,
                                 r=R[seg[0]:seg[1]],
                                 t=t[seg[0]:seg[1]],
                                 connect=args.seg,
                                 color=[1.0, 0.0, 0.0])

The indexing of R and t thus yield errors.

Just to get it running, I changed seg to an incremental list like [(0, 1), (1, 2), ... (n-1, n)], but I'm not sure what the original intention was here as the logic was unclear to me.

CUDA isn't working

I finished installing COLMAP and creating env with requirements.
When i run python render_imgs_circle.py
I have got CUDA exception.

/home/NIX/dronov/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/utils.py:39: UserWarning: CUDA extension svox2.csrc could not be loaded! Operations will be slow.
Please do not import svox in the svox2 source directory.
  warn("CUDA extension svox2.csrc could not be loaded! " +
Detected NeRF (Blender) dataset
LOAD DATA /home/NIX/dronov/HDD/datasets/3D/256_to_512_fasttv/ficus/data/test
100%|█████████████████████████████████████████| 200/200 [00:04<00:00, 43.17it/s]
  Auto vec_up [-5.03970733e-04  8.00918526e-03  9.99967799e-01]
Traceback (most recent call last):
  File "render_imgs_circle.py", line 166, in <module>
    grid = svox2.SparseGrid.load(args.ckpt, device=device)
  File "/home/NIX/dronov/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 1627, in load
    grid.accelerate()
  File "/home/NIX/dronov/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 1491, in accelerate
    assert (
AssertionError: CUDA extension is currently required for accelerate

Help me fix it, please

Missing function when running `proc_colmap.sh`

Hello, thank you for releasing the code to try. During experimentation with custom data I wanted to convert images to llff dataset format. In the code I found that this

def compute_poses(vid_root, args, overwrite=False):

exports the poses_bounds.npy file required in your code. However, this is missing load_colmap_data function. I checked the original repo for this missing piece here But I think they don't match quite exactly. Could you please let me know what I'm missing?

imgs_circle's params

Thanks for your studies, that's helpful for me. But there's a problem which means I want to circle a image in npz, these code need a data_dir param, what means that?Waiting for your answer, really thanks

install failed, please help

(plenoxel) root@6ba5ad9d785b:~/svox2# pip install .
Processing /root/svox2
DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
pip 21.3 will remove support for this functionality. You can find discussion regarding this at pypa/pip#7555.
Building wheels for collected packages: svox2
Building wheel for svox2 (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /root/miniconda/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1y564l6b/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1y564l6b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-mrnyst1c
cwd: /tmp/pip-req-build-1y564l6b/
Complete output (65 lines):
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/svox2
copying svox2/init.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/defs.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/svox2.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/utils.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/version.py -> build/lib.linux-x86_64-3.8/svox2
package init file 'svox2/csrc/init.py' not found (or not a regular file)
running build_ext
/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py:782: UserWarning: The detected CUDA version (11.4) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'svox2.csrc' extension
creating /tmp/pip-req-build-1y564l6b/build/temp.linux-x86_64-3.8
creating /tmp/pip-req-build-1y564l6b/build/temp.linux-x86_64-3.8/svox2
creating /tmp/pip-req-build-1y564l6b/build/temp.linux-x86_64-3.8/svox2/csrc
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-1y564l6b/setup.py", line 55, in
setup(
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 551, in unix_wrap_ninja_compile
cuda_post_cflags = unix_cuda_flags(cuda_post_cflags)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 450, in unix_cuda_flags
cflags + _get_cuda_arch_flags(cflags))
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1606, in _get_cuda_arch_flags
arch_list[-1] += '+PTX'
IndexError: list index out of range

ERROR: Failed building wheel for svox2
Running setup.py clean for svox2
Failed to build svox2
Installing collected packages: svox2
Running setup.py install for svox2 ... error
ERROR: Command errored out with exit status 1:
command: /root/miniconda/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1y564l6b/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1y564l6b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-uibjp4fh/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda/envs/plenoxel/include/python3.8/svox2
cwd: /tmp/pip-req-build-1y564l6b/
Complete output (67 lines):
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/svox2
copying svox2/init.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/defs.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/svox2.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/utils.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/version.py -> build/lib.linux-x86_64-3.8/svox2
package init file 'svox2/csrc/init.py' not found (or not a regular file)
running build_ext
/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py:782: UserWarning: The detected CUDA version (11.4) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
building 'svox2.csrc' extension
creating /tmp/pip-req-build-1y564l6b/build/temp.linux-x86_64-3.8
creating /tmp/pip-req-build-1y564l6b/build/temp.linux-x86_64-3.8/svox2
creating /tmp/pip-req-build-1y564l6b/build/temp.linux-x86_64-3.8/svox2/csrc
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-1y564l6b/setup.py", line 55, in
setup(
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/install.py", line 545, in run
self.run_command('build')
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 735, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 449, in build_extensions
self._build_extensions_serial()
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 474, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda/envs/plenoxel/lib/python3.8/distutils/command/build_ext.py", line 528, in build_extension
objects = self.compiler.compile(sources,
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 551, in unix_wrap_ninja_compile
cuda_post_cflags = unix_cuda_flags(cuda_post_cflags)
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 450, in unix_cuda_flags
cflags + _get_cuda_arch_flags(cflags))
File "/root/miniconda/envs/plenoxel/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1606, in _get_cuda_arch_flags
arch_list[-1] += '+PTX'
IndexError: list index out of range
----------------------------------------
ERROR: Command errored out with exit status 1: /root/miniconda/envs/plenoxel/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-1y564l6b/setup.py'"'"'; file='"'"'/tmp/pip-req-build-1y564l6b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-uibjp4fh/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda/envs/plenoxel/include/python3.8/svox2 Check the logs for full command output.

CUDA extension svox2.csrc could not be loaded?

python opt.py /home/dingwuyou/Downloads/NeRF_Data/nerf_llff_data/flower -c configs/llff.json
/home/dingwuyou/.conda/envs/plenoxel/lib/python3.8/site-packages/svox2/utils.py:39: UserWarning: CUDA extension svox2.csrc could not be loaded! Operations will be slow.
Please do not import svox in the svox2 source directory.
warn("CUDA extension svox2.csrc could not be loaded! " +
Detected LLFF dataset
Using pre-scaled images from /home/dingwuyou/Downloads/NeRF_Data/nerf_llff_data/flower/images_4
Loaded LLFF data /home/dingwuyou/Downloads/NeRF_Data/nerf_llff_data/flower 22.573735200863933 222.47985705021057
recentered (3, 4)
[ 1.4332432 12.709555 ]
Overriding offset 250-> 250
dmin = 1.433243, dmax = 12.709555, invz = 0, offset = 250
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 29/29 [00:00<00:00, 39.39it/s]
z_bounds from LLFF: [1.4332431554794312, 12.709554672241211] (not used)
scene_radius [1.496031746031746, 1.6613756613756614, 1.0]
Generating rays, scaling factor 1
/home/dingwuyou/.conda/envs/plenoxel/lib/python3.8/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /opt/conda/conda-bld/pytorch_1639180588308/work/aten/src/ATen/native/TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
Detected LLFF dataset
Using pre-scaled images from /home/dingwuyou/Downloads/NeRF_Data/nerf_llff_data/flower/images_4
Loaded LLFF data /home/dingwuyou/Downloads/NeRF_Data/nerf_llff_data/flower 22.573735200863933 222.47985705021057
recentered (3, 4)
[ 1.4332432 12.709555 ]
Overriding offset 250-> 250
dmin = 1.433243, dmax = 12.709555, invz = 0, offset = 250
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 41.58it/s]
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 120/120 [00:00<00:00, 167548.76it/s]
z_bounds from LLFF: [1.4332431554794312, 12.709554672241211] (not used)
scene_radius [1.496031746031746, 1.6613756613756614, 1.0]
Morton code requires a cube grid of power-of-2 size, ignoring...
Render options RenderOptions(backend='cuvol', background_brightness=0.5, step_size=0.5, sigma_thresh=1e-08, stop_thresh=1e-07, last_sample_opaque=False, near_clip=0.0, use_spheric_clip=False, random_sigma_std=0.0, random_sigma_std_background=0.0)
Selecting random rays
Eval step
0%| | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
File "opt.py", line 471, in
eval_step()
File "opt.py", line 406, in eval_step
rgb_pred_test = grid.volume_render_image(cam, use_kernel=True)
File "/home/dingwuyou/.conda/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 1159, in volume_render_image
if self.basis_type != BASIS_TYPE_MLP and imrend_fn_name in _C.dict and not torch.is_grad_enabled() and not return_raylen:
AttributeError: 'NoneType' object has no attribute 'dict'

extract mesh from voxel grid

Hello, is there a way to extract the learnt 3D volume from the grid data structure?
How can the dense voxel grid be extracted to run something akin to Marching Cubes for mesh extraction?

Thanks

AssertionError: CUDA extension is currently required for accelerate

I still have the probelm of AssertionError: CUDA extension is currently required for accelerate
ubuntu@ubuntu-broncus:/erick/rendering/svox2-master/svox2-master/opt$ python3.8 render_imgs.py /home/raid/erickData/data/TanksAndTempleBG/Train/
../svox2/utils.py:39: UserWarning: CUDA extension svox2.csrc could not be loaded! Operations will be slow.
Please do not import svox in the svox2 source directory.
warn("CUDA extension svox2.csrc could not be loaded! " +
Setting up [LPIPS] perceptual loss: trunk [vgg], v[0.1], spatial [off]
Loading model from: /home/ubuntu/.local/lib/python3.8/site-packages/lpips/weights/v0.1/vgg.pth
Defaulting to extended NSVF dataset
LOAD NSVF DATA /home/raid/erickData/data/TanksAndTempleBG/Train/ split test
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 43/43 [00:00<00:00, 58.04it/s]
NORMALIZE BY? camera
scene_scale 2.0069090349061196
intrinsics (loaded reso) Intrin(fx=580.62451171875, fy=580.62451171875, cx=490.75, cy=273.0)
Traceback (most recent call last):
File "render_imgs.py", line 116, in
grid = svox2.SparseGrid.load(args.ckpt, device=device)
File "../svox2/svox2.py", line 1629, in load
grid.accelerate()
File "../svox2/svox2.py", line 1491, in accelerate
assert (
AssertionError: CUDA extension is currently required for accelerate
Can some help me ,my environment is python3.8 torch 1.8.0+cu111 nvidia driver 460.91.03 gpu 3090 ,torchaudio 0.8.0 torchvision 0.9.0+cu111
and gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu118.04)

floaters: increase sparsity / beta loss, or try a new loss?

I see a lot of floaters in Tanks and Temples (in particular the playground and even the M60 scene). Do you recommend trying to increase the sparsity prior / beta prior to encourage more binary opacity and to try to smooth the background / foreground transition?

Or would trying some other loss be applicable? E.g. something like the "distortion loss" in mipnerf 360 (see section 4 https://arxiv.org/pdf/2111.12077.pdf )

I've tried playing with the scene scale and foreground radius a bit and that can help a little but the floaters seem to be consistent where there is not much camera coverage. (In the playground scene, some of the trees almost always escape the background).

Alternatively, could the sparsity loss just be on a different schedule / learning rate ramp?

dumb idea but perhaps the regularizers should dominate over the color-based loss if voxel-to-camera distance is high?

Compare to DirectVoxGO

I just noticed a new, fairly similar method to yours, DirectVoxGo. I was wondering if you could perform some comparisons/comments on their technique vs yours? Thanks!

Werid viewing scope on custom dataset

Thanks for the great work. When I tested the model on Clevr data constructed via Blender, the test results only had the central regions with a circular contour. Does anyone have any insight on this? I rendered the Clevr data using the script from the NeRF repo and didn't change the code in svox2 except for the config file (e.g., resolution).

Real test images (top) and corresponding rendered results(bottom):
image

Error during Voxel Optimization: ‘NoneType’ object has no attribute ‘__dict__’

Your work is amazing!!! But I’m having some truble to reproduce the result.
I installed svox2 using pip install . as said in the ReadMe.

(plenoxel) nerf2themoon@pop-os:~/plenoxel/svox2$ pip install .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing /home/nerf2themoon/plenoxel/svox2
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
Building wheels for collected packages: svox2
  Building wheel for svox2 (setup.py) ... done
  Created wheel for svox2: filename=svox2-0.0.1.dev0+sphtexcub.lincolor.fast-cp38-cp38-linux_x86_64.whl size=3452740 sha256=afa3baeab9cee4640d23f94966a0de8aff7fd5a96b306974b6cdbbea4edae146
  Stored in directory: /tmp/pip-ephem-wheel-cache-eoqumo0a/wheels/57/94/9f/8f7f818790c817e36f6a19ba5a5ee388feb9f3ff8b5cb880a9
Successfully built svox2
Installing collected packages: svox2
  Attempting uninstall: svox2
    Found existing installation: svox2 0.0.1.dev0+sphtexcub.lincolor.fast
    Uninstalling svox2-0.0.1.dev0+sphtexcub.lincolor.fast:
      Successfully uninstalled svox2-0.0.1.dev0+sphtexcub.lincolor.fast
Successfully installed svox2-0.0.1.dev0+sphtexcub.lincolor.fast

but it crashed when excuting lauch.sh, emitting logs below:

Launching experiment fern
GPU 0
EXTRA /home/nerf2themoon/plenoxel/svox2/data/nerf_llff_data/fern -c configs/llff.json
CKPT ckpt/fern
LOGFILE ckpt/fern/log
/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/utils.py:39: UserWarning: CUDA extension svox2.csrc could not be loaded! Operations will be slow.
Please do not import svox in the svox2 source directory.
  warn("CUDA extension svox2.csrc could not be loaded! " +
Detected LLFF dataset
Using pre-scaled images from /home/nerf2themoon/plenoxel/svox2/data/nerf_llff_data/fern/images_4
Loaded LLFF data /home/nerf2themoon/plenoxel/svox2/data/nerf_llff_data/fern 16.985296178676084 80.00209740336334
recentered (3, 4)
[1.3765233 5.48648  ]
Overriding offset 250-> 250
dmin = 1.376523, dmax = 5.486480, invz = 0, offset = 250
100%|█████████████████████████████████████████████████████████| 17/17 [00:00<00:00, 26.84it/s]
z_bounds from LLFF: [1.3765232563018799, 5.486480236053467] (not used)
scene_radius [1.496031746031746, 1.6613756613756614, 1.0]
 Generating rays, scaling factor 1
/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at  /opt/conda/conda-bld/pytorch_1639180588308/work/aten/src/ATen/native/TensorShape.cpp:2157.)
  return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
Detected LLFF dataset
Using pre-scaled images from /home/nerf2themoon/plenoxel/svox2/data/nerf_llff_data/fern/images_4
Loaded LLFF data /home/nerf2themoon/plenoxel/svox2/data/nerf_llff_data/fern 16.985296178676084 80.00209740336334
recentered (3, 4)
[1.3765233 5.48648  ]
Overriding offset 250-> 250
dmin = 1.376523, dmax = 5.486480, invz = 0, offset = 250
100%|███████████████████████████████████████████████████████████| 3/3 [00:00<00:00, 28.04it/s]
100%|███████████████████████████████████████████████████| 120/120 [00:00<00:00, 153309.92it/s]
z_bounds from LLFF: [1.3765232563018799, 5.486480236053467] (not used)
scene_radius [1.496031746031746, 1.6613756613756614, 1.0]
Morton code requires a cube grid of power-of-2 size, ignoring...
Render options RenderOptions(backend='cuvol', background_brightness=0.5, step_size=0.5, sigma_thresh=1e-08, stop_thresh=1e-07, last_sample_opaque=False, near_clip=0.0, use_spheric_clip=False, random_sigma_std=0.0, random_sigma_std_background=0.0)
 Selecting random rays
Eval step
  0%|                                                                   | 0/3 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "opt.py", line 471, in <module>
    eval_step()
  File "opt.py", line 406, in eval_step
    rgb_pred_test = grid.volume_render_image(cam, use_kernel=True)
  File "/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/svox2.py", line 1159, in volume_render_image
    if self.basis_type != BASIS_TYPE_MLP and imrend_fn_name in _C.__dict__ and not torch.is_grad_enabled() and not return_raylen:
AttributeError: 'NoneType' object has no attribute '__dict__'
DETACH

Also, I tried install it using setup.py, here’s the output:

setup.py:25: UserWarning: The environment variable `CUB_HOME` was not found.Installation will fail if your system CUDA toolkit version is less than 11.NVIDIA CUB can be downloaded from `https://github.com/NVIDIA/cub/releases`. You can unpack it to a location of your choice and set the environment variable `CUB_HOME` to the folder containing the `CMakeListst.txt` file.
  warnings.warn(
running install
running bdist_egg
running egg_info
creating svox2.egg-info
writing svox2.egg-info/PKG-INFO
writing dependency_links to svox2.egg-info/dependency_links.txt
writing top-level names to svox2.egg-info/top_level.txt
writing manifest file 'svox2.egg-info/SOURCES.txt'
package init file 'svox2/csrc/__init__.py' not found (or not a regular file)
reading manifest file 'svox2.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'svox2.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/svox2
copying svox2/svox2.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/__init__.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/version.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/utils.py -> build/lib.linux-x86_64-3.8/svox2
copying svox2/defs.py -> build/lib.linux-x86_64-3.8/svox2
running build_ext
building 'svox2.csrc' extension
creating /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8
creating /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2
creating /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc
Emitting ninja build file /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/build.ninja...
Compiling objects...
Using envvar MAX_JOBS (4) as the number of workers...
[1/8] c++ -MMD -MF /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o.d -pthread -B /home/nerf2themoon/anaconda3/envs/plenoxel/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/svox2.cpp -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
[2/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/render_lerp_kernel_cuvol.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

[3/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/misc_kernel.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/misc_kernel.cu(57): warning: function "<unnamed>::device::accel_linf_dist_transform_kernel" was declared but never referenced

[4/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/svox2_kernel.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
[5/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/render_lerp_kernel_nvol.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/render_lerp_kernel_nvol.cu(112): warning: parameter "color_cache" was declared but never referenced

[6/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/render_svox1_kernel.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

[7/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/loss_kernel.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(582): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(633): warning: parameter "opt" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include/render_util.cuh(634): warning: parameter "ray_id" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/loss_kernel.cu(23): warning: parameter "ndc_coeffx" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/loss_kernel.cu(24): warning: parameter "ndc_coeffy" was declared but never referenced

/home/nerf2themoon/plenoxel/svox2/svox2/csrc/loss_kernel.cu(25): warning: parameter "z" was declared but never referenced

[8/8] /usr/bin/nvcc  -I/home/nerf2themoon/plenoxel/svox2/svox2/csrc/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/TH -I/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/include/THC -I/home/nerf2themoon/anaconda3/envs/plenoxel/include/python3.8 -c -c /home/nerf2themoon/plenoxel/svox2/svox2/csrc/optim_kernel.cu -o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=csrc -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_86,code=compute_86 -gencode=arch=compute_86,code=sm_86 -std=c++14
g++ -pthread -shared -B /home/nerf2themoon/anaconda3/envs/plenoxel/compiler_compat -L/home/nerf2themoon/anaconda3/envs/plenoxel/lib -Wl,-rpath=/home/nerf2themoon/anaconda3/envs/plenoxel/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/svox2.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/svox2_kernel.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_cuvol.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/render_lerp_kernel_nvol.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/render_svox1_kernel.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/misc_kernel.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/loss_kernel.o /home/nerf2themoon/plenoxel/svox2/build/temp.linux-x86_64-3.8/svox2/csrc/optim_kernel.o -L/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/torch/lib -L/usr/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-3.8/svox2/csrc.cpython-38-x86_64-linux-gnu.so
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/svox2
copying build/lib.linux-x86_64-3.8/svox2/svox2.py -> build/bdist.linux-x86_64/egg/svox2
copying build/lib.linux-x86_64-3.8/svox2/__init__.py -> build/bdist.linux-x86_64/egg/svox2
copying build/lib.linux-x86_64-3.8/svox2/version.py -> build/bdist.linux-x86_64/egg/svox2
copying build/lib.linux-x86_64-3.8/svox2/csrc.cpython-38-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/svox2
copying build/lib.linux-x86_64-3.8/svox2/utils.py -> build/bdist.linux-x86_64/egg/svox2
copying build/lib.linux-x86_64-3.8/svox2/defs.py -> build/bdist.linux-x86_64/egg/svox2
byte-compiling build/bdist.linux-x86_64/egg/svox2/svox2.py to svox2.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/svox2/__init__.py to __init__.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/svox2/version.py to version.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/svox2/utils.py to utils.cpython-38.pyc
byte-compiling build/bdist.linux-x86_64/egg/svox2/defs.py to defs.cpython-38.pyc
creating stub loader for svox2/csrc.cpython-38-x86_64-linux-gnu.so
byte-compiling build/bdist.linux-x86_64/egg/svox2/csrc.py to csrc.cpython-38.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying svox2.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying svox2.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying svox2.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying svox2.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying svox2.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/svox2-0.0.1.dev0+sphtexcub.lincolor.fast-py3.8-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing svox2-0.0.1.dev0+sphtexcub.lincolor.fast-py3.8-linux-x86_64.egg
removing '/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2-0.0.1.dev0+sphtexcub.lincolor.fast-py3.8-linux-x86_64.egg' (and everything under it)
creating /home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2-0.0.1.dev0+sphtexcub.lincolor.fast-py3.8-linux-x86_64.egg
Extracting svox2-0.0.1.dev0+sphtexcub.lincolor.fast-py3.8-linux-x86_64.egg to /home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages
svox2 0.0.1.dev0+sphtexcub.lincolor.fast is already the active version in easy-install.pth

Installed /home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2-0.0.1.dev0+sphtexcub.lincolor.fast-py3.8-linux-x86_64.egg
Processing dependencies for svox2==0.0.1.dev0+sphtexcub.lincolor.fast
Finished processing dependencies for svox2==0.0.1.dev0+sphtexcub.lincolor.fast

I tried to install jaxlib as mentioned is other issues, install the latest CUDA toolkit and cuDNN, as well as install ninja, but none of them solved my problem.
I also checked svox2.py, it seems that svox2 could not load C extentions correctly, since the ‘csrc.cpython-38-x86_64-linux-gnu.so’ emitted an exception when I tried to import it:

In [2]: import svox2.csrc
/home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/utils.py:39: UserWarning: CUDA extension svox2.csrc could not be loaded! Operations will be slow.
Please do not import svox in the svox2 source directory.
  warn("CUDA extension svox2.csrc could not be loaded! " +
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Input In [2], in <module>
----> 1 import svox2.csrc

ImportError: /home/nerf2themoon/anaconda3/envs/plenoxel/lib/python3.8/site-packages/svox2/csrc.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

I’m using a Nvidia RTX 3080Ti on pop_os 21.10, cuda version 11.3. Is anybody kind enough to point out how to solve this problem? Thanks in advance!

Running the technique on Windows

Hello everyone, thanks for releasing this wonderful project! Is there any way to make it run on WIndows? I have been having problems with the CUDA

Study of voxel opacity? (density)

The paper focuses on visual reconstruction metrics... has there been any study of depth / voxel opacity yet? (e.g. on Tanks and Temples?) I could be wrong, but it looks like there is not yet any affordance for returning / extracting / debugging opacity from the CUDA impl:

float sigma = trilerp_cuvol_one(

So perhaps there has been no such study yet.

Dumb question: do the pytorch checkpoints still work if one "trains" using the CUDA kernels but "tests" using the pytorch _volume_render_gradcheck* code paths? (and how synchronized are the pytorch codepaths with the CUDA kernels)?

Thanks for the amazing paper and for releasing the results so quickly!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.