* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-04-30 16:58 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-04-30 16:58 UTC (permalink / raw
To: gentoo-commits
commit: 4a620dd2f8f2f396650e694b5be09fb7ed7d137e
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 16:57:22 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 16:57:59 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a620dd2
sci-ml/accelerate: enable python3_13
Closes: https://bugs.gentoo.org/952693
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{accelerate-1.5.2-r2.ebuild => accelerate-1.5.2-r3.ebuild} | 2 +-
.../accelerate/{accelerate-1.6.0.ebuild => accelerate-1.6.0-r1.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-ml/accelerate/accelerate-1.5.2-r2.ebuild b/sci-ml/accelerate/accelerate-1.5.2-r3.ebuild
similarity index 97%
rename from sci-ml/accelerate/accelerate-1.5.2-r2.ebuild
rename to sci-ml/accelerate/accelerate-1.5.2-r3.ebuild
index e8ef0adaf4d4..ec051dd7e646 100644
--- a/sci-ml/accelerate/accelerate-1.5.2-r2.ebuild
+++ b/sci-ml/accelerate/accelerate-1.5.2-r3.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
diff --git a/sci-ml/accelerate/accelerate-1.6.0.ebuild b/sci-ml/accelerate/accelerate-1.6.0-r1.ebuild
similarity index 97%
rename from sci-ml/accelerate/accelerate-1.6.0.ebuild
rename to sci-ml/accelerate/accelerate-1.6.0-r1.ebuild
index 3ea32e16b7f2..82266d0d488e 100644
--- a/sci-ml/accelerate/accelerate-1.6.0.ebuild
+++ b/sci-ml/accelerate/accelerate-1.6.0-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-05-21 16:56 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-05-21 16:56 UTC (permalink / raw
To: gentoo-commits
commit: 5818bfb064f06f1f4988f9a761e4f362856284eb
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 16:56:26 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 21 16:56:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5818bfb0
sci-ml/accelerate: drop 1.5.2-r3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/accelerate/Manifest | 1 -
sci-ml/accelerate/accelerate-1.5.2-r3.ebuild | 45 ----------------------------
2 files changed, 46 deletions(-)
diff --git a/sci-ml/accelerate/Manifest b/sci-ml/accelerate/Manifest
index cfd11dfda62e..c092daa6bf1d 100644
--- a/sci-ml/accelerate/Manifest
+++ b/sci-ml/accelerate/Manifest
@@ -1,3 +1,2 @@
-DIST accelerate-1.5.2.gh.tar.gz 765155 BLAKE2B 4ae488772251b0f00ff4e195001299fbc22dd12b9625547fbfb952b92a2c4c2a2ea9e1ac976e25b6a1d74ce4bfca4d0398362dfe30cbb266f297539ce790fc1c SHA512 aebdc3963fbc4d331bc8ed37b8769d13ec09cfe1f6b1607c83e2cc92903ef4e5ab6d3be5eb6e1007f3efa1a06e80e7a2d152e3180f2613baebcf1f787ac53139
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
diff --git a/sci-ml/accelerate/accelerate-1.5.2-r3.ebuild b/sci-ml/accelerate/accelerate-1.5.2-r3.ebuild
deleted file mode 100644
index ec051dd7e646..000000000000
--- a/sci-ml/accelerate/accelerate-1.5.2-r3.ebuild
+++ /dev/null
@@ -1,45 +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/pytorch[${PYTHON_SINGLE_USEDEP}]
-"
-DEPEND="${RDEPEND}"
-BDEPEND="test? (
- sci-ml/caffe2[gloo]
-)"
-
-distutils_enable_tests pytest
-
-python_test() {
- local EPYTEST_IGNORE=(
- tests/test_examples.py
- tests/deepspeed
- tests/test_big_modeling.py
- tests/fsdp
- tests/tp
- tests/test_cli.py
- )
- 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
- )
- epytest tests
-}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-05-21 16:52 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-05-21 16:52 UTC (permalink / raw
To: gentoo-commits
commit: 9189ee077fbf842cbc3383618fad2a7b595568f4
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 16:51:59 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 21 16:52:22 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9189ee07
sci-ml/accelerate: add 1.7.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/accelerate/Manifest | 1 +
sci-ml/accelerate/accelerate-1.7.0.ebuild | 53 +++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/sci-ml/accelerate/Manifest b/sci-ml/accelerate/Manifest
index 4d6a90c625bd..cfd11dfda62e 100644
--- a/sci-ml/accelerate/Manifest
+++ b/sci-ml/accelerate/Manifest
@@ -1,2 +1,3 @@
DIST accelerate-1.5.2.gh.tar.gz 765155 BLAKE2B 4ae488772251b0f00ff4e195001299fbc22dd12b9625547fbfb952b92a2c4c2a2ea9e1ac976e25b6a1d74ce4bfca4d0398362dfe30cbb266f297539ce790fc1c SHA512 aebdc3963fbc4d331bc8ed37b8769d13ec09cfe1f6b1607c83e2cc92903ef4e5ab6d3be5eb6e1007f3efa1a06e80e7a2d152e3180f2613baebcf1f787ac53139
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
diff --git a/sci-ml/accelerate/accelerate-1.7.0.ebuild b/sci-ml/accelerate/accelerate-1.7.0.ebuild
new file mode 100644
index 000000000000..9ec8753b0832
--- /dev/null
+++ b/sci-ml/accelerate/accelerate-1.7.0.ebuild
@@ -0,0 +1,53 @@
+# 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
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-05-21 10:07 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-05-21 10:07 UTC (permalink / raw
To: gentoo-commits
commit: 09cda6627225ffb0c6ca03b788cc9ecb1e7b0256
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 21 09:43:51 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 21 10:06:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09cda662
sci-ml/accelerate: add test deps
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{accelerate-1.6.0-r4.ebuild => accelerate-1.6.0-r5.ebuild} | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/sci-ml/accelerate/accelerate-1.6.0-r4.ebuild b/sci-ml/accelerate/accelerate-1.6.0-r5.ebuild
similarity index 91%
rename from sci-ml/accelerate/accelerate-1.6.0-r4.ebuild
rename to sci-ml/accelerate/accelerate-1.6.0-r5.ebuild
index d5e21a743d79..9ec8753b0832 100644
--- a/sci-ml/accelerate/accelerate-1.6.0-r4.ebuild
+++ b/sci-ml/accelerate/accelerate-1.6.0-r5.ebuild
@@ -35,25 +35,19 @@ BDEPEND="test? (
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_IGNORE=(
- tests/test_examples.py
- tests/deepspeed
- tests/test_big_modeling.py
- tests/fsdp
- tests/tp
- tests/test_cli.py
- )
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
}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-05-20 18:37 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-05-20 18:37 UTC (permalink / raw
To: gentoo-commits
commit: 582a5266515daa15343729d02671dd266c9a7975
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue May 20 18:36:22 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue May 20 18:37:06 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582a5266
sci-ml/accelerate: test with clearml
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{accelerate-1.6.0-r3.ebuild => accelerate-1.6.0-r4.ebuild} | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-ml/accelerate/accelerate-1.6.0-r3.ebuild b/sci-ml/accelerate/accelerate-1.6.0-r4.ebuild
similarity index 97%
rename from sci-ml/accelerate/accelerate-1.6.0-r3.ebuild
rename to sci-ml/accelerate/accelerate-1.6.0-r4.ebuild
index c96576336609..d5e21a743d79 100644
--- a/sci-ml/accelerate/accelerate-1.6.0-r3.ebuild
+++ b/sci-ml/accelerate/accelerate-1.6.0-r4.ebuild
@@ -32,6 +32,7 @@ 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/torchdata[${PYTHON_SINGLE_USEDEP}]
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-05-12 18:58 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-05-12 18:58 UTC (permalink / raw
To: gentoo-commits
commit: d4a3cce2685b3d083eb2c481fa4314030c9d714d
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon May 12 18:57:23 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon May 12 18:57:47 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a3cce2
sci-ml/accelerate: add torchdata for test
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{accelerate-1.6.0-r2.ebuild => accelerate-1.6.0-r3.ebuild} | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/sci-ml/accelerate/accelerate-1.6.0-r2.ebuild b/sci-ml/accelerate/accelerate-1.6.0-r3.ebuild
similarity index 90%
rename from sci-ml/accelerate/accelerate-1.6.0-r2.ebuild
rename to sci-ml/accelerate/accelerate-1.6.0-r3.ebuild
index c1f01d3d43ec..c96576336609 100644
--- a/sci-ml/accelerate/accelerate-1.6.0-r2.ebuild
+++ b/sci-ml/accelerate/accelerate-1.6.0-r3.ebuild
@@ -29,9 +29,12 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="test? (
- dev-python/networkx
- dev-python/parameterized
+ $(python_gen_cond_dep '
+ dev-python/networkx[${PYTHON_USEDEP}]
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ ')
sci-ml/caffe2[gloo]
+ sci-ml/torchdata[${PYTHON_SINGLE_USEDEP}]
)"
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-05-07 16:53 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-05-07 16:53 UTC (permalink / raw
To: gentoo-commits
commit: 15fb649818ec95d6660ec38243c30da0a41305ea
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed May 7 16:48:31 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed May 7 16:48:54 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15fb6498
sci-ml/accelerate: add test deps
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
.../{accelerate-1.6.0-r1.ebuild => accelerate-1.6.0-r2.ebuild} | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sci-ml/accelerate/accelerate-1.6.0-r1.ebuild b/sci-ml/accelerate/accelerate-1.6.0-r2.ebuild
similarity index 96%
rename from sci-ml/accelerate/accelerate-1.6.0-r1.ebuild
rename to sci-ml/accelerate/accelerate-1.6.0-r2.ebuild
index 82266d0d488e..c1f01d3d43ec 100644
--- a/sci-ml/accelerate/accelerate-1.6.0-r1.ebuild
+++ b/sci-ml/accelerate/accelerate-1.6.0-r2.ebuild
@@ -29,6 +29,8 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="test? (
+ dev-python/networkx
+ dev-python/parameterized
sci-ml/caffe2[gloo]
)"
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-04-17 18:00 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-04-17 18:00 UTC (permalink / raw
To: gentoo-commits
commit: 528ba848b9541e01464fc2d7c94bd64becf7389c
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 17 18:00:04 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Apr 17 18:00:19 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=528ba848
sci-ml/accelerate: add 1.6.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/accelerate/Manifest | 1 +
sci-ml/accelerate/accelerate-1.6.0.ebuild | 53 +++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/sci-ml/accelerate/Manifest b/sci-ml/accelerate/Manifest
index 94987c8942c1..4d6a90c625bd 100644
--- a/sci-ml/accelerate/Manifest
+++ b/sci-ml/accelerate/Manifest
@@ -1 +1,2 @@
DIST accelerate-1.5.2.gh.tar.gz 765155 BLAKE2B 4ae488772251b0f00ff4e195001299fbc22dd12b9625547fbfb952b92a2c4c2a2ea9e1ac976e25b6a1d74ce4bfca4d0398362dfe30cbb266f297539ce790fc1c SHA512 aebdc3963fbc4d331bc8ed37b8769d13ec09cfe1f6b1607c83e2cc92903ef4e5ab6d3be5eb6e1007f3efa1a06e80e7a2d152e3180f2613baebcf1f787ac53139
+DIST accelerate-1.6.0.gh.tar.gz 963945 BLAKE2B 2d3c006f8290414279a53b4bea725e8227ff69288bb4984bfbef00fa0f40999fcd53faf1ff45e351e2c36020b448970e7a36415e6de0cac3c6952bea17e5e62b SHA512 cb516be77c9c05313d6a79fc846a2635fd3635e0391d061deb22692eb7b8ff9bcb2fa03926ccf76587f6d929dcd1a9089cdb2d2004567befc5f4daca71c05224
diff --git a/sci-ml/accelerate/accelerate-1.6.0.ebuild b/sci-ml/accelerate/accelerate-1.6.0.ebuild
new file mode 100644
index 000000000000..3ea32e16b7f2
--- /dev/null
+++ b/sci-ml/accelerate/accelerate-1.6.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+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? (
+ sci-ml/caffe2[gloo]
+)"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ tests/test_examples.py
+ tests/deepspeed
+ tests/test_big_modeling.py
+ tests/fsdp
+ tests/tp
+ tests/test_cli.py
+ )
+ 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
+ )
+ epytest tests
+}
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-03-21 18:08 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-03-21 18:08 UTC (permalink / raw
To: gentoo-commits
commit: 7e75738940ed5535522847515c13079607b95466
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 18:08:11 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 18:08:35 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e757389
sci-ml/accelerate: fix use dep
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/accelerate/accelerate-1.5.2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-ml/accelerate/accelerate-1.5.2.ebuild b/sci-ml/accelerate/accelerate-1.5.2.ebuild
index d0557af4f99e..e8ef0adaf4d4 100644
--- a/sci-ml/accelerate/accelerate-1.5.2.ebuild
+++ b/sci-ml/accelerate/accelerate-1.5.2.ebuild
@@ -21,7 +21,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="test? (
- sci-ml/caffe2[distributed]
+ sci-ml/caffe2[gloo]
)"
distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/
@ 2025-03-21 18:03 Alfredo Tupone
0 siblings, 0 replies; 10+ messages in thread
From: Alfredo Tupone @ 2025-03-21 18:03 UTC (permalink / raw
To: gentoo-commits
commit: a868a8d5d062e380f83dddc4da146c651ba1dc04
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 18:01:35 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 18:02:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a868a8d5
sci-ml/accelerate: new package, add 1.5.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/accelerate/Manifest | 1 +
sci-ml/accelerate/accelerate-1.5.2.ebuild | 45 +++++++++++++++++++++++++++++++
sci-ml/accelerate/metadata.xml | 11 ++++++++
3 files changed, 57 insertions(+)
diff --git a/sci-ml/accelerate/Manifest b/sci-ml/accelerate/Manifest
new file mode 100644
index 000000000000..94987c8942c1
--- /dev/null
+++ b/sci-ml/accelerate/Manifest
@@ -0,0 +1 @@
+DIST accelerate-1.5.2.gh.tar.gz 765155 BLAKE2B 4ae488772251b0f00ff4e195001299fbc22dd12b9625547fbfb952b92a2c4c2a2ea9e1ac976e25b6a1d74ce4bfca4d0398362dfe30cbb266f297539ce790fc1c SHA512 aebdc3963fbc4d331bc8ed37b8769d13ec09cfe1f6b1607c83e2cc92903ef4e5ab6d3be5eb6e1007f3efa1a06e80e7a2d152e3180f2613baebcf1f787ac53139
diff --git a/sci-ml/accelerate/accelerate-1.5.2.ebuild b/sci-ml/accelerate/accelerate-1.5.2.ebuild
new file mode 100644
index 000000000000..d0557af4f99e
--- /dev/null
+++ b/sci-ml/accelerate/accelerate-1.5.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+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/pytorch[${PYTHON_SINGLE_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="test? (
+ sci-ml/caffe2[distributed]
+)"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ tests/test_examples.py
+ tests/deepspeed
+ tests/test_big_modeling.py
+ tests/fsdp
+ tests/tp
+ tests/test_cli.py
+ )
+ 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
+ )
+ epytest tests
+}
diff --git a/sci-ml/accelerate/metadata.xml b/sci-ml/accelerate/metadata.xml
new file mode 100644
index 000000000000..565dc9f7fbe5
--- /dev/null
+++ b/sci-ml/accelerate/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Alfredo Tupone</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">huggingface/accelerate</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2025-05-21 16:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30 16:58 [gentoo-commits] repo/gentoo:master commit in: sci-ml/accelerate/ Alfredo Tupone
-- strict thread matches above, loose matches on Subject: below --
2025-05-21 16:56 Alfredo Tupone
2025-05-21 16:52 Alfredo Tupone
2025-05-21 10:07 Alfredo Tupone
2025-05-20 18:37 Alfredo Tupone
2025-05-12 18:58 Alfredo Tupone
2025-05-07 16:53 Alfredo Tupone
2025-04-17 18:00 Alfredo Tupone
2025-03-21 18:08 Alfredo Tupone
2025-03-21 18:03 Alfredo Tupone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox