summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin43605 -> 43599 bytes
-rw-r--r--sci-libs/caffe2/Manifest4
-rw-r--r--sci-libs/caffe2/caffe2-1.13.1-r3.ebuild (renamed from sci-libs/caffe2/caffe2-1.13.1-r1.ebuild)11
-rw-r--r--sci-libs/caffe2/metadata.xml1
4 files changed, 11 insertions, 5 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index e7ae09a73fcc..9c401804e590 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 038d720b6cb5..72f0871a8d75 100644
--- a/sci-libs/caffe2/Manifest
+++ b/sci-libs/caffe2/Manifest
@@ -3,5 +3,5 @@ AUX caffe2-1.12.0-glog-0.6.0.patch 959 BLAKE2B eb0c18a34a2c5a1b68a420b9001eac5c8
AUX caffe2-1.13.0-gentoo.patch 8000 BLAKE2B a11a6bccac970ce8658041db20f90814183a8eef45571565512bafa9f172348f08ccdb67f5e543c8f9e236a6283f2d50a608cfc671e18886319a82dc84cd95e5 SHA512 20a43490cb80174fc688f7a773ac332362a5a013885a7cfdfdfe89996bc3e2483ad4b29149d71730213174d27d8534707813e825bdf4ea3e3bc7b664bad39953
AUX caffe2-1.13.0-install-dirs.patch 5737 BLAKE2B 10b10e3a29976344c7596e1c4e7a604856c66d91cb7518308422f7ffac82ffe183dc81becab27866814c06e321e97458ab6a6908aa01379299c7fdf8fdccf153 SHA512 1e2e4f646cec24b5373872865522a909d1c154623e232c06e3da361e4d29b8d7520c446f53fbf42aab5f00bab05d1f278ce9425e506a9a5ac73cbb10570bd325
DIST pytorch-1.13.1.tar.gz 108279745 BLAKE2B 75de03b74dfdaf8d8fb5ea743fcc0c1b0e408a714ad4160c487921220a7b1755e5fa6e587e6bbc8c9f34dd75e096d2e6dd69c80d24821835fff6c833314434d3 SHA512 f16f89d027efade11d057245cad5b69a390e88b458398310ae30de2dbff7c8fd7f1165be7b8da7ea989c81ac3f5a66c5cb9050610e441a97c83fb8aa28c0bd62
-EBUILD caffe2-1.13.1-r1.ebuild 4612 BLAKE2B e11695f4676ff0c03860486a5243ff9b23172c71f177e71a96af310373fae69dd6b5a9b376479be52e878e93b22fd1d865c9c2c7af726aaa593d6859eefa421d SHA512 093fd006dd16f340ad562f1d2caf4d45432ab5abe7513313b9e756736a56c90ed1b4fca660a27e5cdfb08f88286c76a732e0f54c666a4d35dd4e8add42c29fdd
-MISC metadata.xml 961 BLAKE2B 7e0924bce6c952cf8b5e997a50e11aad18d572060087ab877d9600399712a6e46f7bee9938aef6b7af142de21046c1cbe541302a68a20072d1040e7b084b202c SHA512 9ff387a4d11eb83799665e38690f0c668ea6147ab92cc8fd68d4fb60590e51863d4530b885f71bd660429c6d38e573a2a7d8fca5e0139b82111ab05cb61b67d9
+EBUILD caffe2-1.13.1-r3.ebuild 4817 BLAKE2B 55554f64cd8a95fb67a36524dba2c9f3ef31f0cfc20108b76ce9012a15f1046c99a4af78236339bbe2f6348886073c29301072c8f5e5242bc5763e74ff56155d SHA512 0873a899c7b4832997acd294e3a46a78007eaeb43c53f6679804ffc201489f0a37db65b626bc2dd2564ef0b4924672770cc860d8455cf2110d98a0f82bfcff8f
+MISC metadata.xml 1028 BLAKE2B 7b98f48c3ae2e16411d70a9b23aeddd6d06972332429fea861790aef53549b53fcff06ab504cacfccc5760abe42ca1ebf4f6fa5639077fb5efbfbd21d02f0660 SHA512 49a1b692b75b5f3c98d8b952a51a366ca2e2ead61cfa9cb9383cd5273c516daead1d0ccf4719443e082d1526573aa7d0667f4e4043db00a0d76c0feb20071014
diff --git a/sci-libs/caffe2/caffe2-1.13.1-r1.ebuild b/sci-libs/caffe2/caffe2-1.13.1-r3.ebuild
index c2bc254f2787..04521a5c26ef 100644
--- a/sci-libs/caffe2/caffe2-1.13.1-r1.ebuild
+++ b/sci-libs/caffe2/caffe2-1.13.1-r3.ebuild
@@ -17,13 +17,15 @@ SRC_URI="https://github.com/pytorch/${MYPN}/archive/refs/tags/v${PV}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="cuda ffmpeg nnpack +numpy opencl opencv openmp qnnpack xnnpack"
+IUSE="cuda distributed ffmpeg mpi nnpack +numpy opencl opencv openmp qnnpack xnnpack"
RESTRICT="test"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
ffmpeg? ( opencv )
+ mpi? ( distributed )
" # ?? ( cuda rocm )
+# CUDA 12 not supported yet: https://github.com/pytorch/pytorch/issues/91122
RDEPEND="
${PYTHON_DEPS}
dev-cpp/gflags:=
@@ -39,9 +41,10 @@ RDEPEND="
cuda? (
=dev-libs/cudnn-8*
dev-libs/cudnn-frontend:0/8
- dev-util/nvidia-cuda-toolkit:=[profiler]
+ <dev-util/nvidia-cuda-toolkit-12:=[profiler]
)
ffmpeg? ( media-video/ffmpeg:= )
+ mpi? ( sys-cluster/openmpi )
nnpack? ( sci-libs/NNPACK )
numpy? ( $(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
@@ -107,7 +110,8 @@ src_configure() {
-DUSE_CUDNN=$(usex cuda)
-DUSE_FAST_NVCC=$(usex cuda)
-DTORCH_CUDA_ARCH_LIST="${TORCH_CUDA_ARCH_LIST:-3.5 7.0}"
- -DUSE_DISTRIBUTED=OFF
+ -DUSE_DISTRIBUTED=$(usex distributed)
+ -DUSE_MPI=$(usex mpi)
-DUSE_FAKELOWP=OFF
-DUSE_FBGEMM=OFF # TODO
-DUSE_FFMPEG=$(usex ffmpeg)
@@ -131,6 +135,7 @@ src_configure() {
-DUSE_ROCM=OFF # TODO
-DUSE_SYSTEM_CPUINFO=ON
-DUSE_SYSTEM_PYBIND11=ON
+ -DUSE_UCC=OFF
-DUSE_VALGRIND=OFF
-DPYBIND11_PYTHON_VERSION="${EPYTHON#python}"
-DPYTHON_EXECUTABLE="${PYTHON}"
diff --git a/sci-libs/caffe2/metadata.xml b/sci-libs/caffe2/metadata.xml
index 25a171ff1680..f009baee81bb 100644
--- a/sci-libs/caffe2/metadata.xml
+++ b/sci-libs/caffe2/metadata.xml
@@ -11,6 +11,7 @@
</maintainer>
<use>
<flag name="cuda">Add support for CUDA processing</flag>
+ <flag name="distributed">Support distributed applications</flag>
<flag name="ffmpeg">Add support for video processing operators</flag>
<flag name="nnpack">Use NNPACK</flag>
<flag name="numpy">Add support for math operations through numpy</flag>