From 6aa5e9c05b3a0ad55b10394fc232ec5a8ef69bc8 Mon Sep 17 00:00:00 2001 From: gitbearflying <34683119+gitbearflying@users.noreply.github.com> Date: Sun, 16 Jun 2024 10:06:10 +0200 Subject: libraries/pytorch: Updated for version 2.3.1 Signed-off-by: Willy Sudiarto Raharjo --- libraries/pytorch/pytorch.SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libraries/pytorch/pytorch.SlackBuild') 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 \ -- cgit v1.2.3