Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on jetson orin nx #1928

Open
Kaivalya192 opened this issue Dec 22, 2024 · 0 comments
Open

Installing on jetson orin nx #1928

Kaivalya192 opened this issue Dec 22, 2024 · 0 comments

Comments

@Kaivalya192
Copy link

Dear Developers,

I am working on jetson orin nx 16 gb and want to install pytorch for arm architecture

Environment:-

  • Ubuntu 22.04
  • python 3.10
  • pytorch (specific for jetson) 2.5.0
  • gcc/g++ : 10

I tried to build from source and followed following steps:-

  1. git clone https://github.com/facebookresearch/pytorch3d.git
  2. cd pytorch3d && pip install -e .

but i found errors like this

ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "/home/sastra/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2104, in _run_ninja_build
    subprocess.run(
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/subprocess.py", line 526, 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 "/home/sastra/pytorch3d/setup.py", line 144, in <module>
    setup(
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
    return distutils.core.setup(**attrs)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 184, in setup
    return run_commands(dist)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
    dist.run_commands()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 970, in run_commands
    self.run_command(cmd)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/dist.py", line 945, in run_command
    super().run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
    cmd_obj.run()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/install.py", line 92, in run
    self.do_egg_install()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/install.py", line 144, in do_egg_install
    self.run_command('bdist_egg')
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
    self.distribution.run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/dist.py", line 945, in run_command
    super().run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
    cmd_obj.run()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 167, in run
    cmd = self.call_command('install_lib', warn_dir=False)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
    self.run_command(cmdname)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
    self.distribution.run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/dist.py", line 945, in run_command
    super().run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
    cmd_obj.run()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/install_lib.py", line 13, in run
    self.build()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/command/install_lib.py", line 110, in build
    self.run_command('build_ext')
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
    self.distribution.run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/dist.py", line 945, in run_command
    super().run_command(command)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
    cmd_obj.run()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 93, in run
    _build_ext.run(self)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
    self.build_extensions()
  File "/home/sastra/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 868, in build_extensions
    build_ext.build_extensions(self)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
    self._build_extensions_serial()
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
    self.build_extension(ext)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 254, in build_extension
    _build_ext.build_extension(self, ext)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/Cython/Distutils/build_ext.py", line 135, in build_extension
    super(build_ext, self).build_extension(ext)
  File "/opt/conda/envs/foundationpose_ros/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
    objects = self.compiler.compile(
  File "/home/sastra/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 681, in unix_wrap_ninja_compile
    _write_ninja_file_and_compile_objects(
  File "/home/sastra/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1784, in _write_ninja_file_and_compile_objects
    _run_ninja_build(
  File "/home/sastra/.local/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2120, in _run_ninja_build
    raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

also in between this

    /usr/local/cuda-12.6/include/cusparse.h:254:20: note: declared here
      254 | struct pruneInfo* pruneInfo_t CUSPARSE_DEPRECATED_TYPE;
          |                    ^~~~~~~~~~~
    /usr/local/cuda-12.6/include/cusparse.h:4896:368: warning: ‘pruneInfo_t’ is deprecated: The type will be removed in the next major release [-Wdeprecated-declarations]
     4896 | cusparseDpruneCsr2csrByPercentage(cusparseHandle_t         handle,
          |                                                                                                                                                                                                                                                                                                                                                                                

outputs

    Compiling objects...
    Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
    [1/67] /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    FAILED: /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.o
    /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/blending/sigmoid_alpha_blend.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
    compilation terminated.
    nvcc fatal   : Failed to preprocess host compiler properties.
    [2/67] /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    FAILED: /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.o
    /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/norm_weighted_sum.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
    compilation terminated.
    nvcc fatal   : Failed to preprocess host compiler properties.
    [3/67] /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    FAILED: /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.o
    /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/ball_query/ball_query.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
    compilation terminated.
    nvcc fatal   : Failed to preprocess host compiler properties.
    [4/67] /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    FAILED: /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.o
    /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/alpha_composite.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
    compilation terminated.
    nvcc fatal   : Failed to preprocess host compiler properties.
    [5/67] /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    FAILED: /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.o
    /usr/local/cuda-12.6/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.o.d -DWITH_CUDA -DTHRUST_IGNORE_CUB_VERSION_CHECK -I/home/sastra/pytorch3d/pytorch3d/csrc -I/opt/conda/envs/foundationpose_ros/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/TH -I/home/sastra/.local/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda-12.6/include -I/usr/include/python3.10 -c -c /home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.cu -o /home/sastra/pytorch3d/build/temp.linux-aarch64-3.10/home/sastra/pytorch3d/pytorch3d/csrc/compositing/weighted_sum.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'"'"'' -DCUDA_HAS_FP16=1 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ -std=c++17 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1016"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=1 -gencode=arch=compute_87,code=sm_87
    gcc: fatal error: cannot execute 'cc1plus': execvp: No such file or directory
    compilation terminated.
    nvcc fatal   : Failed to preprocess host compiler properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant