commit:     71ae403f9a3c83a44bd3f4e1803e389f83611b49
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Mar 15 17:16:21 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Mar 15 18:28:10 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71ae403f

sci-ml/caffe2: require flash for memefficient+rocm combination

Upstream bug: https://github.com/pytorch/pytorch/issues/177485

Closes: https://bugs.gentoo.org/970638
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45941
Closes: https://github.com/gentoo/gentoo/pull/45941
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/caffe2/caffe2-2.10.0-r5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-ml/caffe2/caffe2-2.10.0-r5.ebuild 
b/sci-ml/caffe2/caffe2-2.10.0-r5.ebuild
index 87d0c37ed765..aa376f4452a1 100644
--- a/sci-ml/caffe2/caffe2-2.10.0-r5.ebuild
+++ b/sci-ml/caffe2/caffe2-2.10.0-r5.ebuild
@@ -54,6 +54,7 @@ REQUIRED_USE="
        ?? ( cuda rocm )
        rocm? (
                || ( ${ROCM_REQUIRED_USE} )
+               memefficient? ( flash )
        )
        cusparselt? ( || ( cuda rocm ) )
        flash? ( || ( cuda rocm ) )

Reply via email to