microsoft / microsoft/TRELLIS.2

Cannot install CuMesh

Open
#106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
11.3k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I try to install the Trellis.2 in my Ubuntu 24.04 LTS with RTX 4090, CUDA version 12.8. But error occured on installing CuMesh.

Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Processing /tmp/extensions/CuMesh
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: torch>=2.4.0 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from cumesh==0.0.1) (2.10.0)
Requirement already satisfied: tqdm in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from cumesh==0.0.1) (4.67.3)
Requirement already satisfied: filelock in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (3.20.3)
Requirement already satisfied: typing-extensions>=4.10.0 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (4.15.0)
Requirement already satisfied: sympy>=1.13.3 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (1.14.0)
Requirement already satisfied: networkx>=2.5.1 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (3.4.2)
Requirement already satisfied: jinja2 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (3.1.6)
Requirement already satisfied: fsspec>=0.8.5 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (2026.2.0)
Requirement already satisfied: cuda-bindings==12.9.4 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.9.4)
Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.8.93 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.8.93)
Requirement already satisfied: nvidia-cuda-runtime-cu12==12.8.90 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.8.90)
Requirement already satisfied: nvidia-cuda-cupti-cu12==12.8.90 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.8.90)
Requirement already satisfied: nvidia-cudnn-cu12==9.10.2.21 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (9.10.2.21)
Requirement already satisfied: nvidia-cublas-cu12==12.8.4.1 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.8.4.1)
Requirement already satisfied: nvidia-cufft-cu12==11.3.3.83 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (11.3.3.83)
Requirement already satisfied: nvidia-curand-cu12==10.3.9.90 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (10.3.9.90)
Requirement already satisfied: nvidia-cusolver-cu12==11.7.3.90 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (11.7.3.90)
Requirement already satisfied: nvidia-cusparse-cu12==12.5.8.93 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.5.8.93)
Requirement already satisfied: nvidia-cusparselt-cu12==0.7.1 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (0.7.1)
Requirement already satisfied: nvidia-nccl-cu12==2.27.5 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (2.27.5)
Requirement already satisfied: nvidia-nvshmem-cu12==3.4.5 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (3.4.5)
Requirement already satisfied: nvidia-nvtx-cu12==12.8.90 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.8.90)
Requirement already satisfied: nvidia-nvjitlink-cu12==12.8.93 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (12.8.93)
Requirement already satisfied: nvidia-cufile-cu12==1.13.1.3 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (1.13.1.3)
Requirement already satisfied: triton==3.6.0 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from torch>=2.4.0->cumesh==0.0.1) (3.6.0)
Requirement already satisfied: cuda-pathfinder~=1.1 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from cuda-bindings==12.9.4->torch>=2.4.0->cumesh==0.0.1) (1.3.3)
Requirement already satisfied: mpmath<1.4,>=1.1.0 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from sympy>=1.13.3->torch>=2.4.0->cumesh==0.0.1) (1.3.0)
Requirement already satisfied: MarkupSafe>=2.0 in /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages (from jinja2->torch>=2.4.0->cumesh==0.0.1) (3.0.3)
Building wheels for collected packages: cumesh
Building wheel for cumesh (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for cumesh (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [251 lines of output]
/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: project.license as a TOML table is deprecated
!!

          ********************************************************************************
          Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
  
          By 2027-Feb-18, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    corresp(dist, value, root_dir)
  running bdist_wheel
  running build
  running build_py
  copying cumesh/remeshing.py -> build/lib.linux-x86_64-cpython-310/cumesh
  copying cumesh/__init__.py -> build/lib.linux-x86_64-cpython-310/cumesh
  copying cumesh/cumesh.py -> build/lib.linux-x86_64-cpython-310/cumesh
  copying cumesh/xatlas.py -> build/lib.linux-x86_64-cpython-310/cumesh
  copying cumesh/bvh.py -> build/lib.linux-x86_64-cpython-310/cumesh
  running egg_info
  writing cumesh.egg-info/PKG-INFO
  writing dependency_links to cumesh.egg-info/dependency_links.txt
  writing requirements to cumesh.egg-info/requires.txt
  writing top-level names to cumesh.egg-info/top_level.txt
  reading manifest file 'cumesh.egg-info/SOURCES.txt'
  adding license file 'LICENSE'
  writing manifest file 'cumesh.egg-info/SOURCES.txt'
  running build_ext
  W0209 15:42:18.309000 112471 /mnt/miniconda/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/utils/cpp_extension.py:535] There are no g++ version bounds defined for CUDA version 12.8
  building 'cumesh._C' extension
  [1/12] c++ -MMD -MF /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/ext.o.d -pthread -B /home/krystal/miniconda3/envs/trellis2/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/krystal/miniconda3/envs/trellis2/include -fPIC -O2 -isystem /home/krystal/miniconda3/envs/trellis2/include -fPIC -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/ext.cpp -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/ext.o -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C
  In file included from /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/Exceptions.h:13,
                   from /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/python.h:12,
                   from /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/extension.h:10,
                   from /tmp/extensions/CuMesh/src/ext.cpp:1:
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<cumesh::CuMesh>’:
  /tmp/extensions/CuMesh/src/ext.cpp:16:43:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2042:7: warning: ‘pybind11::class_<cumesh::CuMesh>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
   2042 | class class_ : public detail::generic_type {
        |       ^~~~~~
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘pybind11::class_< <template-parameter-1-1>, <template-parameter-1-2> >::class_(pybind11::handle, const char*, const Extra& ...) [with Extra = {}; type_ = cumesh::CuMesh; options = {}]’:
  /tmp/extensions/CuMesh/src/ext.cpp:16:43:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2140:28: warning: ‘pybind11::class_<cumesh::CuMesh>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>’ declared with greater visibility than the type of its field ‘pybind11::class_<cumesh::CuMesh>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>::<record capture>’ [-Wattributes]
   2140 |             with_internals([&](internals &internals) {
        |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   2141 |                 auto &instances = record.module_local ? get_local_internals().registered_types_cpp
        |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2142 |                                                       : internals.registered_types_cpp;
        |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2143 |                 instances[std::type_index(typeid(type_alias))]
        |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2144 |                     = instances[std::type_index(typeid(type))];
        |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2145 |             });
        |             ~
  [2/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/cumesh.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/cumesh.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/cumesh.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [3/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/shared.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/shared.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/shared.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [4/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/io.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/io.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/io.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [5/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/geometry.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/geometry.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/geometry.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [6/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/remesh/svox2vert.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/remesh/svox2vert.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/remesh/svox2vert.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [7/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/simplify.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/simplify.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/simplify.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [8/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/remesh/simple_dual_contour.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/remesh/simple_dual_contour.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/remesh/simple_dual_contour.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [9/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/hash/hash.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/hash/hash.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/hash/hash.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [10/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/connectivity.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/connectivity.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/connectivity.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [11/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/clean_up.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/clean_up.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/clean_up.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  [12/12] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/atlas.o.d -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/src/atlas.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/atlas.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'"'"'' -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -gencode=arch=compute_89,code=sm_89
  g++ -pthread -B /home/krystal/miniconda3/envs/trellis2/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/krystal/miniconda3/envs/trellis2/include -fPIC -O2 -isystem /home/krystal/miniconda3/envs/trellis2/include -shared /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/atlas.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/clean_up.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/connectivity.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/cumesh.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/ext.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/geometry.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/hash/hash.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/io.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/remesh/simple_dual_contour.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/remesh/svox2vert.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/shared.o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/src/simplify.o -L/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/lib -L/usr/local/cuda-12/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda -o build/lib.linux-x86_64-cpython-310/cumesh/_C.cpython-310-x86_64-linux-gnu.so
  building 'cumesh._cubvh' extension
  [1/2] /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/api_gpu.o.d -I/tmp/extensions/CuMesh/third_party/cubvh/include -I/tmp/extensions/CuMesh/third_party/cubvh/third_party/eigen -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/third_party/cubvh/src/api_gpu.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/api_gpu.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'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_cubvh -gencode=arch=compute_89,code=sm_89
  FAILED: [code=2] /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/api_gpu.o
  /usr/local/cuda-12/bin/nvcc --generate-dependencies-with-compile --dependency-output /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/api_gpu.o.d -I/tmp/extensions/CuMesh/third_party/cubvh/include -I/tmp/extensions/CuMesh/third_party/cubvh/third_party/eigen -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/third_party/cubvh/src/api_gpu.cu -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/api_gpu.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'"'"'' -O3 -std=c++17 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_HALF2_OPERATORS__ -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_cubvh -gencode=arch=compute_89,code=sm_89
  /tmp/extensions/CuMesh/third_party/cubvh/include/gpu/spcumc.cuh(684): error: __host__ or __device__ annotation on lambda requires --extended-lambda nvcc flag
                               corner_counts_ptr = thrust::raw_pointer_cast(corner_counts.data())] __attribute__((device)) (int i) {
                                                                                                                           ^
  
  /tmp/extensions/CuMesh/third_party/cubvh/include/gpu/spcumc.cuh(707): error: __host__ or __device__ annotation on lambda requires --extended-lambda nvcc flag
                [] __attribute__((device)) (const CornerData& a, const CornerData& b) {
                                           ^
  
  /tmp/extensions/CuMesh/third_party/cubvh/include/gpu/spcumc.cuh(728): error: __host__ or __device__ annotation on lambda requires --extended-lambda nvcc flag
                               corner_sums_ptr = thrust::raw_pointer_cast(corner_sums.data())] __attribute__((device)) (int i) {
                                                                                                                       ^
  
  3 errors detected in the compilation of "/tmp/extensions/CuMesh/third_party/cubvh/src/api_gpu.cu".
  [2/2] c++ -MMD -MF /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/bindings.o.d -pthread -B /home/krystal/miniconda3/envs/trellis2/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/krystal/miniconda3/envs/trellis2/include -fPIC -O2 -isystem /home/krystal/miniconda3/envs/trellis2/include -fPIC -I/tmp/extensions/CuMesh/third_party/cubvh/include -I/tmp/extensions/CuMesh/third_party/cubvh/third_party/eigen -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include -I/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/usr/local/cuda-12/include -I/home/krystal/miniconda3/envs/trellis2/include/python3.10 -c -c /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp -o /tmp/extensions/CuMesh/build/temp.linux-x86_64-cpython-310/third_party/cubvh/src/bindings.o -O3 -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_cubvh
  In file included from /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/api_cpu.h:9,
                   from /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:8:
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h: In function ‘std::pair<std::vector<cumesh::cubvh::cpu::V3f>, std::vector<cumesh::cubvh::cpu::Tri> > cumesh::cubvh::cpu::sparse_marching_cubes(const int*, const float*, int, float, bool)’:
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:427:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    427 |                 if (v[0] < iso) ci |= 1;  if (v[1] < iso) ci |= 2;
        |                 ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:427:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    427 |                 if (v[0] < iso) ci |= 1;  if (v[1] < iso) ci |= 2;
        |                                           ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:428:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    428 |                 if (v[2] < iso) ci |= 4;  if (v[3] < iso) ci |= 8;
        |                 ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:428:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    428 |                 if (v[2] < iso) ci |= 4;  if (v[3] < iso) ci |= 8;
        |                                           ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:429:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    429 |                 if (v[4] < iso) ci |= 16; if (v[5] < iso) ci |= 32;
        |                 ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:429:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    429 |                 if (v[4] < iso) ci |= 16; if (v[5] < iso) ci |= 32;
        |                                           ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:430:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    430 |                 if (v[6] < iso) ci |= 64; if (v[7] < iso) ci |= 128;
        |                 ^~
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/spmc.h:430:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    430 |                 if (v[6] < iso) ci |= 64; if (v[7] < iso) ci |= 128;
        |                                           ^~
  In file included from /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/Exceptions.h:13,
                   from /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/python.h:12,
                   from /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/torch/extension.h:10,
                   from /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:2:
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<cumesh::cubvh::cuBVH>’:
  /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:17:29:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2042:7: warning: ‘pybind11::class_<cumesh::cubvh::cuBVH>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
   2042 | class class_ : public detail::generic_type {
        |       ^~~~~~
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<cumesh::cubvh::cuHashTable>’:
  /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:33:41:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2042:7: warning: ‘pybind11::class_<cumesh::cubvh::cuHashTable>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘class pybind11::class_<cumesh::cubvh::HashTable>’:
  /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:76:37:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2042:7: warning: ‘pybind11::class_<cumesh::cubvh::HashTable>’ declared with greater visibility than its base ‘pybind11::detail::generic_type’ [-Wattributes]
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘pybind11::class_< <template-parameter-1-1>, <template-parameter-1-2> >::class_(pybind11::handle, const char*, const Extra& ...) [with Extra = {}; type_ = cumesh::cubvh::cuBVH; options = {}]’:
  /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:17:29:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2140:28: warning: ‘pybind11::class_<cumesh::cubvh::cuBVH>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>’ declared with greater visibility than the type of its field ‘pybind11::class_<cumesh::cubvh::cuBVH>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>::<record capture>’ [-Wattributes]
   2140 |             with_internals([&](internals &internals) {
        |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   2141 |                 auto &instances = record.module_local ? get_local_internals().registered_types_cpp
        |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2142 |                                                       : internals.registered_types_cpp;
        |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2143 |                 instances[std::type_index(typeid(type_alias))]
        |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2144 |                     = instances[std::type_index(typeid(type))];
        |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2145 |             });
        |             ~
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘pybind11::class_< <template-parameter-1-1>, <template-parameter-1-2> >::class_(pybind11::handle, const char*, const Extra& ...) [with Extra = {}; type_ = cumesh::cubvh::cuHashTable; options = {}]’:
  /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:33:41:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2140:28: warning: ‘pybind11::class_<cumesh::cubvh::cuHashTable>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>’ declared with greater visibility than the type of its field ‘pybind11::class_<cumesh::cubvh::cuHashTable>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>::<record capture>’ [-Wattributes]
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h: In instantiation of ‘pybind11::class_< <template-parameter-1-1>, <template-parameter-1-2> >::class_(pybind11::handle, const char*, const Extra& ...) [with Extra = {}; type_ = cumesh::cubvh::HashTable; options = {}]’:
  /tmp/extensions/CuMesh/third_party/cubvh/src/bindings.cpp:76:37:   required from here
  /home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/include/pybind11/pybind11.h:2140:28: warning: ‘pybind11::class_<cumesh::cubvh::HashTable>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>’ declared with greater visibility than the type of its field ‘pybind11::class_<cumesh::cubvh::HashTable>::class_<>(pybind11::handle, const char*)::<lambda(pybind11::detail::internals&)>::<record capture>’ [-Wattributes]
  In file included from /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/api_cpu.h:11:
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h: In instantiation of ‘void cumesh::cubvh::cpu::qd::DecimatorT<T>::buildVertexQuadrics() [with T = float]’:
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:247:3:   required from ‘void cumesh::cubvh::cpu::qd::DecimatorT<T>::decimate(int) [with T = float]’
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/api_cpu.h:233:21:   required from here
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:424:42: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
    424 |                                 Vec3T<T> a = m.vertices[f[0]];
        |                                          ^
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:425:42: warning: variable ‘b’ set but not used [-Wunused-but-set-variable]
    425 |                                 Vec3T<T> b = m.vertices[f[1]];
        |                                          ^
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:426:42: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
    426 |                                 Vec3T<T> c = m.vertices[f[2]];
        |                                          ^
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h: In instantiation of ‘void cumesh::cubvh::cpu::qd::DecimatorT<T>::buildVertexQuadrics() [with T = double]’:
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:247:3:   required from ‘void cumesh::cubvh::cpu::qd::DecimatorT<T>::decimate(int) [with T = double]’
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/api_cpu.h:241:21:   required from here
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:424:42: warning: variable ‘a’ set but not used [-Wunused-but-set-variable]
    424 |                                 Vec3T<T> a = m.vertices[f[0]];
        |                                          ^
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:425:42: warning: variable ‘b’ set but not used [-Wunused-but-set-variable]
    425 |                                 Vec3T<T> b = m.vertices[f[1]];
        |                                          ^
  /tmp/extensions/CuMesh/third_party/cubvh/include/cpu/decimation.h:426:42: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
    426 |                                 Vec3T<T> c = m.vertices[f[2]];
        |                                          ^
  ninja: build stopped: subcommand failed.
  Traceback (most recent call last):
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2693, in _run_ninja_build
      subprocess.run(
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/subprocess.py", line 526, in run
      raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 2.
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
      main()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
      json_out["return_val"] = hook(**hook_input["kwargs"])
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
      return _build_backend().build_wheel(
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/build_meta.py", line 441, in build_wheel
      return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/build_meta.py", line 429, in _build
      return self._build_with_temp_dir(
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/build_meta.py", line 410, in _build_with_temp_dir
      self.run_setup()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/build_meta.py", line 317, in run_setup
      exec(code, locals())
    File "<string>", line 145, in <module>
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)  # type: ignore[return-value]
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 186, in setup
      return run_commands(dist)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
      dist.run_commands()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1000, in run_commands
      self.run_command(cmd)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
      self.run_command("build")
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
      self.distribution.run_command(command)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
      self.distribution.run_command(command)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in run_command
      super().run_command(command)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
      cmd_obj.run()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 97, in run
      _build_ext.run(self)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 367, in run
      self.build_extensions()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1143, in build_extensions
      build_ext.build_extensions(self)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 483, in build_extensions
      self._build_extensions_serial()
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 509, in _build_extensions_serial
      self.build_extension(ext)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 262, in build_extension
      _build_ext.build_extension(self, ext)
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 564, in build_extension
      objects = self.compiler.compile(
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 900, in unix_wrap_ninja_compile
      _write_ninja_file_and_compile_objects(
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2297, in _write_ninja_file_and_compile_objects
      _run_ninja_build(
    File "/home/krystal/miniconda3/envs/trellis2/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2710, in _run_ninja_build
      raise RuntimeError(message) from e
  RuntimeError: Error compiling objects for extension
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cumesh
Failed to build cumesh
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> cumesh

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the installation from the issue using Ubuntu 24.04, CUDA 12.8, Python 3.10, and the RTX 4090 setup. Start with the CuMesh build configuration and the compiler invocation for /tmp/extensions/CuMesh/src/ext.cpp and src/cumesh.cu, then inspect the complete build output beyond the truncated log. Done means CuMesh builds and installs successfully in the Trellis.2 environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.