sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 360 forks source link

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

Open dadaphl opened 2 years ago

dadaphl commented 2 years ago

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)
sleeplessai commented 2 years ago

Same error occurred following the instructions.

miBaglai commented 2 years ago

I had the "The environment variable CUB_HOME was not found" error until I made the environment variable. Then I installed a few GBs of VS c++ libraries. Now I have compilation error:


 C:\Users\drumk\anaconda3\envs\plenoxel\lib\site-packages\torch\include\pybind11\cast.h(1429): 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

  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
Waffle1434 commented 2 years ago

I had the "The environment variable CUB_HOME was not found" error until I made the environment variable. Then I installed a few GBs of VS c++ libraries. Now I have compilation error:


 C:\Users\drumk\anaconda3\envs\plenoxel\lib\site-packages\torch\include\pybind11\cast.h(1429): 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

  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

I've just gotten this exact same error when trying to pip install . on Windows (#53 )

kravrolens commented 1 year ago

Got the same errors.

Edenlia commented 5 months ago

same errors