This virtual package provides the following dependencies:
Install this version:
emerge -a =virtual/caffe2-2.12.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =virtual/caffe2-2.12.0
Or alternatively:
emerge --autounmask-write -a =virtual/caffe2-2.12.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.12.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual for caffe2/PyTorch backend"
HOMEPAGE="https://pytorch.org/"
LICENSE="metapackage"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+rocm cuda"
REQUIRED_USE="|| ( rocm cuda )"
RDEPEND="
rocm? ( ~sci-ml/caffe2-rocm-${PV} )
cuda? ( ~sci-ml/caffe2-cuda-${PV} )
"
Manage flags for this package:
euse -i <flag> -p virtual/caffe2 |
euse -E <flag> -p virtual/caffe2 |
euse -D <flag> -p virtual/caffe2