I'm having some strange cuda issue awq when trying to install on a machine with py3.10, cu118.
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [224 lines of output]
running develop
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
easy_install.initialize_options(self)
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
running egg_info
writing awq.egg-info/PKG-INFO
writing dependency_links to awq.egg-info/dependency_links.txt
writing requirements to awq.egg-info/requires.txt
writing top-level names to awq.egg-info/top_level.txt
reading manifest file 'awq.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'awq.egg-info/SOURCES.txt'
running build_ext
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/cpp_extension.py:398: UserWarning: There are no g++ version bounds defined for CUDA version 11.8
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'awq_inference_engine' extension
Emitting ninja build file /workspace/AutoAWQ/build/temp.linux-x86_64-cpython-310/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/1] /usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/TH -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/py3.10/include/python3.10 -c -c /workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu -o /workspace/AutoAWQ/build/temp.linux-x86_64-cpython-310/awq_cuda/quantization/gemm_cuda_gen.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 '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_inference_engine -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=sm_86 -gencode=arch=compute_90,code=compute_90 -gencode=arch=compute_90,code=sm_90
FAILED: /workspace/AutoAWQ/build/temp.linux-x86_64-cpython-310/awq_cuda/quantization/gemm_cuda_gen.o
/usr/local/cuda/bin/nvcc -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/torch/csrc/api/include -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/TH -I/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/THC -I/usr/local/cuda/include -I/root/miniconda3/envs/py3.10/include/python3.10 -c -c /workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu -o /workspace/AutoAWQ/build/temp.linux-x86_64-cpython-310/awq_cuda/quantization/gemm_cuda_gen.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 '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_inference_engine -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_70,code=sm_70 -gencode=arch=compute_75,code=sm_75 -gencode=arch=compute_80,code=sm_80 -gencode=arch=compute_86,code=sm_86 -gencode=arch=compute_90,code=compute_90 -gencode=arch=compute_90,code=sm_90
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(35): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(36): warning #177-D: variable "zeros_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(39): warning #177-D: variable "blockIdx_x" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(53): warning #177-D: variable "ld_zero_flag" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(228): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(229): warning #177-D: variable "zeros_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(233): warning #177-D: variable "blockIdx_x" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(247): warning #177-D: variable "ld_zero_flag" was declared but never referenced
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero
detected during:
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator==(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=size_t, one_sided=false, <unnamed>=0]"
(61): here
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator!=(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=size_t, one_sided=false, <unnamed>=0]"
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/c10/core/TensorImpl.h(77): here
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero
detected during:
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator==(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=std::size_t, one_sided=true, <unnamed>=0]"
(61): here
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator!=(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=std::size_t, one_sided=true, <unnamed>=0]"
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/ATen/core/qualified_name.h(73): here
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(22): warning #177-D: function "__pack_half2" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(35): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(36): warning #177-D: variable "zeros_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(39): warning #177-D: variable "blockIdx_x" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(53): warning #177-D: variable "ld_zero_flag" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(228): warning #177-D: variable "scaling_factors_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(229): warning #177-D: variable "zeros_shared" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(233): warning #177-D: variable "blockIdx_x" was declared but never referenced
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(247): warning #177-D: variable "ld_zero_flag" was declared but never referenced
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero
detected during:
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator==(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=size_t, one_sided=false, <unnamed>=0]"
(61): here
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator!=(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=size_t, one_sided=false, <unnamed>=0]"
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/c10/core/TensorImpl.h(77): here
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/c10/util/irange.h(54): warning #186-D: pointless comparison of unsigned integer with zero
detected during:
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator==(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=std::size_t, one_sided=true, <unnamed>=0]"
(61): here
instantiation of "__nv_bool c10::detail::integer_iterator<I, one_sided, <unnamed>>::operator!=(const c10::detail::integer_iterator<I, one_sided, <unnamed>> &) const [with I=std::size_t, one_sided=true, <unnamed>=0]"
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/include/ATen/core/qualified_name.h(73): here
/workspace/AutoAWQ/awq_cuda/quantization/gemm_cuda_gen.cu(22): warning #177-D: function "__pack_half2" was declared but never referenced
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 892; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 892; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 900; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 900; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 908; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 908; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 916; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 916; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 924; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 924; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 928; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 932; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 936; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 940; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 944; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 948; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 952; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 956; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 964; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 964; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 972; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 972; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 980; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 980; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 988; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 988; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 996; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 996; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1000; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1004; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1008; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1012; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1016; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1020; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1024; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1028; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1834; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1834; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1842; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1842; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1850; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1850; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1854; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1858; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1862; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1866; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1874; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1874; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1882; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1882; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1890; error : Feature 'ldmatrix' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1890; error : Modifier '.m8n8' requires .target sm_75 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1894; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1898; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1902; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas /tmp/tmpxft_00000313_00000000-10_gemm_cuda_gen.compute_70.ptx, line 1906; error : Feature '.m16n8k16' requires .target sm_80 or higher
ptxas fatal : Ptx assembly aborted due to errors
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1893, in _run_ninja_build
subprocess.run(
File "/root/miniconda3/envs/py3.10/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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/workspace/AutoAWQ/setup.py", line 41, in <module>
setup(
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/command/develop.py", line 111, in install_for_development
self.run_command('build_ext')
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 843, in build_extensions
build_ext.build_extensions(self)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 467, in build_extensions
self._build_extensions_serial()
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 493, in _build_extensions_serial
self.build_extension(ext)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/command/build_ext.py", line 246, in build_extension
_build_ext.build_extension(self, ext)
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/setuptools/_distutils/command/build_ext.py", line 548, in build_extension
objects = self.compiler.compile(
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 658, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1909, 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.