└──╼ #python setup.py bdist_wheel
running bdist_wheel
running build
running build_py
creating build/lib.linux-aarch64-cpython-310/npu_ops_transformer_ext
copying npu_ops_transformer_ext/ops.py -> build/lib.linux-aarch64-cpython-310/npu_ops_transformer_ext
copying npu_ops_transformer_ext/__init__.py -> build/lib.linux-aarch64-cpython-310/npu_ops_transformer_ext
running build_ext
-- The C compiler identification is GNU 10.3.1
-- The CXX compiler identification is GNU 10.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build torch ops: ON
-- /usr/local/Ascend/ascend-toolkit/latest
-- ASCEND_HOME = /usr/local/Ascend/ascend-toolkit/latest
-- BISHENG = /usr/local/Ascend/ascend-toolkit/latest/compiler/ccec_compiler/bin/bisheng
-- Found Python3: /root/miniconda3/envs/py310/bin/python3.10 (found version "3.10.19") found components: Interpreter Development Development.Module Development.Embed
-- Python3_EXECUTABLE = /root/miniconda3/envs/py310/bin/python3.10
-- Python3_INCLUDE_DIRS = /root/miniconda3/envs/py310/include/python3.10
-- Python3_LIBRARIES = /root/miniconda3/envs/py310/lib/libpython3.10.so
CMake Warning at /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:22 (message):
static library kineto_LIBRARY-NOTFOUND not found.
Call Stack (most recent call first):
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:121 (append_torchlib_if_found)
CMakeLists.txt:67 (find_package)
-- Found Torch: /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/lib/libtorch.so
-- Torch_DIR =
-- Torch_LIBRARIES = torch;torch_library;/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/lib/libc10.so
-- Torch_INCLUDES = /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include;/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/torch/csrc/api/include
-- TORCH_NPU_PATH = /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch_npu
-- TORCH_NPU_INCLUDE_DIR = /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch_npu/include
-- TORCH_NPU_LIB_DIR = /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch_npu/lib
-- Building Torch Ops project...
-- Scanning attention directory ...
-- Scanning ffn directory ...
-- Scanning gmm directory ...
-- Scanning mc2 directory ...
-- Scanning moe directory ...
-- Scanning posembedding directory ...
-- BUILD_TORCH_OPS ON in rope_matrix
-- Found operator: rope_matrix
-- Discovered torch operator targets: $<TARGET_OBJECTS:rope_matrix_objects>
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
PYTHON_EXECUTABLE
PYTHON_EXTENSION_USE_ABI3
PYTHON_INCLUDE_DIR
PYTHON_LIBRARIES
Py_LIMITED_API_VERSION
-- Build files have been written to: /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/npu_ops_transformer_ext/build/temp.linux-aarch64-cpython-310/npu_ops_transformer_ext._C
[ 33%] Building CXX object npu_ops_transformer_ext/csrc/rope_matrix/CMakeFiles/rope_matrix_objects.dir/torch_interface.cpp.o
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:21:
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/op_kernel/rope_matrix.h:16:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul_intf.h:22:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul/matmul.h:21:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/matmul_policy.h:22:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/scheduler.h:24:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_intrablock.h:18:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_norm.h:19:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_norm_base.h:19:
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_base.h:140:28: error: class member cannot be redeclared
__aicore__ inline void Init(const __gm__ TCubeTiling* gmCubeTiling, TPipe* tpipe)
^
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_base.h:60:28: note: previous definition is here
__aicore__ inline void Init(const TCubeTiling *__restrict cubeTiling, TPipe *tpipe)
^
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:21:
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/op_kernel/rope_matrix.h:16:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul_intf.h:22:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul/matmul.h:21:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/matmul_policy.h:22:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/scheduler.h:25:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_mdl.h:19:
In file included from /usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_mdl_common.h:19:
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_mdl_base.h:79:28: error: class member cannot be redeclared
__aicore__ inline void Init(const __gm__ TCubeTiling* gmCubeTiling, TPipe* tpipe)
^
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/policy/../scheduler/base/scheduler_mdl_base.h:62:28: note: previous definition is here
__aicore__ inline void Init(const TCubeTiling *__restrict cubeTiling, TPipe *tpipe)
^
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:21:
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/op_kernel/rope_matrix.h:16:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul_intf.h:22:
/usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul/matmul.h:75:28: error: class member cannot be redeclared
__aicore__ inline void Init(const __gm__ TCubeTiling* gmCubeTiling, TPipe* tpipe = nullptr) {}
^
/usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul/matmul.h:68:28: note: previous definition is here
__aicore__ inline void Init(const TCubeTiling* __restrict cubeTiling, TPipe* tpipe = nullptr) {}
^
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:21:
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/op_kernel/rope_matrix.h:16:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul_intf.h:22:
In file included from /usr/local/Ascend/ascend-toolkit/latest/compiler/tikcpp/tikcfw/lib/matmul/matmul.h:385:
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/matmul_impl_base.h:87:28: error: class member cannot be redeclared
__aicore__ inline void Init(const __gm__ TCubeTiling* gmCubeTiling, TPipe* tpipe = nullptr);
^
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/matmul_impl_base.h:85:28: note: previous declaration is here
__aicore__ inline void Init(const TCubeTiling* __restrict cubeTiling, TPipe* tpipe = nullptr);
^
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/matmul_impl_base.h:389:105: error: redefinition of 'Init'
__aicore__ inline void MatmulImplBase<A_TYPE, B_TYPE, C_TYPE, BIAS_TYPE, MM_CFG, MM_CB, MATMUL_POLICY>::Init(
^
/usr/local/Ascend/ascend-toolkit/8.5.0.alpha001/compiler/tikcpp/tikcfw/lib/matmul/../../impl/matmul/matmul_impl_base.h:380:105: note: previous definition is here
__aicore__ inline void MatmulImplBase<A_TYPE, B_TYPE, C_TYPE, BIAS_TYPE, MM_CFG, MM_CB, MATMUL_POLICY>::Init(
^
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:11:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/ATen/Operators.h:22:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:19:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:10:
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: error: use of overloaded operator '<' is ambiguous (with operand types 'double' and 'c10::Half')
return f < limit::lowest() || f > limit::max();
~ ^ ~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::Half, double>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::Half, double>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, float)
return f < limit::lowest() || f > limit::max();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:93:10: error: no matching function for call to 'overflows'
return overflows<
^~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::Half, c10::complex<double>>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::Half, c10::complex<double>>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:36:52: note: candidate template ignored: requirement 'std::is_same_v<double, bool>' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<std::is_same_v<From, bool>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:45:1: note: candidate template ignored: requirement 'std::is_integral_v<double>' was not satisfied [with To = c10::Half, From = double]
overflows(From f, bool strict_unsigned = false) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:61:56: note: candidate template ignored: substitution failure [with To = c10::Half, From = double]
std::enable_if_t<std::is_floating_point_v<From>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:81:49: note: candidate template ignored: requirement 'is_complex<double>::value' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<is_complex<From>::value, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:96:7: error: no matching function for call to 'overflows'
overflows<
^~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:36:52: note: candidate template ignored: requirement 'std::is_same_v<double, bool>' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<std::is_same_v<From, bool>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:45:1: note: candidate template ignored: requirement 'std::is_integral_v<double>' was not satisfied [with To = c10::Half, From = double]
overflows(From f, bool strict_unsigned = false) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:61:56: note: candidate template ignored: substitution failure [with To = c10::Half, From = double]
std::enable_if_t<std::is_floating_point_v<From>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:81:49: note: candidate template ignored: requirement 'is_complex<double>::value' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<is_complex<From>::value, bool> overflows(
^
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:11:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/ATen/Operators.h:21:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/SymIntArrayRef.h:7:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/irange.h:5:
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: error: use of overloaded operator '<' is ambiguous (with operand types 'const long' and 'c10::Half')
return x < std::numeric_limits<Limit>::lowest();
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:134:10: note: in instantiation of function template specialization 'c10::less_than_lowest<c10::Half, long>' requested here
return less_than_lowest<Limit>(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:57:15: note: in instantiation of function template specialization 'c10::less_than_lowest<c10::Half, long>' requested here
return c10::less_than_lowest<To>(f) || greater_than_max<To>(f);
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::Half, long>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::Half, long>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, float)
return x < std::numeric_limits<Limit>::lowest();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: error: use of overloaded operator '>' is ambiguous (with operand types 'const long' and 'c10::Half')
return can_overflow && x > std::numeric_limits<Limit>::max();
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:57:42: note: in instantiation of function template specialization 'c10::greater_than_max<c10::Half, long>' requested here
return c10::less_than_lowest<To>(f) || greater_than_max<To>(f);
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::Half, long>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::Half, long>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, float)
return can_overflow && x > std::numeric_limits<Limit>::max();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: error: use of overloaded operator '>' is ambiguous (with operand types 'const unsigned long' and 'c10::Half')
return can_overflow && x > std::numeric_limits<Limit>::max();
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:57:42: note: in instantiation of function template specialization 'c10::greater_than_max<c10::Half, unsigned long>' requested here
return c10::less_than_lowest<To>(f) || greater_than_max<To>(f);
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::Half, unsigned long>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::Half, unsigned long>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, float)
return can_overflow && x > std::numeric_limits<Limit>::max();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned __int128)
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:11:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/ATen/Operators.h:22:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:19:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:10:
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: error: use of overloaded operator '<' is ambiguous (with operand types 'double' and 'c10::Half')
return f < limit::lowest() || f > limit::max();
~ ^ ~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::complex<c10::Half>, double>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::complex<c10::Half>, double>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, float)
return f < limit::lowest() || f > limit::max();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:71:12: note: built-in candidate operator<(double, unsigned __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:93:10: error: no matching function for call to 'overflows'
return overflows<
^~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::complex<c10::Half>, c10::complex<double>>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::complex<c10::Half>, c10::complex<double>>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:36:52: note: candidate template ignored: requirement 'std::is_same_v<double, bool>' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<std::is_same_v<From, bool>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:45:1: note: candidate template ignored: requirement 'std::is_integral_v<double>' was not satisfied [with To = c10::Half, From = double]
overflows(From f, bool strict_unsigned = false) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:61:56: note: candidate template ignored: substitution failure [with To = c10::Half, From = double]
std::enable_if_t<std::is_floating_point_v<From>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:81:49: note: candidate template ignored: requirement 'is_complex<double>::value' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<is_complex<From>::value, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:96:7: error: no matching function for call to 'overflows'
overflows<
^~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:36:52: note: candidate template ignored: requirement 'std::is_same_v<double, bool>' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<std::is_same_v<From, bool>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:45:1: note: candidate template ignored: requirement 'std::is_integral_v<double>' was not satisfied [with To = c10::Half, From = double]
overflows(From f, bool strict_unsigned = false) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:61:56: note: candidate template ignored: substitution failure [with To = c10::Half, From = double]
std::enable_if_t<std::is_floating_point_v<From>, bool> overflows(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:81:49: note: candidate template ignored: requirement 'is_complex<double>::value' was not satisfied [with To = c10::Half, From = double]
std::enable_if_t<is_complex<From>::value, bool> overflows(
^
In file included from /home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/posembedding/rope_matrix/torch_interface.cpp:11:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/ATen/Operators.h:21:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/SymIntArrayRef.h:7:
In file included from /root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/irange.h:5:
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: error: use of overloaded operator '<' is ambiguous (with operand types 'const long' and 'c10::Half')
return x < std::numeric_limits<Limit>::lowest();
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:134:10: note: in instantiation of function template specialization 'c10::less_than_lowest<c10::complex<c10::Half>, long>' requested here
return less_than_lowest<Limit>(
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:57:15: note: in instantiation of function template specialization 'c10::less_than_lowest<c10::complex<c10::Half>, long>' requested here
return c10::less_than_lowest<To>(f) || greater_than_max<To>(f);
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::complex<c10::Half>, long>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::complex<c10::Half>, long>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, float)
return x < std::numeric_limits<Limit>::lowest();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:95:12: note: built-in candidate operator<(long, unsigned __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: error: use of overloaded operator '>' is ambiguous (with operand types 'const long' and 'c10::Half')
return can_overflow && x > std::numeric_limits<Limit>::max();
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:57:42: note: in instantiation of function template specialization 'c10::greater_than_max<c10::complex<c10::Half>, long>' requested here
return c10::less_than_lowest<To>(f) || greater_than_max<To>(f);
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::complex<c10::Half>, long>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::complex<c10::Half>, long>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, float)
return can_overflow && x > std::numeric_limits<Limit>::max();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(long, unsigned __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: error: use of overloaded operator '>' is ambiguous (with operand types 'const unsigned long' and 'c10::Half')
return can_overflow && x > std::numeric_limits<Limit>::max();
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/overflows.h:57:42: note: in instantiation of function template specialization 'c10::greater_than_max<c10::complex<c10::Half>, unsigned long>' requested here
return c10::less_than_lowest<To>(f) || greater_than_max<To>(f);
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeCast.h:186:36: note: in instantiation of function template specialization 'c10::overflows<c10::complex<c10::Half>, unsigned long>' requested here
if (!std::is_same_v<To, bool> && overflows<To, From>(f)) {
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/core/Scalar.h:148:39: note: in instantiation of function template specialization 'c10::checked_convert<c10::complex<c10::Half>, unsigned long>' requested here
AT_FORALL_SCALAR_TYPES_WITH_COMPLEX(DEFINE_ACCESSOR)
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, float)
return can_overflow && x > std::numeric_limits<Limit>::max();
^
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, long double)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, __int128)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned int)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned long long)
/root/miniconda3/envs/py310/lib/python3.10/site-packages/torch/include/c10/util/TypeSafeSignMath.h:82:28: note: built-in candidate operator>(unsigned long, unsigned __int128)
17 errors generated.
gmake[2]: *** [npu_ops_transformer_ext/csrc/rope_matrix/CMakeFiles/rope_matrix_objects.dir/build.make:76: npu_ops_transformer_ext/csrc/rope_matrix/CMakeFiles/rope_matrix_objects.dir/torch_interface.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:126: npu_ops_transformer_ext/csrc/rope_matrix/CMakeFiles/rope_matrix_objects.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
Traceback (most recent call last):
File "/home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/npu_ops_transformer_ext/setup.py", line 119, in <module>
setup(
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/__init__.py", line 115, in setup
return distutils.core.setup(**attrs)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 186, in setup
return run_commands(dist)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 202, in run_commands
dist.run_commands()
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1002, in run_commands
self.run_command(cmd)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/dist.py", line 1102, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/command/bdist_wheel.py", line 370, in run
self.run_command("build")
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/dist.py", line 1102, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 357, in run_command
self.distribution.run_command(command)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/dist.py", line 1102, in run_command
super().run_command(command)
File "/root/miniconda3/envs/py310/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1021, in run_command
cmd_obj.run()
File "/home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/npu_ops_transformer_ext/setup.py", line 87, in run
self.build_cmake(ext)
File "/home/p84341448/h00515348/cann_open_source/ops-transformer-master/experimental/npu_ops_transformer_ext/setup.py", line 116, in build_cmake
subprocess.check_call(["cmake", "--build", "."] + build_args, cwd=build_temp)
File "/root/miniconda3/envs/py310/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j128']' returned non-zero exit status 2.