[gfx1030][ROCM 5.2.3][rocm-arch]MIOpen(HIP): Error [Do] 'amd_comgr_do_action(kind, handle, in.GetHandle(), out.GetHandle())' AMD_COMGR_ACTION_COMPILE_SOURCE_TO_BC: ERROR (1)

Hi,
I am using the rocm-arch repos to build:

rocm 5.2.x -- latest available sources from the repos
python-pytorch-rocm and python-torchvision-rocm
all compiled setting the target gfx1030 for both PYTHON and AMDGPU (I have rx6800)

Testing few ML algorithms from the torchvision packages on the MINST dataset: standard feed-forward neural nets work fine, but convolutional neural networks do not (naive_conv.cpp) -- the same code used to work fine on a rx480 with rocm 4.x
I can provide the python code if required for both feed-forward nn and convolution nn.
I have reported the issue to the rocm-arch git page too, but I have not received much attention:

The full error log:
`(HIP): Error [Do] 'amd_comgr_do_action(kind, handle, in.GetHandle(), out.GetHandle())' AMD_COMGR_ACTION_COMPILE_SOURCE_TO_BC: ERROR (1)
MIOpen(HIP): Error [BuildHip] comgr status = ERROR (1)
MIOpen(HIP): Warning [BuildHip] In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:54:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/thread:44:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/this_thread_sleep.h:36:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:650:36: error: no matching conversion for functional-style cast from 'const duration<long, std::ratio<1, 1>>' to '__cd' (aka 'duration<long, ratio<num, den>>')
return __cd(__cd(__lhs).count() - __cd(__rhs).count());
^~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:1020:47: note: in instantiation of function template specialization 'std::chrono::operator-<long, std::ratio<1,<PHONE_NUMBER>>, long, std::ratio<1, 1>>' requested here
return __time_point(__lhs.time_since_epoch() -__rhs);
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:1371:47: note: in instantiation of function template specialization 'std::chrono::operator-<std::filesystem::__file_clock, std::chrono::duration<long, std::ratio<1,<PHONE_NUMBER>>>, long, std::ratio<1, 1>>' requested here
return __file_time{__t.time_since_epoch()} - _S_epoch_diff;
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:1338:16: note: in instantiation of function template specialization 'std::filesystem::__file_clock::_S_from_sys<std::chrono::duration<long, std::ratio<1,<PHONE_NUMBER>>>>' requested here
{ return _S_from_sys(chrono::system_clock::now()); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:498:2: note: candidate constructor not viable: no known conversion from 'const duration<[...], ratio<[...], 1>>' to 'const duration<[...], ratio<[...],<PHONE_NUMBER>>>' for 1st argument
duration(const duration&) = default;
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:505:23: note: candidate template ignored: requirement '_and<std::is_convertible<const std::chrono::duration<long, std::ratio<1, 1>> &, long>, std::_or<std::chrono::treat_as_floating_point, std::_not<std::chrono::treat_as_floating_point<std::chrono::duration<long, std::ratio<1, 1>>>>>>::value' was not satisfied [with _Rep2 = std::chrono::duration]
constexpr explicit duration(const _Rep2& __rep)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:513:14: note: candidate template ignored: substitution failure [with _Rep2 = long, _Period2 = std::ratio<1, 1>]: non-type template argument is not a constant expression
constexpr duration(const duration<_Rep2, _Period2>& __d)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:496:12: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr duration() = default;
^
In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434:
In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:53:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3960:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3972:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, int, char, int>' requested here
{ return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3977:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, long, char, int>' requested here
{ return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3982:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long, unsigned long, char, int>' requested here
{ return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3987:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long long, long long, char, int>' requested here
{ return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3992:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long long, unsigned long long, char, int>' requested here
{ return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3998:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<float, float, char>' requested here
{ return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4002:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<double, double, char>' requested here
{ return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
|| _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4006:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long double, long double, char>' requested here
{ return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
_S_chk(_TRet, std::false_type) { return false; }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
_S_chk(_TRet __val, std::true_type)
^
In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434:
In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:41:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/allocator.h:46:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/new_allocator.h:153:6: error: call to '__builtin_operator_delete' selects non-usual deallocation function
__builtin_operator_delete((__p),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/alloc_traits.h:496:13: note: in instantiation of member function 'std::__new_allocator::deallocate' requested here
{ __a.deallocate(__p, __n); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:292:24: note: in instantiation of member function 'std::allocator_traits<std::allocator>::deallocate' requested here
{ _Alloc_traits::deallocate(_M_get_allocator(), _M_data(), __size + 1); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:286:4: note: in instantiation of member function 'std::basic_string::_M_destroy' requested here
_M_destroy(_M_allocated_capacity);
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:795:9: note: in instantiation of member function 'std::basic_string::_M_dispose' requested here
{ _M_dispose(); }
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4020:12: note: in instantiation of member function 'std::basic_string::~basic_string' requested here
string __str(__neg + __len, '-');
^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/new:153:6: note: non-usual 'operator delete' declared here
void operator delete(void*, std::align_val_t)
In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434:
In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:53:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3960:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4115:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, int, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4120:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4125:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long, unsigned long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4130:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long long, long long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4135:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long long, unsigned long long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4141:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<float, float, wchar_t>' requested here
{ return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4145:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<double, double, wchar_t>' requested here
{ return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4149:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long double, long double, wchar_t>' requested here
{ return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434:
In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:41:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/allocator.h:46:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/new_allocator.h:153:6: error: call to '__builtin_operator_delete' selects non-usual deallocation function
   __builtin_operator_delete((__p),
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/alloc_traits.h:496:13: note: in instantiation of member function 'std::__new_allocator<wchar_t>::deallocate' requested here
    { __a.deallocate(__p, __n); }
          ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:292:24: note: in instantiation of member function 'std::allocator_traits<std::allocator<wchar_t>>::deallocate' requested here
    { _Alloc_traits::deallocate(_M_get_allocator(), _M_data(), __size + 1); }
                     ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:286:4: note: in instantiation of member function 'std::basic_string<wchar_t>::_M_destroy' requested here
 _M_destroy(_M_allocated_capacity);
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.tcc:238:44: note: in instantiation of member function 'std::basic_string<wchar_t>::_M_dispose' requested here
 ~_Guard() { if (_M_guarded) _M_guarded->_M_dispose(); }
                                         ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.tcc:232:9: note: in instantiation of member function 'std::basic_string<wchar_t>::_M_construct(wchar_t *, wchar_t *, std::forward_iterator_tag)::_Guard::~_Guard' requested here
struct _Guard
      ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:756:4: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::_M_construct<wchar_t *>' requested here
 _M_construct(__beg, __end, std::__iterator_category(__beg));
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:115:14: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::basic_string<wchar_t *, void>' requested here
    return _String(__s, __s + __len);
           ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4155:23: note: in instantiation of function template specialization '__gnu_cxx::__to_xstring<std::basic_string<wchar_t>, wchar_t>' requested here
{ return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/new:153:6: note: non-usual 'operator delete' declared here
void operator delete(void*, std::align_val_t)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx1030.

terminate called after throwing an instance of 'miopen::Exception'
what():  /home/marco/.cache/yay/miopen-hip/src/MIOpen-rocm-5.2.3/src/hipoc/hipoc_program.cpp:300: Code object build failed. Source: naive_conv.cpp
`

The link to the rocm-arch git issue:
https://github.com/rocm-arch/rocm-arch/issues/857

Hi,
I am using the rocm-arch repos to build:

rocm 5.2.x -- latest available sources from the repos
python-pytorch-rocm and python-torchvision-rocm
all compiled setting the target gfx1030 for both PYTHON and AMDGPU (I have rx6800)

Testing few ML algorithms from the torchvision packages on the MINST dataset: standard feed-forward neural nets work fine, but convolutional neural networks do not (naive_conv.cpp) -- the same code used to work fine on a rx480 with rocm 4.x
I can provide the python code if required for both feed-forward nn and convolution nn. I have reported the issue to the rocm-arch git page too, but I have not received much attention:
The full error log:
`(HIP): Error [Do] 'amd_comgr_do_action(kind, handle, in.GetHandle(), out.GetHandle())' AMD_COMGR_ACTION_COMPILE_SOURCE_TO_BC: ERROR (1) MIOpen(HIP): Error [BuildHip] comgr status = ERROR (1) MIOpen(HIP): Warning [BuildHip] In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1: In file included from /tmp/hip_pch.115095/hip_pch.h:1: In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:54: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/thread:44: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/this_thread_sleep.h:36: /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:650:36: error: no matching conversion for functional-style cast from 'const duration<long, std::ratio<1, 1>>' to '__cd' (aka 'duration<long, ratio<num, den>>') return __cd(__cd(__lhs).count() - __cd(__rhs).count()); ^~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:1020:47: note: in instantiation of function template specialization 'std::chrono::operator-<long, std::ratio<1,<PHONE_NUMBER>>, long, std::ratio<1, 1>>' requested here return __time_point(__lhs.time_since_epoch() -__rhs); ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:1371:47: note: in instantiation of function template specialization 'std::chrono::operator-<std::filesystem::__file_clock, std::chrono::duration<long, std::ratio<1,<PHONE_NUMBER>>>, long, std::ratio<1, 1>>' requested here return __file_time{__t.time_since_epoch()} - _S_epoch_diff; ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:1338:16: note: in instantiation of function template specialization 'std::filesystem::__file_clock::_S_from_sys<std::chrono::duration<long, std::ratio<1,<PHONE_NUMBER>>>>' requested here { return _S_from_sys(chrono::system_clock::now()); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:498:2: note: candidate constructor not viable: no known conversion from 'const duration<[...], ratio<[...], 1>>' to 'const duration<[...], ratio<[...],<PHONE_NUMBER>>>' for 1st argument duration(const duration&) = default; ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:505:23: note: candidate template ignored: requirement '_and<std::is_convertible<const std::chrono::duration<long, std::ratio<1, 1>> &, long>, std::_or<std::chrono::treat_as_floating_point, std::_not<std::chrono::treat_as_floating_point<std::chrono::duration<long, std::ratio<1, 1>>>>>>::value' was not satisfied [with _Rep2 = std::chrono::duration] constexpr explicit duration(const _Rep2& __rep) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:513:14: note: candidate template ignored: substitution failure [with _Rep2 = long, _Period2 = std::ratio<1, 1>]: non-type template argument is not a constant expression constexpr duration(const duration<_Rep2, _Period2>& __d) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/chrono.h:496:12: note: candidate constructor not viable: requires 0 arguments, but 1 was provided constexpr duration() = default; ^ In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1: In file included from /tmp/hip_pch.115095/hip_pch.h:1: In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62: In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434: In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:53: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3960: /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3972:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, int, char, int>' requested here { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(), ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3977:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, long, char, int>' requested here { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(), ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3982:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long, unsigned long, char, int>' requested here { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(), ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3987:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long long, long long, char, int>' requested here { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(), ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3992:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long long, unsigned long long, char, int>' requested here { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(), ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3998:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<float, float, char>' requested here { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4002:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<double, double, char>' requested here { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk' || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{})) ^~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4006:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long double, long double, char>' requested here { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument _S_chk(_TRet, std::false_type) { return false; } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument _S_chk(_TRet __val, std::true_type) ^ In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1: In file included from /tmp/hip_pch.115095/hip_pch.h:1: In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62: In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434: In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:41: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/allocator.h:46: In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33: /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/new_allocator.h:153:6: error: call to '__builtin_operator_delete' selects non-usual deallocation function __builtin_operator_delete((__p), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/alloc_traits.h:496:13: note: in instantiation of member function 'std::__new_allocator::deallocate' requested here { __a.deallocate(__p, __n); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:292:24: note: in instantiation of member function 'std::allocator_traitsstd::allocator::deallocate' requested here { _Alloc_traits::deallocate(_M_get_allocator(), _M_data(), __size + 1); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:286:4: note: in instantiation of member function 'std::basic_string::_M_destroy' requested here _M_destroy(_M_allocated_capacity); ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:795:9: note: in instantiation of member function 'std::basic_string::_M_dispose' requested here { _M_dispose(); } ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4020:12: note: in instantiation of member function 'std::basic_string::~basic_string' requested here string __str(__neg + __len, '-'); ^ /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/new:153:6: note: non-usual 'operator delete' declared here void operator delete(void*, std::align_val_t)
In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434:
In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:53:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:3960:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4115:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, int, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<int, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4120:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long, long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4125:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long, unsigned long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4130:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long long, long long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4135:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<unsigned long long, unsigned long long, wchar_t, int>' requested here
{ return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<unsigned long long, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4141:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<float, float, wchar_t>' requested here
{ return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<float, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4145:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<double, double, wchar_t>' requested here
{ return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:85:7: error: no matching function for call to '_S_chk'
 || _Range_chk::_S_chk(__tmp, std::is_same<_Ret, int>{}))
    ^~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4149:23: note: in instantiation of function template specialization '__gnu_cxx::__stoa<long double, long double, wchar_t>' requested here
{ return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:70:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::false_type' (aka 'integral_constant<bool, false>') for 2nd argument
 _S_chk(_TRet, std::false_type) { return false; }
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:73:4: note: candidate function not viable: no known conversion from 'std::is_same<long double, int>' to 'std::true_type' (aka 'integral_constant<bool, true>') for 2nd argument
 _S_chk(_TRet __val, std::true_type)
 ^
In file included from /tmp/comgr-a8ec8e/input/naive_conv.cpp:1:
In file included from /tmp/hip_pch.115095/hip_pch.h:1:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/HIP-rocm-5.2.3/include/hip/hip_runtime.h:62:
In file included from /home/marco/.cache/yay/hip-runtime-amd/src/hipamd-rocm-5.2.3/include/hip/amd_detail/amd_hip_runtime.h:434:
In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/stdexcept:39:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/string:41:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/allocator.h:46:
In file included from /usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/x86_64-pc-linux-gnu/bits/c++allocator.h:33:
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/new_allocator.h:153:6: error: call to '__builtin_operator_delete' selects non-usual deallocation function
   __builtin_operator_delete((__p),
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/alloc_traits.h:496:13: note: in instantiation of member function 'std::__new_allocator<wchar_t>::deallocate' requested here
    { __a.deallocate(__p, __n); }
          ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:292:24: note: in instantiation of member function 'std::allocator_traits<std::allocator<wchar_t>>::deallocate' requested here
    { _Alloc_traits::deallocate(_M_get_allocator(), _M_data(), __size + 1); }
                     ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:286:4: note: in instantiation of member function 'std::basic_string<wchar_t>::_M_destroy' requested here
 _M_destroy(_M_allocated_capacity);
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.tcc:238:44: note: in instantiation of member function 'std::basic_string<wchar_t>::_M_dispose' requested here
 ~_Guard() { if (_M_guarded) _M_guarded->_M_dispose(); }
                                         ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.tcc:232:9: note: in instantiation of member function 'std::basic_string<wchar_t>::_M_construct(wchar_t *, wchar_t *, std::forward_iterator_tag)::_Guard::~_Guard' requested here
struct _Guard
      ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:756:4: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::_M_construct<wchar_t *>' requested here
 _M_construct(__beg, __end, std::__iterator_category(__beg));
 ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/ext/string_conversions.h:115:14: note: in instantiation of function template specialization 'std::basic_string<wchar_t>::basic_string<wchar_t *, void>' requested here
    return _String(__s, __s + __len);
           ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/bits/basic_string.h:4155:23: note: in instantiation of function template specialization '__gnu_cxx::__to_xstring<std::basic_string<wchar_t>, wchar_t>' requested here
{ return __gnu_cxx::__to_xstring<wstring>(&std::vswprintf, 4 * sizeof(int),
                    ^
/usr/lib64/cmake/llvm/../../../bin/../lib64/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../include/c++/12.2.0/new:153:6: note: non-usual 'operator delete' declared here
void operator delete(void*, std::align_val_t)
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx1030.

terminate called after throwing an instance of 'miopen::Exception'
what():  /home/marco/.cache/yay/miopen-hip/src/MIOpen-rocm-5.2.3/src/hipoc/hipoc_program.cpp:300: Code object build failed. Source: naive_conv.cpp
`

i had the same issue on fedora 36 i solved it by installing the miopen-cl package from official ROCM repos, you get that error when you are missing miopen libraries

@mdrokz
Thanks for the hint (miopen-opencl).
There is currently a package/dependency issue in the rocm-arch repo that prevents testing.
I flagged the issue:
https://github.com/rocm-arch/python-pytorch-rocm/issues/51

@mdrokz
Thanks for the hint (miopen-opencl).
There is currently a package/dependency issue in the rocm-arch repo that prevents testing.
I flagged the issue:
https://github.com/rocm-arch/python-pytorch-rocm/issues/51

Ah no problem, i had the same issue on arch but could never figure out what was wrong, when i switched to Fedora i stumbled upon an YouTube video that showed how to install rocm and miopen

@grinness @mdrokz Huge logs impede reading. Please read this and edit your comments: https://github.com/ROCmSoftwarePlatform/MIOpen/wiki/How-to-insert-console-logs-into-github-pages

@mdrokz Please avoid quoting huge logs. You can insert a link to the comment that contains log. Thanks.

@grinness

In file included from /usr/lib/clang/14.0.6/include/cuda_wrappers/complex:35:

Usage of this file looks suspicious. HIP compiler should use header from /opt/rocm/llvm/lib/clang/14.0.0/include/cuda_wrappers. I think this is configuration problem. Please check if you've used CXX=/opt/rocm/llvm/bin/clang++ cmake ... as necessary.

@atamazov
rocm, pytorch and pytorch vision come from the rocm-arch AUR repos -- and there are possibly 50+ packages
Looking at miopen-hip PKGBUILD, the variable seems to be set correctly:
`
prepare() {
cd "$_dirname"
-fcf-protection is not supported by HIP, see
https://docs.amd.com/bundle/ROCm-Compiler-Reference-Guide-v5.2/page/Appendix_A.html
-fPIC fixes linking errors.
export CC=/opt/rocm/llvm/bin/clang
export CXX=/opt/rocm/llvm/bin/clang++
export CXXFLAGS="${CXXFLAGS} -fcf-protection=none -fPIC"
We can use the system SQLite and Boost
msg2 "Building dependencies"
sed -i 's|^sqlite|#\0|' {,min-}requirements.txt
sed -i 's|^boost|#\0|' {,min-}requirements.txt
sed -i 's|^ROCmSoftwarePlatform/llvm-project-mlir|#\0|' {,min-}requirements.txt
./install_deps.cmake --minimum --prefix "$srcdir/deps"
msg2 "Patching files"
for p in $srcdir/*.patch ; do
patch -p1 < $p
done
}
`

@atamazov
with regards to your query on CC and CXX env variables, python-pytorch-rocm PKGBUILD uses gcc, not the rocm clang binaries:
  export CC=/usr/bin/gcc-11
  export CXX=/usr/bin/g++-11
  export CUDAHOSTCXX=/usr/bin/g++-11
  export CUDA_HOST_COMPILER="${CUDAHOSTCXX}"
  export CUDA_HOME=/opt/cuda

I'll try to set the above to cang/clang++ and see if compiles
Thanks,
https://github.com/rocm-arch/python-pytorch-rocm/blob/master/PKGBUILD

FYI,
python-pytoch-rocm does not compile with rocm clang

[informative] I run into similar issue with ROCm 5.2.3 when building CK (composable kernels) library. I'll look into it...

Hi,
to verify if miopen-opencl backend works in place of miopen-hip for pytorch (after going around a number of packageing and dependency issues in rocm-arch AUR), I tried to compule python-pytorc-rocm (AUR) but the build breaks in multiple places ('no marching function' or 'no known conversion') -- not sure where to go from here:
In file included from /opt/hd02/projects/pkgbuild/python-pytorch-rocm.git/src/pytorch-1.12.1-rocm/caffe2/operators/hip/accuracy_op.hip:3:
/opt/hd02/projects/pkgbuild/python-pytorch-rocm.git/src/pytorch-1.12.1-rocm/caffe2/core/hip/context_gpu.h:137:22: error: no matching function for call to 'miopenSetStream'
      MIOPEN_ENFORCE(miopenSetStream(r, hip_stream));
                     ^~~~~~~~~~~~~~~
/opt/hd02/projects/pkgbuild/python-pytorch-rocm.git/src/pytorch-1.12.1-rocm/caffe2/core/hip/common_miopen.h:58:33: note: expanded from macro 'MIOPEN_ENFORCE'
        miopenStatus_t status = condition;                                  \
                                ^~~~~~~~~
/opt/rocm/include/miopen/miopen.h:194:30: note: candidate function not viable: no known conversion from 'c10::hip::HIPStream' to 'miopenAcceleratorQueue_t' (aka '_cl_command_queue *') for 2nd argument
MIOPEN_EXPORT miopenStatus_t miopenSetStream(miopenHandle_t handle,
                             ^
26 warnings and 1 error generated when compiling for gfx1030.
CMake Error at torch_hip_generated_accuracy_op.hip.o.cmake:200 (message):
  Error generating file
  /opt/hd02/projects/pkgbuild/python-pytorch-rocm.git/src/pytorch-1.12.1-rocm/build/caffe2/CMakeFiles/torch_hip.dir/operators/hip/./torch_hip_generated_accuracy_op.hip.o

@grinness I am not sure where to go as well. Thanks for opening https://github.com/rocm-arch/python-pytorch-rocm/issues/51.
Please indicate importance/urgency of this issue for you, if you have any workaround of not (e.g. you can use previous rocm) and let's stay in touch.
/cc @junliume

@atamazov,
in terms of importance: I use pytorch AI algorithms on the rocm platform and synthetic datasets as proof of concepts (POC) for work
in terms of urgency: there is no immediate urgency on my end, but I do have a list of POCs to run
I could use a docker, but most of the pre-compiled rocm distributions do not have gfx 1030 enabled (AFAIK), I could use CPU -- I do not have available another ROCM version to use or AMD gpu to swap to at the moment -- at least on the system I currently use.
If there is some solutions to test, I would be glad to do so.
Thanks

@atamazov,
in terms of importance: I use pytorch AI algorithms on the rocm platform and synthetic datasets as proof of concepts (POC) for work in terms of urgency: there is no immediate urgency on my end, but I do have a list of POCs to run (and it would be useful to verify how they work with rocm)
I could use a docker, but most of the pre-compiled rocm distributions do not have gfx 1030 enabled (AFAIK), I could use CPU -- I do not have available another ROCM version to use or AMD gpu to swap to at the moment -- at least on the system I currently use.
If there is some solutions to test, I would be glad to do so.
Thanks

Hi on arch i was using a Dockerfile as well to run ROCM on gfx1030 if you want i can share the Dockerfile with you.

@mdrokz
I tested using docker image provided in :
https://hub.docker.com/r/rocm/pytorch/#!
the latest version of the docker image supports gfx 1030 (rocm is version 5.2.0)
Convolutional neural-networs and feeed-forward neural network work fine (pytorch/torchvision) -- Note that I use standard Arch Zen Linux kernel with the docker image, not the rocm version and no issues.
It must be something with the rocm-arch packages -- I noticed that pytorch rocm in the arch repos requires hipmagma; when I compiled (on archlinux) pythorch rocm from sources for my old gpu (rx480, rocm 4.x) i did not use that (possibly not related)
Should I close this issue?
Thanks

@grinness It seems like you've run into some very specific issue. And most likely this is a configuration problem that can't be fixed in MIOpen. If the problem is now resolved for you then I do not see any reason to keep this ticket open.
@mdrokz Do you agree?

Hi all,
thanks for all the info, closing now: issue with rocm-arch repo packages
Best


Commit Section: Add Commit Message section for guidance

…sages.

Description

Add a commit message section to the CONTRIBUTING file to provide guidance.

What does this PR do?

Breaking changes

Code review focus

Dependencies

Checks

[ ] Tested with Oracle/PostgreSQL
[ ] Export updated
[ ] Documentation added
[ ] Tests added
[ ] E2e tests created
[ ] Successfully ran e2e tests before merge

closes GH-

Looks good, after you have adressed the small things mentioned above we can merge 👍


GenerateBuildeMetadata task doesn't run when 'git status' changes

Original report by me.

The task fails to declare git’s output as its input. This has  upsides of not running git describe during configuration time and reusing already built stuff through commits/rebases, but affects overall correctness.
It doesn’t matter for CI build anyway because it uses commit hash from environment variable so it doesn’t run git at all.

See also #192.


TypeError: Cannot read properties of undefined (reading 'mobile') with @oruga-ui/oruga-next 0.9.0-pre.2 and @oruga-ui/theme-bulma ^0.3.0 in Vue 3.3.13/3.4.38

Overview of the problem
Oruga version: 0.9.0-pre.2
Vuejs version: 3.3.13, 3.4.38
OS/Browser: macOS / Chrome
Description
When using the combination of:

"@oruga-ui/oruga-next": "0.9.0-pre.2"
"@oruga-ui/theme-bulma": "^0.3.0"

an error occurs during Vue browser console:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'mobile')
at mobileClass (@oruga-ui_theme-bulma.js?v=f8c54995:425:17)
at computeClass (@oruga-ui_oruga-next.js?v=1baf2177:369:19)
at getClassBind (@oruga-ui_oruga-next.js?v=1baf2177:299:29)

As a result, the application does not render anything in the browser.
Steps to reproduce

Install<EMAIL_ADDRESS>and<EMAIL_ADDRESS>in a Vue project.
Start the Vue application.
Observe the browser console for the above error.

Expected behavior
The Vue application should start successfully, and the UI should render correctly without errors.
Actual behavior
The application throws the TypeError: Cannot read properties of undefined (reading 'mobile') error, and nothing is displayed in the browser.
Thanks.

Hey @isamu, I appreciate you checking out the new pre-release version!
Unfortunately the Bulma theme is not quite ready for this new version due to some breaking changes.
The Oruga and Bootstrap themes are already updated. Try them out.
Updating the Bulma theme is one of the last open steps we have to do, but it is already in progress!

Thank you for sharing the information.
I don't want it soom but I'm looking forward to them being updated.
I am always grateful for your great work.

The bulma-theme v0.4 now supports oruga v0.9.

I try it and it is working!!
Thank you so much!!


fix:set up nav link and navigate to specific pages

Issue Title: Navbar Issues
Description
Problem
I've encountered some issues with the navbar in the project. Currently, all the navigation items are linked to the same GitHub page, which is causing confusion and is not intended behavior.
Requested Changes

Fix the navbar links to point to their respective pages or routes.
Create specific pages for the navbar items that currently have no associated pages.

Steps to Reproduce

Navigate to the project's homepage.
Observe the navigation bar.
Click on the navigation items and note the behavior.

Expected Behavior

Each navigation item should link to its respective page or route.
Navigation items that have no associated pages should not be clickable.

Contributor Information

GitHub Username: iwint
Email<EMAIL_ADDRESS>
Additional Comments
I'd like to contribute to fixing these navbar issues in the project. If needed, I'm also willing to help create the necessary pages for the navbar items that are currently unlinked. Please let me know how I can assist in resolving this issue.

@iwint ?


Can you add Inverse Sigmoid too?

According to this, there is something that it adds.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/2658
But if not, I still just wanna tell you that this tool is amazing.
And thank you for making it.
I personally use it in my main python directory and it works great!

I've thrown in a PR (#4) which implements the formula mentioned in the issue you linked. I'm not familiar with it enough to know if it is the correct one though. Hope it helps!

I'm glad you are enjoying the tool. The TLDR of below is that I'm not considering adding this right now. If enough people ask for it, I may reconsider but I wanted to at least give a reasonable explanation of why not.
The goal with implementing sigmoid-like funcs into the tool is to smooth out the transition between merge steps by artifically adjusting the distance between each step set by the user.
Why do this in the first place? When models are merged at very low (close to 0) or very high (close to 1) ratios, small changes in the ratio have a much greater effect than ratios which are closer to 0.5. The easiesy way to explain this is to say the difference between 0.1-0.2 is much greater than the difference between 0.4-0.5.
The inverse of this function, does what you might expect it to do, the opposite. Inverse smoothstep will accelerate the rate of change between steps. You can see these effects by observing the differences between the steps in the image of the linked post. With regular smoothstep you can see that the character's rounder, more "anime" style face sticks around a lot longer than it does with inverse smoothstep. Another telling sign is how quickly the glitter appears on the dress, with inverse this is visible at only 20% where smoothstep this only appears around the 40% mark.
Looking past the convergence point at 50%, it is much harder to tell in this example. However, look at the sharp transition between 90% and 100% with inverse smoothstep, there is no smooth transition here between dress and shorts. There is also no visible progression in the red waistband/ribbon detail.
The takeaway here? Inverse sigmoid/smoothstep is often times not doing anything helpful, in most cases it will make your adventure into model merging much more difficult. While subjectively, sometimes merges look better when a user ticks the box, this is nothing but chance. You are very unlikely to see a consistent improvement in results by using the inverse version of this function as it does the opposite of our goal from earlier.
When implementing smoothstep into this tool, I took careful note of why it was removed from Automatic111's repo, it's confusing for your typical user. I've tried (maybe not as sucessfully as I would like) to make this as clear as possible to the user what is happening when they enable it. This is the whole reason the graph exists in the tool in the first place. While I understand this might be a feature users want, I believe this comes from a place of ambiguity, where trial and error has lead to past sucessful results.
Sorry for the long reply, I wanted to be clear in my reasoning and I expect this question will be asked again in the future so this post can serve as a reference point.

For your information, I did read it and I do appreciate the answer and time you took on it. Makes sense to me ;)

Sorry for the post. I just figured things out, and had nowhere else to post it...
huh, I looked up what sigmoid really is. It not about being closer. It is mathematical subjectivity about movement and speed. In more layman's terms, it is how tempo of changes are nice for the eyes.
This merging is nothing to do with that, really. As „smoothstep” merging should be done with the function on the whole area of models. Instead this provides only a cut-out part in it (the function). The name should be "smoothstep's step". So to make a "smoothstep's step" of 0.25, I can just do a weighted sum of 0.1563.
To make a real  "smoothstep" merge of models, it would require to do merge of every model's layer, according to "smoothstep's steps". (or data segments it has)
So if one model had 1000layers and other had 1500 layers, it would only count those 1000 layers. So it would spread "smoothstep" into 1000 steps, to accommodate every layer (otherwise it would probably break –but I’m not sure about that). And any variation of "smoothstep" would be a variant of 50/50, as this is just a complete merge. The only reason for M in "smoothstep" would by to change central position. So M=0.25 would (in previous example) be counting first 250 layers as 250 to central point (so half "smoothstep" of 250) and 750 steps from central point (other half "smoothstep" by 750 steps). But that still would count as 50/50 of both models...


How to make sure Docker isn't configured to run Linux containers?

I have a fresh windows 2019 server setup and I followed instructions in this article.  But docker pull of nanoserver failed.
The article has a tip for this error. But it does not say how to make sure Docker isn't configured to run Linux containers.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0a1c4c54-7721-58ce-f77d-be0ef0c687bf
Version Independent ID: 70e52446-1c7b-78ff-67f2-1f6c0d058788
Content: Run your first Windows container
Content Source: virtualization/windowscontainers/quick-start/run-your-first-container.md
Product: windows-server
Technology: windows-containers
GitHub Login: @cwilhit
Microsoft Alias: crwilhit

Found the problem, I need to get a different tag for my OS version (10.0.17763.1457).  The nanoserver table is here.

docker pull mcr.microsoft.com/windows/servercore:1809-amd64

docker run -it mcr.microsoft.com/windows/nanoserver:1903 cmd.exe

...


Incremental Computation for Testing

Specification
Once the tests get to a certain size, we really want to only run the tests that have been changed by the files/commits.
Integration tests will still run all the tests. That is tests on staging branch would run through everything, but during feature commits, we can reduce cost by only running tests that have been affected by the changes.
Jest has some ability to do this:

https://stackoverflow.com/questions/67008800/jest-is-there-a-solution-to-run-tests-only-for-changed-impacted-files
https://suncommander.medium.com/run-jest-for-unit-tests-of-modified-files-only-e39b7b176b1b

We could locally override this with a special commit [ci test] label that we can program ourselves.
Additional context

https://stackoverflow.com/questions/67008800/jest-is-there-a-solution-to-run-tests-only-for-changed-impacted-files
https://suncommander.medium.com/run-jest-for-unit-tests-of-modified-files-only-e39b7b176b1b
#54 - also relevant for benchmarking and profiling, but these are a little different

Tasks

...
...
...

In PK, we are also generating a child pipeline of tests, so that tests can be run in parallel. This works fine if the gitlab ci/cd jobs have low overhead in starting.
An alternative is test load balancing, where you split tests between workers, so one job may run multiple tests. We do this by directory, but it may need to be done more dynamically.

If we are splitting by nominal tests, this could mean some jobs don't run any tests at all because nothing was changed. It's far better to have never started that job in the first place.
Therefore the more scalable option is test load balancing, where the test planner in the beginning can figure out what tests need to run based on changes, and then distribute those tests across multiple test jobs.
We lose some nice separation of pipeline logs however, but perhaps we gain that with gitlab's test reporting. Currently the unit test reports on the CI/CD doesn't really show all test execution information. This is because we have logs that go straight to STDERR that isn't captured by jest, and thus the junit report. During debugging we prefer that they show up on stderr instead of being captured by jest, but I guess during CI/CD it makes sense for the entire log to show up instead.

Also see:

In another world, the tsc incremental compilation could work without needing us to delete the dist directory. It would maintain correctness and ensure any files deleted is also deleted in the target dist directory. It looks like this is actually possible with a new mode of tsc: https://www.typescriptlang.org/docs/handbook/project-references.html#tsc--b-commandline

We should incorporate sanity checking/smoke testing into our testing phases.

https://en.wikipedia.org/wiki/Sanity_check
https://en.wikipedia.org/wiki/Smoke_testing_(software)

The initial incremental tests act as a smoke test/sanity check on the changes in the software. If the incremental tests don't pass, there's no need to do full unit testing (check stage).
Then only after full unit testing has passed check-stage, do we proceed to do a cross-platfrom build-stage testing which tests all unit tests across all platforms. And only if this passes do we do cross-platform and staging deployment integration testing.
This diagram is useful: https://en.wikipedia.org/wiki/Bathtub_curve.
What's interesting is by separating the components into different npm packages, we end up with potential separate CI/CD stages across each component, that gives us some fine-grained analytics on the failure rates of each component.

One way to reduce useless CI/CD is to skip not only [ci skip] but any commit that says WIP as a prefix. This is because these commits are likely already broken and not worth running any jobs on.

This is sort of achieved already by factoring out libraries from Polykey. A big move is going to be CLI portion factored out to Polykey-CLI.
I find it difficult to note what tests need to run from tests because JS is very dynamic. So I think we will close this for now.


Add hair sprite for example to my human character

HI Alex, I'm triying to replicate your guide video from here, but I don't know how to just download the things like hair, weapons separately, can you help me please?
Thanks in advance!

Other question too, i have an character with a spear and shield, and after import that .png to godot most of the actions animations dosnt show the weapon and shield :(

Another question, why most of the weapons dosnt make the slash or attack animation showing it? its like im hitting with the hand lol

Hi! all the spritesheets are here: https://github.com/sanderfrenken/Universal-LPC-Spritesheet-Character-Generator/tree/master/spritesheets

Hi! all the spritesheets are here: https://github.com/sanderfrenken/Universal-LPC-Spritesheet-Character-Generator/tree/master/spritesheets

Thanks Alex that really great!!! Can you tell me please how to add long sword slash.png for example to my character? i did like in your video but nothing happens

There are a new version on the way (not released yet) that suports oversized weapons, you can download directly from github repository: https://codeload.github.com/alextrevisan/LPCAnimatedSprite2D/zip/refs/heads/main
In this version there are a simple example project that you can see this oversized weapons working

thanks!!!! thats awesome!!!!! considering im really noob in Godot terms, and im in Godot 4, i tried like 24 hours to make a code for walk but cant get to attack propperly... can you please, write a simple code for the control of the characterbody2d for get the player moving to the 4 sides, up, down, right, left, and attack in the direction im looking while i press space? i will appreciate so much if you add a reference to add the longsword.png on the code too, so then i and more ppl will learn how to add that oversized items into the game :)
Thanks in advance my friend!!!!

The problem with the attack is that you are using the current direction you are pressing. If you save that into a variable, then use it like this (not actual code, just the idea)
var lastDirection
if direction.x != 0:
    lastDirection = RIGHT if direction.x > 0 else LEFT

if is_attacking:
    if lastDirection == LEFT:
        animation = LPCAnimatedSprite2D.LPCAnimation.SLASH_LEFT
   elif lastDirection == RIGHT .........

this is the idea, if you keep the last direction you can play any action with that direction

Thanks really Alex!

Can you share your project? maybe I can help more

Thanks Alex!!
I'm on Masmorra discord, you mean this one?

Yes, send me a message (Masmorra)


Add groupby shift method

[x] Closes #7095
[x] Tests added / passed
[x] Passes pre-commit run --all-files

I have to implemented the shift method following the transform and apply methods. Let me know if you'd like any changes/improvements.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

ok to test

rerun tests

This is in @kori73! Thanks for doing this work :)


"Convolution" across two matrices

Are there any plans to implement "convolutions" wherein we have a moving patch over a second matrix that acts as a changing filter?
This would be useful for implementing kernels such as this one:
https://papers.nips.cc/paper/5348-convolutional-kernel-networks.pdf
I asked whether a restricted version of this could be achieved by using already existing tf ops on stack overflow. After thinking about it for a while though I don't think there's a way to do this in an efficient manner
For a simple convolution with no strides I could do something like:
filters = tf.extract_image_patches(filter_matrix, [filter_height, filter_width], [1, 1, 1, 1], [1, 1, 1, 1], padding)
filters = tf.reshape(filters, [out_rows * out_cols, filter_height, filter_width, n_channels])
filters = tf.transpose(filters, [1, 2, 3, 0])
tf.conv2d(image, filters, [1, 1, 1, 1], padding)
but it seems inefficient since I'd be generating an intermediate tensor that is going to be about filter_height * filter_width larger than filter_matrix.
If there is a need for such an op but no plans to implement it in the immediate future, I'm happy to look into adding it.

Actually, the final output of the operation should be much larger than the tensor generated by extract_image_patches. Can't really see a reason to implement the op closing the issue.


Disallow floating promises

Ensure that all promises are either awaited or are explicitly detached (with void).
While working on an alternate version of #68, I found quite a few places where async functions were called without awaiting their result, making it easy to accidentally run things in parallel. Also, it was sometimes difficult to tell what the  Promise<void> returned by some of the internal async functions signified. For example, CollectionSynchronizer.addDocument returns a promise that resolves when the sharePolicys for all its peers is known, it has nothing to do with when the document is synced. Finally some internal functions were async despite never awaiting anything.
This PR fixes the above issues and updates some tests so that eslint passes.

Thanks for your continued work on this, Dylan. I will try to look at this shortly.
Can I just check, are any of the changes to the tests due to the alterations you have made to the async functions, or are they purely because of including them in eslint?

@acurrieclark the test changes are indeed meant to eliminate no-floating-promises errors in the tests. I tried to preserve the intent of the test rather than just adding void everywhere, unfortunately it makes the diff a bit noisy.
Also it looks like the error comes from .ts files in test being included in tsconfig.json. I'll try to figure out what's going on. Maybe a missing dev-dependency?

So currently a few of the tests in automerge-repo tests depend on workspace packages (which in turn depend on automerge-repo), but these dependencies aren't listed in package.json, they just happen to always be present in the workspace-global node_modules once it is built. Adding them to devDependencies creates a cyclic dependency which causes lerna run build to fail on CI with a weird error message (it succeeds locally).
I guess the solution is to move the integration tests to another package to break the cycle.

I assume these are only showing up now because the test files have been added to the tsconfig.json includes?

@acurrieclark that's correct. You can omit them from both eslint and tsc as before but...you probably want to be type-checking your tests?

Hi! I'm back from my vacation and catching up on PRs and cutting new releases. This patch looks great -- thanks so much for contributing it. Some of the gratuitous async tags were the result of historical versions of the API where these functions were async for one reason or another but I think in general less asynchrony is better. I'm going to merge this though I suspect there may be some breakage in blutack.

Merged & pushed, thanks!


fix use engine_config.tp when tp is None

Motivation
fix memory equality check
Modification
use engine_config.tp when tp is None
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

Hi @lvhan028 @AllentDan May you help review this pr? Thanks.


libgcc-ng >=12 needed for installation

conda installation returns error:
nothing provides libgcc-ng >=12 needed by simpleaf-0.2.1-h9f5acd7_0

Perhaps try adding Conda-forge to your list of channels, they seem to have a sufficient version here.
conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict

conda config --add channels conda-forge  works. Thanks.


fix: improve navbar

Pull Request
Title

Improving the current navbar to make it look more stylish
Related Issues

Fixes: https://github.com/VaibhavArora314/StyleShare/issues/130
Changes Made

added logo to navbar, changed font, certain classes, etc
Checklist

[x] I have tested the changes locally

Screenshots (if applicable)

https://github.com/VaibhavArora314/StyleShare/assets/128628820/b3d2fa51-1b38-4e30-8a9b-713f005a9b93

Hi; fixed the issue, you can merge the pr


Refactor PropertyGrid

Changes

PropertyGrid was overhauled and now uses a MVVM and DataTemplates
PropertyGrid fields can now be customized, by replacing the PropertyGridTemplateSelector with a custom one
PropertyGrid ViewModels were added (one for each BCL type)
fixed a bunch of warnings
added an extension for searching controls that will throw if the required control wasnt found, fixing various nullable warnings
replaced Thread.Sleep with Task.Delay
applied best practices for async usage
added IsExternalInit  class,  which allows us to use C# 9's init and record features in older target frameworks like .NET Standard 2.0

Outstanding Issues

PropertyGrid could support more BCL types like colors with a colorpicker for example
not all warnings were fixed
PropertyGridWindow has a transparent backround for some reason, didnt figure out why

Had the idea to style the propertygrid with the settingslayout control, to be able to do a complete responsive settings page with just a viewmodel 🤔

Had the idea to style the propertygrid with the settingslayout control, to be able to do a complete responsive settings page with just a viewmodel 🤔

Thats still possible, only have to replace the ItemsControl in the PropertyGrid with the SettingsLayout. All the other parts are public and can be used for that aswell.