diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-11 09:27:04 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-11 09:27:04 -0500 |
| commit | b69dfec710446b669325105bc26df250226eb2a5 (patch) | |
| tree | 17d8cba2edf3f89d075e90bfeec6b43d7c3f0524 /sci-ml | |
| parent | 1d6465b5d865e6a9fa135b506299b31e5e2ebfc1 (diff) | |
| download | baldeagleos-repo-b69dfec710446b669325105bc26df250226eb2a5.tar.gz baldeagleos-repo-b69dfec710446b669325105bc26df250226eb2a5.tar.xz baldeagleos-repo-b69dfec710446b669325105bc26df250226eb2a5.zip | |
Adding metadata
Diffstat (limited to 'sci-ml')
| -rw-r--r-- | sci-ml/accelerate/Manifest | 1 | ||||
| -rw-r--r-- | sci-ml/accelerate/accelerate-1.14.0.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/sci-ml/accelerate/Manifest b/sci-ml/accelerate/Manifest index 3e076c80ccc9..2b9d4b03c100 100644 --- a/sci-ml/accelerate/Manifest +++ b/sci-ml/accelerate/Manifest @@ -1 +1,2 @@ DIST accelerate-1.13.0.gh.tar.gz 1363635 BLAKE2B e4b0429149ace6788ff451a472eda923f589a9aab7e358c853c444e0340215b13f18aecf836cf3fdd4c190475cdf08cab17bf01ffc8a5bf96154443be9dadb93 SHA512 bd6170a8dc038263849251c6a8f5845b2ac325571f63b65d325ae55a3b1558e1141fa5a02e433406abb09acbd35df43f1218ba23485f112d42f977ee3077a519 +DIST accelerate-1.14.0.gh.tar.gz 1377154 BLAKE2B 72b650d86fd9711aace86b5de96f10678c472073acce0af87880a3b692c8708a27066300bc69650d7fd494a3a8812be41fc9be853458562355bc1ec977853347 SHA512 4f63f2d2e5963d2f81fb1863d75f16380cc74fb180f58305f340a0b70db8557a6ad42883988347de259b5136b19c912ae5402ef1d2e0b834fbec40b58172da08 diff --git a/sci-ml/accelerate/accelerate-1.14.0.ebuild b/sci-ml/accelerate/accelerate-1.14.0.ebuild new file mode 100644 index 000000000000..87e197c8e2c3 --- /dev/null +++ b/sci-ml/accelerate/accelerate-1.14.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2025-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{13..14} ) +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}] + sci-ml/clearml[${PYTHON_USEDEP}] + ') + >=sci-ml/pytorch-2.13.0[gloo] + sci-ml/evaluate[${PYTHON_SINGLE_USEDEP}] + sci-ml/torchdata[${PYTHON_SINGLE_USEDEP}] + sci-ml/torchvision[${PYTHON_SINGLE_USEDEP}] + sci-ml/transformers[${PYTHON_SINGLE_USEDEP}] +)" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + tests/test_cli.py::ModelEstimatorTester + tests/test_examples.py::FeatureExamplesTests + tests/test_modeling_utils.py::ModelingUtilsTester::test_get_balanced_memory_no_split_module_classes_set + tests/test_modeling_utils.py::ModelingUtilsTester::test_infer_auto_device_map_on_t0pp + tests/test_utils.py::UtilsTester::test_patch_environment_key_exists + ) + + epytest tests +} |
