aboutsummaryrefslogtreecommitdiff
path: root/libraries/pytorch/pytorch.SlackBuild
diff options
context:
space:
mode:
authorgitbearflying <34683119+gitbearflying@users.noreply.github.com>2024-06-16 10:06:10 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-17 06:48:59 +0700
commit6aa5e9c05b3a0ad55b10394fc232ec5a8ef69bc8 (patch)
tree265f6def02a7eb1d4b6b204e9e37c51a50496aff /libraries/pytorch/pytorch.SlackBuild
parent015514d47793f2329011db6bc364d5e2dcf83998 (diff)
libraries/pytorch: Updated for version 2.3.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pytorch/pytorch.SlackBuild')
-rw-r--r--libraries/pytorch/pytorch.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/libraries/pytorch/pytorch.SlackBuild b/libraries/pytorch/pytorch.SlackBuild
index 4e39d77ef4..4a75253f3d 100644
--- a/libraries/pytorch/pytorch.SlackBuild
+++ b/libraries/pytorch/pytorch.SlackBuild
@@ -25,9 +25,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pytorch
-VERSION=${VERSION:-2.3.0}
+VERSION=${VERSION:-2.3.1}
VERSION_SIX=1.11.0
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -86,9 +86,9 @@ sed -i c10/CMakeLists.txt \
# Make Vulkan Warnings not to make the build fail
sed -i "/Werror=return-type/d" CMakeLists.txt
-# When compiled with icecream, building dnnl-mkl outputs errors like "unspellable token PRAGMA_EOL".
-# This seems harmless as these get recompiled again locally, but it slows down the building process.
-# See https://github.com/icecc/icecream/issues/336
+# Fix compilation with nvidia-cuda-toolkit-12.4.0
+# https://github.com/pytorch/pytorch/issues/122169
+patch -p0 < $CWD/boxing.patch
cd build
unshare -n cmake \