summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-03-08 19:44:22 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-03-08 19:45:34 +0100
commit4eb8205d726b5460edf6a0071e44170b4ad06f38 (patch)
tree390dc540b30bc22911b57b45393c57c9c7fa9092 /sci-libs/pytorch/files
parentsci-libs/caffe2: add 2.2.1 (diff)
downloadgentoo-4eb8205d726b5460edf6a0071e44170b4ad06f38.tar.gz
gentoo-4eb8205d726b5460edf6a0071e44170b4ad06f38.tar.bz2
gentoo-4eb8205d726b5460edf6a0071e44170b4ad06f38.zip
sci-libs/pytorch: add 2.2.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/pytorch/files')
-rw-r--r--sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch b/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch
new file mode 100644
index 000000000000..2b4839baec5b
--- /dev/null
+++ b/sci-libs/pytorch/files/pytorch-2.2.1-emptyso.patch
@@ -0,0 +1,13 @@
+--- a/setup.py 2024-03-08 19:34:42.148677983 +0100
++++ b/setup.py 2024-03-08 19:34:52.402558423 +0100
+@@ -1019,10 +1019,6 @@
+ extensions.append(
+ Extension(name="caffe2.python.caffe2_pybind11_state_hip", sources=[]),
+ )
+- if cmake_cache_vars["BUILD_FUNCTORCH"]:
+- extensions.append(
+- Extension(name="functorch._C", sources=[]),
+- )
+
+ cmdclass = {
+ "bdist_wheel": wheel_concatenate,