You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
|
Dear Developers,
I am working on jetson orin nx 16 gb and want to install pytorch for arm architecture
Environment:-
I tried to build from source and followed following steps:-
git clone https://github.com/facebookresearch/pytorch3d.git
cd pytorch3d && pip install -e .
but i found errors like this
also in between this
outputs
The text was updated successfully, but these errors were encountered: