sci-ml/accelerate: drop 1.6.0-r5

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone 2025-11-11 18:44:49 +01:00
parent 6413a4c5b2
commit 828497e225
No known key found for this signature in database
GPG Key ID: FBE5925C5B02CE58
2 changed files with 0 additions and 54 deletions

View File

@ -1,2 +1 @@
DIST accelerate-1.6.0.gh.tar.gz 963945 BLAKE2B 2d3c006f8290414279a53b4bea725e8227ff69288bb4984bfbef00fa0f40999fcd53faf1ff45e351e2c36020b448970e7a36415e6de0cac3c6952bea17e5e62b SHA512 cb516be77c9c05313d6a79fc846a2635fd3635e0391d061deb22692eb7b8ff9bcb2fa03926ccf76587f6d929dcd1a9089cdb2d2004567befc5f4daca71c05224
DIST accelerate-1.7.0.gh.tar.gz 1310068 BLAKE2B e56b4e75b40eb4fa02dfec7af11ed250dce99cc9d2599b9baf2fc0938bbf378b76e7fc36d60b8732dc2fe15a8216469c7a19b4efcb9f769197d7fcf56736304c SHA512 1689218d2877854492fda13a3eb171e15bc60db5682364ef8de79c5a1cc900288ba2145ffe4fc9438254b919aeca8e4162d56b9eb2b982b029c378804be1e128

View File

@ -1,53 +0,0 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
DESCRIPTION="Run your *raw* PyTorch training script on any kind of device"
HOMEPAGE="https://github.com/huggingface/accelerate"
SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
sci-ml/huggingface_hub[${PYTHON_SINGLE_USEDEP}]
sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
sci-ml/safetensors[${PYTHON_USEDEP}]
')
"
DEPEND="${RDEPEND}"
BDEPEND="test? (
$(python_gen_cond_dep '
dev-python/networkx[${PYTHON_USEDEP}]
dev-python/parameterized[${PYTHON_USEDEP}]
sci-ml/clearml[${PYTHON_USEDEP}]
')
sci-ml/caffe2[gloo]
sci-ml/evaluate[${PYTHON_SINGLE_USEDEP}]
sci-ml/torchdata[${PYTHON_SINGLE_USEDEP}]
)"
distutils_enable_tests pytest
python_test() {
local EPYTEST_DESELECT=(
tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_with_buffer_check
tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_with_buffer_check_and_multi_devices
tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_with_fallback_allocation_and_buffers
tests/test_utils.py::UtilsTester::test_patch_environment_key_exists
tests/test_examples.py::FeatureExamplesTests
)
epytest tests
}