Skip to content

Instantly share code, notes, and snippets.

@wasertech
Last active August 3, 2024 14:49
Show Gist options
  • Save wasertech/079fd42c873fbd7e9d0f4be0b92c75b4 to your computer and use it in GitHub Desktop.
Save wasertech/079fd42c873fbd7e9d0f4be0b92c75b4 to your computer and use it in GitHub Desktop.
python setup.py install > awq_kernel_build_source.logs 2>&1
Building AutoAWQ Kernels version 0.0.7+cu121
running install
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/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()
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: 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.
********************************************************************************
!!
self.initialize_options()
running bdist_egg
running egg_info
writing autoawq_kernels.egg-info/PKG-INFO
writing dependency_links to autoawq_kernels.egg-info/dependency_links.txt
writing requirements to autoawq_kernels.egg-info/requires.txt
writing top-level names to autoawq_kernels.egg-info/top_level.txt
reading manifest file 'autoawq_kernels.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'autoawq_kernels.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py:414: UserWarning: The detected CUDA version (12.5) has a minor version mismatch with the version that was used to compile PyTorch (12.1). Most likely this shouldn't be a problem.
warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py:424: UserWarning: There are no g++ version bounds defined for CUDA version 12.5
warnings.warn(f'There are no {compiler_name} version bounds defined for CUDA version {cuda_str_version}')
building 'awq_ext' extension
Emitting ninja build file /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
[1/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/position_embedding/pos_encoding_kernels.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/position_embedding/pos_encoding_kernels.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/position_embedding/pos_encoding_kernels.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/position_embedding/pos_encoding_kernels.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/position_embedding/pos_encoding_kernels.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/position_embedding/pos_encoding_kernels.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/position_embedding/pos_encoding_kernels.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/position_embedding/pos_encoding_kernels.cu".
Compilation terminated.
[2/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemm_cuda_gen.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/quantization/gemm_cuda_gen.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemm_cuda_gen.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemm_cuda_gen.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/quantization/gemm_cuda_gen.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/quantization/gemm_cuda_gen.cu".
Compilation terminated.
[3/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/topk_softmax_kernels.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/topk_softmax_kernels.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/topk_softmax_kernels.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/topk_softmax_kernels.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/topk_softmax_kernels.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/topk_softmax_kernels.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/topk_softmax_kernels.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/topk_softmax_kernels.cu".
Compilation terminated.
[4/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/moe_alig_block.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/moe_alig_block.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/moe_alig_block.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/moe_alig_block.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/moe_alig_block.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/moe_alig_block.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/moe_alig_block.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/moe_alig_block.cu".
Compilation terminated.
[5/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/layernorm/layernorm.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/layernorm/layernorm.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/layernorm/layernorm.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/layernorm/layernorm.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/layernorm/layernorm.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/layernorm/layernorm.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/layernorm/layernorm.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/layernorm/layernorm.cu".
Compilation terminated.
[6/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/activation.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/activation.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/activation.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/activation.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/activation.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/activation.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/vllm/activation.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/vllm/activation.cu".
Compilation terminated.
[7/7] /opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemv_cuda.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/quantization/gemv_cuda.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemv_cuda.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
FAILED: /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemv_cuda.o
/opt/cuda/bin/nvcc --generate-dependencies-with-compile --dependency-output /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemv_cuda.o.d -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/TH -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/THC -I/opt/cuda/include -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/nvidia/cuda_runtime/include -I/home/waser/Projets/AutoAWQ_kernels/src -I/home/waser/Projets/AutoAWQ_kernels/src/.venv/include -I/usr/include/python3.12 -c -c /home/waser/Projets/AutoAWQ_kernels/src/awq_ext/quantization/gemv_cuda.cu -o /home/waser/Projets/AutoAWQ_kernels/src/build/temp.linux-x86_64-cpython-312/awq_ext/quantization/gemv_cuda.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 -DENABLE_BF16 -U__CUDA_NO_HALF_OPERATORS__ -U__CUDA_NO_HALF_CONVERSIONS__ -U__CUDA_NO_BFLOAT16_OPERATORS__ -U__CUDA_NO_BFLOAT16_CONVERSIONS__ -U__CUDA_NO_BFLOAT162_OPERATORS__ -U__CUDA_NO_BFLOAT162_CONVERSIONS__ --expt-relaxed-constexpr --expt-extended-lambda --use_fast_math -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_75,code=sm_75 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=awq_ext -D_GLIBCXX_USE_CXX11_ABI=0 -ccbin g++
/usr/include/c++/14.1.1/x86_64-pc-linux-gnu/bits/c++config.h(827): error: user-defined literal operator not found
typedef __decltype(0.0bf16) __bfloat16_t;
^
/usr/include/c++/14.1.1/type_traits(529): error: type name is not allowed
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(529): error: identifier "__is_array" is undefined
: public __bool_constant<__is_array(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: type name is not allowed
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(581): error: identifier "__is_member_object_pointer" is undefined
: public __bool_constant<__is_member_object_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: type name is not allowed
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(603): error: identifier "__is_member_function_pointer" is undefined
: public __bool_constant<__is_member_function_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: type name is not allowed
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(695): error: identifier "__is_reference" is undefined
: public __bool_constant<__is_reference(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: type name is not allowed
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(731): error: identifier "__is_object" is undefined
: public __bool_constant<__is_object(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: type name is not allowed
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(760): error: identifier "__is_member_pointer" is undefined
: public __bool_constant<__is_member_pointer(_Tp)>
^
/usr/include/c++/14.1.1/type_traits(3247): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3271): error: type name is not allowed
__is_member_object_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3281): error: type name is not allowed
__is_member_function_pointer(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3298): error: type name is not allowed
inline constexpr bool is_reference_v = __is_reference(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3315): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/usr/include/c++/14.1.1/type_traits(3328): error: type name is not allowed
inline constexpr bool is_member_pointer_v = __is_member_pointer(_Tp);
^
/usr/include/c++/14.1.1/bits/utility.h(237): error: __type_pack_element is not a template
{ using type = __type_pack_element<_Np, _Types...>; };
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, void>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, void>" at line 176
instantiation of "std::__detail::__or_fn" based on template arguments <std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>> at line 194
instantiation of class "std::__or_<_Bn...> [with _Bn=<std::is_reference<std::_Any_data>, std::is_function<std::_Any_data>, std::is_void<std::_Any_data>, std::__is_array_unknown_bounds<std::_Any_data>>]" at line 1171
instantiation of class "std::is_move_constructible<_Tp> [with _Tp=std::_Any_data]" at line 199
instantiation of class "std::__and_<_Bn...> [with _Bn=<std::__not_<std::__is_tuple_like<std::_Any_data>>, std::is_move_constructible<std::_Any_data>, std::is_move_assignable<std::_Any_data>>]" at line 558 of /usr/include/c++/14.1.1/bits/std_function.h
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: type name is not allowed
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(36): error: identifier "__is_array" is undefined
: public integral_constant<bool, __is_array(_Tp)>
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/is_array.h(41): error: type name is not allowed
inline constexpr bool is_array_v = __is_array(_Tp);
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: type name is not allowed
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(37): error: identifier "__is_object" is undefined
: public integral_constant<bool, __is_object(_Tp)>
^
/opt/cuda/include/cuda/std/detail/libcxx/include/__type_traits/is_object.h(42): error: type name is not allowed
inline constexpr bool is_object_v = __is_object(_Tp);
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/tuple_element.h(122): error: __type_pack_element is not a template
typedef __type_pack_element<_Ip, _Types...> type;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: identifier "__type_pack_element" is undefined
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: parameter pack "_Idx" was referenced but not expanded
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/opt/cuda/targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__tuple_dir/make_tuple_types.h(52): error: expected a ";"
__tuple_types< typename _ApplyFn::template __apply<__type_pack_element<_Idx, _Types...>>... >;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h(1925): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_0 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorImpl.h", static_cast<uint32_t>(1925)}, ::c10::str("Named tensors and all their associated APIs are an experimental feature ", "and subject to change. Please do not use them for anything important ", "until they are released as stable."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::ScalarType>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::ScalarType>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::ScalarType, F=lambda []()->c10::ScalarType]" at line 32 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->caffe2::TypeMeta>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->caffe2::TypeMeta>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=caffe2::TypeMeta, F=lambda []()->caffe2::TypeMeta]" at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda []()->c10::Device>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda []()->c10::Device>" at line 34 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Optional.h
instantiation of "T c10::value_or_else(const std::optional<T> &, F &&) [with T=c10::Device, F=lambda []()->c10::Device]" at line 45 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/core/TensorOptions.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/NamedTensor.h(40): error: no suitable user-defined conversion from "std::unique_ptr<at::NamedTensorMeta, std::default_delete<at::NamedTensorMeta>>" to "std::unique_ptr<c10::NamedTensorMetaInterface, std::default_delete<c10::NamedTensorMetaInterface>>" exists
return std::make_unique<NamedTensorMeta>(HasNonWildcard, names_);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h(489): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/TensorBody.h", static_cast<uint32_t>(489)}, ::c10::str("The .grad attribute of a Tensor that is not a leaf Tensor is being accessed. Its .grad " "attribute won't be populated during autograd.backward(). If you indeed want the .grad " "field to be populated for a non-leaf Tensor, use .retain_grad() on the non-leaf Tensor. " "If you access the non-leaf Tensor by mistake, make sure you access the leaf Tensor " "instead. See github.com/pytorch/pytorch/pull/30531 for more informations."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, c10::DynamicType>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, c10::DynamicType>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<c10::DynamicType>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <c10::DynamicType, c10::DynamicType::Tag, const std::string &, c10::DynamicType::Arguments> at line 37 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/type_factory.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::mutex>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::mutex>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::mutex>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <std::mutex> at line 285 of /usr/include/c++/14.1.1/condition_variable
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(403): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::ErroringViewFunc, std::default_delete<torch::autograd::ErroringViewFunc>>" to "std::unique_ptr<torch::autograd::ViewFunc, std::default_delete<torch::autograd::ViewFunc>>" exists
return std::make_unique<ErroringViewFunc>(error_msg);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(818): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::DifferentiableViewMeta, std::default_delete<torch::autograd::DifferentiableViewMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl->set_autograd_meta(std::make_unique<DifferentiableViewMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(867): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
std::make_unique<AutogradMeta>(data_impl.get(), requires_grad));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(877): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/variable.h(900): error: no suitable user-defined conversion from "std::unique_ptr<torch::autograd::AutogradMeta, std::default_delete<torch::autograd::AutogradMeta>>" to "std::unique_ptr<c10::AutogradMetaInterface, std::default_delete<c10::AutogradMetaInterface>>" exists
data_impl_copy->set_autograd_meta(std::make_unique<AutogradMeta>(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, std::string>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, std::string>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<std::string>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <std::string, std::string> at line 65 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/record_function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/op_registration/op_registration.h(85): error: no operator "=" matches these operands
operand types are: std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> = c10::FunctionSchema
schemaOrName_ = FunctionSchema(std::move(schema));
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::variant<c10::OperatorName, c10::FunctionSchema>> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::variant<c10::OperatorName, c10::FunctionSchema>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(436): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(s);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(440): error: no suitable user-defined conversion from "c10::OperatorName" to "std::variant<c10::OperatorName, c10::FunctionSchema>" exists
return std::move(n);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/library.h(622): error: no operator "=" matches these operands
operand types are: std::optional<std::pair<const char *, const char *>> = {...}
python_module_ = {pymodule, context};
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(std::optional<std::pair<const char *, const char *>> &&) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(703): note #3326-D: function "std::optional<_Tp>::operator=(const std::optional<std::pair<const char *, const char *>> &) [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
class optional
^
/usr/include/c++/14.1.1/optional(890): note #3327-D: candidate function template "std::optional<_Tp>::operator=(std::optional<_Up> &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(optional<_Up>&& __u)
^
/usr/include/c++/14.1.1/optional(864): note #3327-D: candidate function template "std::optional<_Tp>::operator=(const std::optional<_Up> &) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(const optional<_Up>& __u)
^
/usr/include/c++/14.1.1/optional(844): note #3327-D: candidate function template "std::optional<_Tp>::operator=(_Up &&) [with _Tp=std::pair<const char *, const char *>]" failed deduction
operator=(_Up&& __u)
^
/usr/include/c++/14.1.1/optional(830): note #3326-D: function "std::optional<_Tp>::operator=(std::nullopt_t) noexcept [with _Tp=std::pair<const char *, const char *>]" does not match because argument #1 does not match parameter
operator=(nullopt_t) noexcept
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/function.h(59): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
__attribute__((__unused__)) TaskLauncher taskLauncher = at::launch) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/custom_class.h(270): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::BuiltinOpFunction, std::default_delete<torch::jit::BuiltinOpFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
registerCustomClassMethod(std::move(method));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
if (::c10::WarningUtils::get_warnAlways()) { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; } else { __attribute__((__unused__)) static const auto torch_warn_once_1 = [&] { ::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/LegacyTypeDispatch.h", static_cast<uint32_t>(74)}, ::c10::str("AutoNonVariableTypeMode is deprecated and will be removed in 1.10 release. " "For kernel implementations please use AutoDispatchBelowADInplaceOrView instead, " "If you are looking for a user facing API to enable running your inference-only " "workload, please use c10::InferenceMode. Using AutoDispatchBelowADInplaceOrView in user code " "is under risk of producing silent wrong result in some edge cases. " "See Note [AutoDispatchBelowAutograd] for more details."), false));;; return true; }(); }
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h(32): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, std::string, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/env.h", static_cast<uint32_t>(32)}, ::c10::str("Ignoring invalid value for boolean flag ", name, ": ", envar, "valid values are 0 or 1."), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/variant(1455): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" matches the argument list
argument types are: (const std::in_place_index_t<0UL>, c10::SymIntArrayRef)
: variant(in_place_index<__index_of<_Tp>>,
^
/usr/include/c++/14.1.1/variant(1484): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3322-D: number of parameters of function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
detected during instantiation of "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::autograd::SymIntSmallVec, at::Tensor>, _Tp=torch::autograd::SymIntSmallVec, _Args=<c10::SymIntArrayRef &>, <unnamed>=void]" at line 201 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/function.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h(202): error: no instance of function template "std::make_shared" matches the argument list
argument types are: (const char *, std::size_t)
std::make_shared<std::string>(text_view.data(), text_view.size());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::string>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Source>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Source>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Source>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Source, std::string, std::optional<std::string> &, size_t> at line 410 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/frontend/source_range.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(83): error: no instance of constructor "std::variant<_Types...>::variant [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" matches the argument list
argument types are: (torch::jit::Operator::C10Operator)
: op_(C10Operator{std::move(opHandle), std::move(operation)}) {}
^
/usr/include/c++/14.1.1/variant(1484): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_index_t<_Np>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1474): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_index_t<_Np>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_index_t<_Np>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1464): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, std::initializer_list<_Up>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant(in_place_type_t<_Tp>, initializer_list<_Up> __il,
^
/usr/include/c++/14.1.1/variant(1454): note #3327-D: candidate function template "std::variant<_Types...>::variant(std::in_place_type_t<_Tp>, _Args &&...) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(in_place_type_t<_Tp>, _Args&&... __args)
^
/usr/include/c++/14.1.1/variant(1444): note #3327-D: candidate function template "std::variant<_Types...>::variant(_Tp &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" failed deduction
variant(_Tp&& __t)
^
/usr/include/c++/14.1.1/variant(1432): note #3326-D: function "std::variant<_Types...>::variant(std::variant<_Types...> &&) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(variant&&) = default;
^
/usr/include/c++/14.1.1/variant(1431): note #3326-D: function "std::variant<_Types...>::variant(const std::variant<_Types...> &) [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match because argument #1 does not match parameter
variant(const variant& __rhs) = default;
^
/usr/include/c++/14.1.1/variant(1427): note #3322-D: number of parameters of function template "std::variant<_Types...>::variant() [with _Types=<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator>]" does not match the call
variant() noexcept(is_nothrow_default_constructible_v<__to_type<0>>)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(90): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(91): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
Operation(std::move(op))}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(101): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(107): error: no suitable user-defined conversion from "torch::jit::Operation" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>" exists
std::move(op)}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(114): error: no suitable user-defined conversion from "torch::jit::Operator::UnparsedFunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
UnparsedFunctionSchema{std::move(schema), alias_analysis},
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(115): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(126): error: no suitable user-defined conversion from "c10::FunctionSchema" to "std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>" exists
FunctionSchema(varArgSchemaWithName(name, alias_analysis)),
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(127): error: no suitable constructor exists to convert from "torch::jit::OperationCreator" to "std::variant<torch::jit::Operation, torch::jit::OperationCreator>"
op_creator}) {}
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operation &)->torch::jit::Operation, lambda [](const torch::jit::OperationCreator &)->torch::jit::Operation>, const std::variant<torch::jit::Operation, torch::jit::OperationCreator> &> at line 140 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->torch::jit::Operation, lambda [](const torch::jit::Operator::JitOnlyOperator &)-><error-type>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 142 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h(150): error: no instance of constructor "torch::jit::Operation::Operation" matches the argument list
argument types are: (lambda [](torch::jit::Stack &)->void)
return Operation([op, dk](Stack& stack) {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(const torch::jit::Operation &)" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(17): note #3326-D: function "torch::jit::Operation::Operation(torch::jit::Operation &&) noexcept" does not match because argument #1 does not match parameter
class Operation {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(35): note #3326-D: function "torch::jit::Operation::Operation(std::nullptr_t) noexcept" does not match because argument #1 does not match parameter
Operation(std::nullptr_t) noexcept {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(33): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& op): op_(std::forward<F>(op)) {}
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/ATen/core/stack.h(26): note #3327-D: candidate function template "torch::jit::Operation::Operation(F &&)" failed deduction
Operation(F&& raw): op_([raw = std::forward<F>(raw)](Stack& stack) {
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)-><error-type>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->torch::jit::Operation>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 160 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(2696): error: class "std::enable_if<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" has no member "type"
using enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::enable_if_t<<error-constant>, std::variant<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema> &>" at line 1494 of /usr/include/c++/14.1.1/variant
instantiation of "std::variant<_Types...>::operator= [with _Types=<c10::FunctionSchema, torch::jit::Operator::UnparsedFunctionSchema>]" based on template argument <c10::FunctionSchema> at line 182 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->const c10::FunctionSchema &, lambda [](const torch::jit::Operator::JitOnlyOperator &)->const c10::FunctionSchema &>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 186 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->c10::ArrayRef<at::Tag>, lambda [](const torch::jit::Operator::JitOnlyOperator &)->c10::ArrayRef<at::Tag>>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 200 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <c10::detail::overloaded_t<lambda [](const torch::jit::Operator::C10Operator &)->bool, lambda [](const torch::jit::Operator::JitOnlyOperator &)->bool>, const std::variant<torch::jit::Operator::C10Operator, torch::jit::Operator::JitOnlyOperator> &> at line 225 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/operator.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Value>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Value>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Value>, torch::jit::Value *> at line 305 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Node>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Node>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Node>, torch::jit::Node *> at line 371 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::Wrap<torch::jit::Block>>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::Wrap<torch::jit::Block>>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template arguments <torch::jit::Wrap<torch::jit::Block>, torch::jit::Block *> at line 1141 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/ir/ir.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/interpreter.h(92): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/runtime/graph_executor.h(75): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(34): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch) override;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h(78): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/function_impl.h", static_cast<uint32_t>(78)}, ::c10::str("GraphFunction::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/method.h(45): error: no suitable constructor exists to convert from "void (std::function<void ()>)" to "std::function<void (std::function<void ()>)>"
TaskLauncher taskLauncher = at::launch);
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(74): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(74)}, ::c10::str("CompilationUnit::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(80): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h", static_cast<uint32_t>(80)}, ::c10::str("CompilationUnit::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/compilation_unit.h(136): error: no suitable user-defined conversion from "std::unique_ptr<torch::jit::GraphFunction, std::default_delete<torch::jit::GraphFunction>>" to "std::unique_ptr<torch::jit::Function, std::default_delete<torch::jit::Function>>" exists
register_function(std::move(fn));
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(329): error: no instance of function template "std::make_shared" matches the argument list
std::shared_ptr<std::mutex> register_mutex_ = std::make_shared<std::mutex>();
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<std::mutex>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(103): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(103)}, ::c10::str("Module::set_optimized() is deprecated and has no effect. " "Please use setGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h(109): error: no instance of constructor "c10::Warning::Warning" matches the argument list
argument types are: (c10::UserWarning, {...}, const char *, bool)
::c10::warn(::c10::Warning( ::c10::UserWarning(), {__func__, "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/jit/api/module.h", static_cast<uint32_t>(109)}, ::c10::str("Module::is_optimized() is deprecated and always returns true. " "Please use getGraphExecutorOptimize()"), false));;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(const c10::Warning &)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(117): note #3322-D: number of parameters of function "c10::Warning::Warning(c10::Warning &&)" does not match the call
class __attribute__((__visibility__("default"))) Warning {
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(136): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, c10::detail::CompileTimeEmptyString, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(130): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, c10::SourceLocation, const char *, bool)" does not match because argument #1 does not match parameter
Warning(
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/c10/util/Exception.h(124): note #3326-D: function "c10::Warning::Warning(c10::Warning::warning_variant_t, const c10::SourceLocation &, std::string, bool)" does not match because argument #1 does not match parameter
Warning(
^
/usr/include/c++/14.1.1/type_traits(138): error: class "std::enable_if<<error-constant>, torch::jit::CompilationUnit>" has no member "type"
using __enable_if_t = typename enable_if<_Cond, _Tp>::type;
^
detected during:
instantiation of type "std::__enable_if_t<<error-constant>, torch::jit::CompilationUnit>" at line 112 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of type "std::_NonArray<torch::jit::CompilationUnit>" at line 1002 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of "std::make_shared" based on template argument <torch::jit::CompilationUnit> at line 28 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize/output-archive.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(42): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/serialize.h(67): error: no instance of function template "std::make_shared" matches the argument list
serialize::OutputArchive archive(std::make_shared<jit::CompilationUnit>());
^
/usr/include/c++/14.1.1/bits/shared_ptr.h(1003): note #3323-D: substituting explicit template arguments "<torch::jit::CompilationUnit>" for function template "std::make_shared" failed
make_shared(_Args&&... __args)
^
/usr/include/c++/14.1.1/bits/shared_ptr_base.h(1347): error: reference to void is not allowed
element_type&
^
detected during:
instantiation of class "std::__shared_ptr_access<_Tp, _Lp, <unnamed>, <unnamed>> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic, <unnamed>=<error-constant>, <unnamed>=true]" at line 1424
instantiation of class "std::__shared_ptr<_Tp, _Lp> [with _Tp=void, _Lp=__gnu_cxx::_S_atomic]" at line 175 of /usr/include/c++/14.1.1/bits/shared_ptr.h
instantiation of class "std::shared_ptr<_Tp> [with _Tp=void]" at line 263 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/autograd/profiler_legacy.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(95): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const conv_padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(conv_padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const conv_padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline conv_padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: conv_padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(163): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(318): error: no suitable user-defined conversion from "const torch::enumtype::kZeros" to "torch::nn::detail::conv_padding_mode_t" exists
public: inline auto padding_mode(const padding_mode_t& new_padding_mode) -> decltype(*this) { this->padding_mode_ = new_padding_mode; return *this; } inline auto padding_mode(padding_mode_t&& new_padding_mode) -> decltype(*this) { this->padding_mode_ = std::move(new_padding_mode); return *this; } inline const padding_mode_t& padding_mode() const noexcept { return this->padding_mode_; } inline padding_mode_t& padding_mode() noexcept { return this->padding_mode_; } private: padding_mode_t padding_mode_ = torch::kZeros;
^
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 39 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<1UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=1UL]" at line 59 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/usr/include/c++/14.1.1/type_traits(3155): error: class "std::invoke_result<lambda [](const auto &)->auto, const <error-type> &>" has no member "type"
using invoke_result_t = typename invoke_result<_Fn, _Args...>::type;
^
detected during:
instantiation of type "std::invoke_result_t<lambda [](const auto &)->auto, const <error-type> &>" at line 1123 of /usr/include/c++/14.1.1/variant
instantiation of type "std::__detail::__variant::__visit_result_t<lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &>" at line 1313 of /usr/include/c++/14.1.1/variant
instantiation of "std::visit" based on template arguments <lambda [](const auto &)->auto, const std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame> &> at line 85 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/options/conv.h(210): error: no suitable constructor exists to convert from "int" to "std::variant<torch::ExpandingArray<2UL, int64_t>, torch::enumtype::kValid, torch::enumtype::kSame>"
public: inline auto padding(const padding_t& new_padding) -> decltype(*this) { this->padding_ = new_padding; return *this; } inline auto padding(padding_t&& new_padding) -> decltype(*this) { this->padding_ = std::move(new_padding); return *this; } inline const padding_t& padding() const noexcept { return this->padding_; } inline padding_t& padding() noexcept { return this->padding_; } private: padding_t padding_ = 0;
^
detected during:
implicit generation of "torch::nn::functional::ConvFuncOptions<D>::ConvFuncOptions() [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
instantiation of class "torch::nn::functional::ConvFuncOptions<D> [with D=2UL]" at line 105 of /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/include/torch/csrc/api/include/torch/nn/functional/conv.h
Error limit reached.
100 errors detected in the compilation of "/home/waser/Projets/AutoAWQ_kernels/src/awq_ext/quantization/gemv_cuda.cu".
Compilation terminated.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 2105, in _run_ninja_build
subprocess.run(
File "/usr/lib/python3.12/subprocess.py", line 571, 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/waser/Projets/AutoAWQ_kernels/src/setup.py", line 248, in <module>
setup(
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/__init__.py", line 108, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 970, in run_commands
self.run_command(cmd)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
cmd_obj.run()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/install.py", line 92, in run
self.do_egg_install()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/install.py", line 144, in do_egg_install
self.run_command('bdist_egg')
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
cmd_obj.run()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/bdist_egg.py", line 167, in run
cmd = self.call_command('install_lib', warn_dir=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/bdist_egg.py", line 153, in call_command
self.run_command(cmdname)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
cmd_obj.run()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/install_lib.py", line 13, in run
self.build()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_lib.py", line 110, in build
self.run_command('build_ext')
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/dist.py", line 945, in run_command
super().run_command(command)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 989, in run_command
cmd_obj.run()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 93, in run
_build_ext.run(self)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 866, in build_extensions
build_ext.build_extensions(self)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
self._build_extensions_serial()
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
self.build_extension(ext)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 254, in build_extension
_build_ext.build_extension(self, ext)
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
objects = self.compiler.compile(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 679, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 1785, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/torch/utils/cpp_extension.py", line 2121, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
@wasertech
Copy link
Author

I'm using a clean venv so I have to use setup.py instead of pip, otherwise I get ModuleNotFoundError: No module named 'torch' even if I install torch manually.

❯ pip show torch
Name: torch
Version: 2.4.0
Summary: Tensors and Dynamic neural networks in Python with strong GPU acceleration
Home-page: https://pytorch.org/
Author: PyTorch Team
Author-email: packages@pytorch.org
License: BSD-3
Location: /home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages
Requires: filelock, fsspec, jinja2, networkx, nvidia-cublas-cu12, nvidia-cuda-cupti-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-runtime-cu12, nvidia-cudnn-cu12, nvidia-cufft-cu12, nvidia-curand-cu12, nvidia-cusolver-cu12, nvidia-cusparse-cu12, nvidia-nccl-cu12, nvidia-nvtx-cu12, setuptools, sympy, triton, typing-extensions
Required-by: 


❯ pip install -e .
Obtaining file:///home/waser/Projets/AutoAWQ_kernels/src
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build editable did not run successfully.
  │ exit code: 1
  ╰─> [23 lines of output]
      Traceback (most recent call last):
        File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 132, in get_requires_for_build_editable
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z6acpu5c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 458, in get_requires_for_build_editable
          return self.get_requires_for_build_wheel(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z6acpu5c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-z6acpu5c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-z6acpu5c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-z6acpu5c/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 2, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip


❯ pip install .
Processing /home/waser/Projets/AutoAWQ_kernels/src
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [20 lines of output]
      Traceback (most recent call last):
        File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/waser/Projets/AutoAWQ_kernels/src/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-r6gfuvpp/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=[])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-r6gfuvpp/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
          self.run_setup()
        File "/tmp/pip-build-env-r6gfuvpp/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 497, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/tmp/pip-build-env-r6gfuvpp/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup
          exec(code, locals())
        File "<string>", line 2, in <module>
      ModuleNotFoundError: No module named 'torch'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: pip install --upgrade pip
```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment