diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2024-08-23 18:12:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-08-23 20:26:23 +0700 |
commit | 7d079e534d4f4d9a23177ef67368b0545b0b3ac9 (patch) | |
tree | e2dd67b04f64009fc882586676be172339347d71 /libraries/pytorch/boxing.patch | |
parent | 2a829513820318c3ed00de9fc067257a5705dd49 (diff) |
libraries/pytorch: Updated for version 2.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pytorch/boxing.patch')
-rw-r--r-- | libraries/pytorch/boxing.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libraries/pytorch/boxing.patch b/libraries/pytorch/boxing.patch deleted file mode 100644 index 4d28fd2c8c2e5..0000000000000 --- a/libraries/pytorch/boxing.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- aten/src/ATen/core/boxing/impl/boxing.h.orig 2024-06-16 07:55:38.662684245 +0200 -+++ aten/src/ATen/core/boxing/impl/boxing.h 2024-06-16 07:58:43.690715864 +0200 -@@ -39,7 +39,15 @@ - struct has_ivalue_to : std::false_type {}; - - template <class T> --struct has_ivalue_to<T, std::void_t<decltype(std::declval<IValue>().to<T>())>> -+struct ivalue_to_helper -+{ -+ using type = decltype(std::declval<IValue>().template to<T>()); -+}; -+template <class T> -+using ivalue_to_helper_t = typename ivalue_to_helper<T>::type; -+ -+template <class T> -+struct has_ivalue_to<T, std::void_t<ivalue_to_helper_t<T>>> - : std::true_type - {}; - |