summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-10 00:01:14 +0100
commit17e5f1ea4a2e1c5664f96480ca46348d008e8711 (patch)
tree7166d1b58a582290a4ad23ff5882cca911b8035c /sci-libs
parenta0ce545d52f231499bf9f3644493113d8af58ec9 (diff)
gentoo auto-resync : 10:05:2024 - 00:01:13
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin44669 -> 44674 bytes
-rw-r--r--sci-libs/caffe2/Manifest4
-rw-r--r--sci-libs/caffe2/caffe2-2.3.0-r3.ebuild (renamed from sci-libs/caffe2/caffe2-2.3.0-r2.ebuild)8
-rw-r--r--sci-libs/caffe2/metadata.xml1
4 files changed, 9 insertions, 4 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 13efe115208e..4ed8ed4d54a1 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest
index 74ad4651268f..8bc33101739b 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -18,5 +18,5 @@ DIST pytorch-2.2.2.tar.gz 116367503 BLAKE2B 0be22f2ec4b9aac6f5e976664cae01facf07
DIST pytorch-2.3.0.tar.gz 117029829 BLAKE2B 8f9c0d71ee0a9219b495eddccdcc65107f7ad537c43c68100b229f3d27b0e6c01ccb1659c7fffc356a48d80f2adc0a10361305dc8f1df20446de837d380f89f6 SHA512 67f7e9a096c3ffb952206ebf9105bedebb68c24ad82456083adf1d1d210437fcaa9dd52b68484cfc97d408c9eebc9541c76868c34a7c9982494dc3f424cfb07c
EBUILD caffe2-2.1.2-r7.ebuild 7930 BLAKE2B 4fd832a61e952491d3825b6e1faf7a12c17ffdcb24c125b8da470831a5dc9f6afb7afe162be07ade4faec5d2cc77c40a7afc755cd8e1eea066b76181d68a90f1 SHA512 e0f94a21539aef4dba8208a14c42342f72a6ec63cc7aa59ce7dd49aa92d6c2adb876d0ce13416a437c9ace7628e81bfb31c2ab65c4cdcb19989163ad3fb7cc03
EBUILD caffe2-2.2.2-r1.ebuild 7452 BLAKE2B 6b4c14a8304ef36349f6442616bb1e2a9563596293ea507ffd1d9083fc01c251dd237db3babbdc9841273b7c31b8ac4b420e3047e6ffd128763ca9afc4b6aa16 SHA512 cfa525d40f3dfbcd4dcf7e31cb772dcd809d528981925b50239961e91ae2147723d261b71f433e5a22e73f59b0bd156a97d84b385d1d5bfffd51db9fc6db2b57
-EBUILD caffe2-2.3.0-r2.ebuild 7486 BLAKE2B 9366765f5a8075e23004ff6103f921d5974512c881771c659bab16677318818f5b0c0bd17a909e2dff693fd31305b40f40feb02e6a3afeff29f5b600056c5c87 SHA512 e57bf3a7d46bebc062ed7abc4006947f8abf5f92beedd0b31502c7a641958a617d66245affd8a12d816bfc2e74e672b517478ef7b83225e746bf26f33000a901
-MISC metadata.xml 1222 BLAKE2B f7224dcb5025c7979dc9060a6fcf26d1f5b724a266cec61b8244c9b7c5f223abc5f00d89ffef1011096c754e418b0ff041b67306b8b68b58c38ea9da56fb5a3c SHA512 7d2d04905fd85d3a5857327f9f9274fee9d262ea2cba4eabd42716a231abd1207118c141df65b3fe86956ef77c55440625d660a0a4b27cdaa573d25d2931d1de
+EBUILD caffe2-2.3.0-r3.ebuild 7542 BLAKE2B 6b230db4d2a033b5078e8c61e40955a0981aa3b6b06734145e4bec8f78719329a3825218045a8f57efce9bfddad7b252ee4447d82cc0637db8656d5f8178b9cc SHA512 d3861111081d26a883790e7a5097ddf77ef2e491eb4471a3cc95d25e659ad8c283c22bda5674cb09d575768da5b6a401ea5347febd4f194dbedd4196d1ac628d
+MISC metadata.xml 1273 BLAKE2B 2021a10ffae1fb62699a965d4b88465200fee43adff9e22223d715d0f0623a60cb242d6b919f5835b933add1599f54c1abbbd557ecd60896a7c59742d17bf72f SHA512 a5bfe7df09355ac8b64df4970f2562eb52dfcb7c542b2b17297d20ce4958f2a2e8afe292051efb0766380c19593ce00cf7b3bb1b2b63c0ab95bd113dbd8792e5
diff --git a/sci-libs/caffe2/caffe2-2.3.0-r2.ebuild b/sci-libs/caffe2/caffe2-2.3.0-r3.ebuild
index 41630a00aa19..c01e904d8eb0 100644
--- a/sci-libs/caffe2/caffe2-2.3.0-r2.ebuild
+++ b/sci-libs/caffe2/caffe2-2.3.0-r3.ebuild
@@ -20,7 +20,7 @@ S="${WORKDIR}"/${MYP}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="cuda distributed fbgemm ffmpeg gloo mkl mpi nnpack +numpy onednn openblas opencl opencv openmp qnnpack rocm xnnpack"
+IUSE="cuda distributed fbgemm ffmpeg flash gloo mkl mpi nnpack +numpy onednn openblas opencl opencv openmp qnnpack rocm xnnpack"
RESTRICT="test"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
@@ -28,7 +28,10 @@ REQUIRED_USE="
mpi? ( distributed )
gloo? ( distributed )
?? ( cuda rocm )
- rocm? ( || ( ${ROCM_REQUIRED_USE} ) )
+ rocm? (
+ || ( ${ROCM_REQUIRED_USE} )
+ !flash
+ )
"
# CUDA 12 not supported yet: https://github.com/pytorch/pytorch/issues/91122
@@ -172,6 +175,7 @@ src_configure() {
-DUSE_FAKELOWP=OFF
-DUSE_FBGEMM=$(usex fbgemm)
-DUSE_FFMPEG=$(usex ffmpeg)
+ -DUSE_FLASH_ATTENTION=$(usex flash)
-DUSE_GFLAGS=ON
-DUSE_GLOG=ON
-DUSE_GLOO=$(usex gloo)
diff --git a/sci-libs/caffe2/metadata.xml b/sci-libs/caffe2/metadata.xml
index ed1f9fa58993..43aee37ffc47 100644
--- a/sci-libs/caffe2/metadata.xml
+++ b/sci-libs/caffe2/metadata.xml
@@ -9,6 +9,7 @@
<flag name="distributed">Support distributed applications</flag>
<flag name="fbgemm">Use FBGEMM</flag>
<flag name="ffmpeg">Add support for video processing operators</flag>
+ <flag name="flash">Enable flash attention</flag>
<flag name="gloo">Use sci-libs/gloo</flag>
<flag name="mkl">Use <pkg>sci-libs/mkl</pkg> for blas, lapack and sparse blas routines</flag>
<flag name="nnpack">Use NNPACK</flag>