diff options
author | 2025-02-15 20:29:57 +0100 | |
---|---|---|
committer | 2025-02-15 20:29:57 +0100 | |
commit | 3e421d6685226ad71ad24d1a91578cc49c4afeb6 (patch) | |
tree | c29bbe4eca5b60b3e88416facf780f79f2f0da74 /sci-libs | |
parent | sys-fs/fswatch: add 1.18.3, drop 1.17.1 (diff) | |
download | gentoo-3e421d6685226ad71ad24d1a91578cc49c4afeb6.tar.gz gentoo-3e421d6685226ad71ad24d1a91578cc49c4afeb6.tar.bz2 gentoo-3e421d6685226ad71ad24d1a91578cc49c4afeb6.zip |
sci-libs/torchvision: fix sandbox issue
Closes: https://bugs.gentoo.org/949746
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/torchvision/torchvision-0.20.0.ebuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-libs/torchvision/torchvision-0.20.0.ebuild b/sci-libs/torchvision/torchvision-0.20.0.ebuild index 4bb2809c1d9d..88443c235d3f 100644 --- a/sci-libs/torchvision/torchvision-0.20.0.ebuild +++ b/sci-libs/torchvision/torchvision-0.20.0.ebuild @@ -46,6 +46,8 @@ src_prepare() { distutils_enable_tests pytest python_compile() { + addpredict /dev/kfd + FORCE_CUDA=$(usex cuda 1 0) \ NVCC_FLAGS="${NVCCFLAGS}" \ MAX_JOBS="$(makeopts_jobs)" \ |