public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/transformers/
@ 2025-03-19 20:39 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-19 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     d9cbb2a4657ceca72b6ee58e0c6bec47a82a703e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 19 20:38:27 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Mar 19 20:38:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9cbb2a4

sci-ml/transformers: add test dep: pysentencepiece

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{transformers-4.49.0.ebuild => transformers-4.49.0-r1.ebuild}        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-ml/transformers/transformers-4.49.0.ebuild b/sci-ml/transformers/transformers-4.49.0-r1.ebuild
similarity index 99%
rename from sci-ml/transformers/transformers-4.49.0.ebuild
rename to sci-ml/transformers/transformers-4.49.0-r1.ebuild
index 848ca8a9d83e..a691a7af8f3e 100644
--- a/sci-ml/transformers/transformers-4.49.0.ebuild
+++ b/sci-ml/transformers/transformers-4.49.0-r1.ebuild
@@ -39,6 +39,7 @@ BDEPEND="
 	$(python_gen_cond_dep '
 		dev-python/parameterized[${PYTHON_USEDEP}]
 		dev-python/timeout-decorator[${PYTHON_USEDEP}]
+		sci-ml/pysentencepiece[${PYTHON_USEDEP}]
 	')
 "
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/transformers/
@ 2025-03-22  8:28 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-22  8:28 UTC (permalink / raw
  To: gentoo-commits

commit:     bae1c055f8b630258ac378b121070e35d64dc3f2
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 22 08:26:38 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Mar 22 08:27:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bae1c055

sci-ml/transformers: with pytorch require accelerate

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/transformers/metadata.xml                                    | 3 +++
 ...{transformers-4.49.0-r1.ebuild => transformers-4.49.0-r2.ebuild} | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/sci-ml/transformers/metadata.xml b/sci-ml/transformers/metadata.xml
index 9489a5f68f41..fe315dfdbe00 100644
--- a/sci-ml/transformers/metadata.xml
+++ b/sci-ml/transformers/metadata.xml
@@ -5,6 +5,9 @@
 		<email>tupone@gentoo.org</email>
 		<name>Tupone Alfredo</name>
 	</maintainer>
+	<use>
+		<flag name="torch">Support pytorch</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">huggingface/transformers</remote-id>
 		<remote-id type="pypi">transformers</remote-id>

diff --git a/sci-ml/transformers/transformers-4.49.0-r1.ebuild b/sci-ml/transformers/transformers-4.49.0-r2.ebuild
similarity index 96%
rename from sci-ml/transformers/transformers-4.49.0-r1.ebuild
rename to sci-ml/transformers/transformers-4.49.0-r2.ebuild
index a691a7af8f3e..8545ccfe170b 100644
--- a/sci-ml/transformers/transformers-4.49.0-r1.ebuild
+++ b/sci-ml/transformers/transformers-4.49.0-r2.ebuild
@@ -19,6 +19,7 @@ SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="torch"
 RESTRICT="test" # Need network, too long to execute
 
 RDEPEND="
@@ -34,6 +35,11 @@ RDEPEND="
 		>=sci-ml/huggingface_hub-0.26[${PYTHON_USEDEP}]
 		>=sci-ml/safetensors-0.4.1[${PYTHON_USEDEP}]
 	')
+	torch? (
+		sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
+		sci-ml/caffe2[${PYTHON_SINGLE_USEDEP}]
+		sci-ml/accelerate[${PYTHON_SINGLE_USEDEP}]
+	)
 "
 BDEPEND="
 	$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/transformers/
@ 2025-03-28 17:08 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-28 17:08 UTC (permalink / raw
  To: gentoo-commits

commit:     f8cac11224b48ca798c13cf196dc7d6e35b2275b
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 17:08:02 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 17:08:16 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8cac112

sci-ml/transformers: add 4.50.2

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/transformers/Manifest                   |  1 +
 sci-ml/transformers/transformers-4.50.2.ebuild | 45 ++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/sci-ml/transformers/Manifest b/sci-ml/transformers/Manifest
index 729c9aea2c66..83e11a761956 100644
--- a/sci-ml/transformers/Manifest
+++ b/sci-ml/transformers/Manifest
@@ -1,3 +1,4 @@
 DIST transformers-4.47.1.gh.tar.gz 19755552 BLAKE2B 7fbfde2f4b84ffcf411ead2b1c7d43ce0cd9615795dee6bf7271c5c17a125537d87506a4c663e454e10938f7482cf4acc14972cbaa50ef8884ecbc091c346b8d SHA512 105f60899aa05fb9e1e79b8e2e7c60ec5463c73707f8b77f744ad0ac0e83c6e8cd38d1838f74e93377891617b9f0e0d58533cf083db2550999f33a34c159b1c8
 DIST transformers-4.48.3.gh.tar.gz 19569408 BLAKE2B 563c93580742ca2357509812292a31b9416f111653193ee030a36b55a7f055b16f9f041cc515ff56ba5b496aa1032fb41d5fff471111c47d24ba9cf7b8c632db SHA512 eac0c6ff05b4be10653ad98fcbf4f5ae9377e331cf23040fc304823783c5013be8e56c428fb928534c322bffb58255e8a3ffae74f9786fc0046a0fe6e0d9da16
 DIST transformers-4.49.0.gh.tar.gz 19922847 BLAKE2B 66d70f417099b46183755bf705c9d2fa522c5e33c508cf5054b9fba260fd0e3011198d3eccae6671bcc02014836e3055712e0462e00551a34c5a89c430116a41 SHA512 72439dd4535a1622d57230a0180d5f3d96a53e450978e7916fb93638d5a1aeb0da775f1f6b189cc8a3be9d1bd557ab70a2ea90455a5b5129d2067b5ec61e49b8
+DIST transformers-4.50.2.gh.tar.gz 18077512 BLAKE2B db2333a584b4fc2f2b90e8e2023e0b3f5da6772f36bd3e1628915258504521a11f217c04268772ba62d41477977a1ecaf426167fd007aaa76ff3fd2cbe6a8935 SHA512 894a8e964cf96bee0779b02480bc0ca115ccf0a17d2794564e1d6acc1fb46873335e321b67d7d0ad5c8871402638e03fc2ea74c472a2cc147e156de2c1ed80f9

diff --git a/sci-ml/transformers/transformers-4.50.2.ebuild b/sci-ml/transformers/transformers-4.50.2.ebuild
new file mode 100644
index 000000000000..922bd1902be3
--- /dev/null
+++ b/sci-ml/transformers/transformers-4.50.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..12} )
+DISTUTILS_SINGLE_IMPL=1
+inherit distutils-r1
+
+DESCRIPTION="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"
+HOMEPAGE="
+	https://pypi.org/project/transformers/
+	https://huggingface.co/
+"
+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"
+IUSE="torch"
+RESTRICT="test" # Need network, too long to execute
+
+RDEPEND="
+	sci-ml/huggingface_hub[${PYTHON_SINGLE_USEDEP}]
+	=sci-ml/tokenizers-0.21*[${PYTHON_SINGLE_USEDEP}]
+	$(python_gen_cond_dep '
+		dev-python/filelock[${PYTHON_USEDEP}]
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/packaging[${PYTHON_USEDEP}]
+		dev-python/pyyaml[${PYTHON_USEDEP}]
+		dev-python/regex[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/tqdm[${PYTHON_USEDEP}]
+		sci-ml/safetensors[${PYTHON_USEDEP}]
+	')
+	torch? (
+		sci-ml/accelerate[${PYTHON_SINGLE_USEDEP}]
+		sci-ml/caffe2[${PYTHON_SINGLE_USEDEP}]
+		sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
+	)
+"
+
+distutils_enable_tests import-check


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/transformers/
@ 2025-03-28 17:46 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-28 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     43d0b65ae19df646dd8ec587d2d21ca4e59276c4
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 17:42:57 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 17:46:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d0b65a

sci-ml/transformers: drop 4.47.1, 4.48.3

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/transformers/Manifest                   |   2 -
 sci-ml/transformers/transformers-4.47.1.ebuild | 114 ------------------------
 sci-ml/transformers/transformers-4.48.3.ebuild | 118 -------------------------
 3 files changed, 234 deletions(-)

diff --git a/sci-ml/transformers/Manifest b/sci-ml/transformers/Manifest
index 83e11a761956..ca09feebd981 100644
--- a/sci-ml/transformers/Manifest
+++ b/sci-ml/transformers/Manifest
@@ -1,4 +1,2 @@
-DIST transformers-4.47.1.gh.tar.gz 19755552 BLAKE2B 7fbfde2f4b84ffcf411ead2b1c7d43ce0cd9615795dee6bf7271c5c17a125537d87506a4c663e454e10938f7482cf4acc14972cbaa50ef8884ecbc091c346b8d SHA512 105f60899aa05fb9e1e79b8e2e7c60ec5463c73707f8b77f744ad0ac0e83c6e8cd38d1838f74e93377891617b9f0e0d58533cf083db2550999f33a34c159b1c8
-DIST transformers-4.48.3.gh.tar.gz 19569408 BLAKE2B 563c93580742ca2357509812292a31b9416f111653193ee030a36b55a7f055b16f9f041cc515ff56ba5b496aa1032fb41d5fff471111c47d24ba9cf7b8c632db SHA512 eac0c6ff05b4be10653ad98fcbf4f5ae9377e331cf23040fc304823783c5013be8e56c428fb928534c322bffb58255e8a3ffae74f9786fc0046a0fe6e0d9da16
 DIST transformers-4.49.0.gh.tar.gz 19922847 BLAKE2B 66d70f417099b46183755bf705c9d2fa522c5e33c508cf5054b9fba260fd0e3011198d3eccae6671bcc02014836e3055712e0462e00551a34c5a89c430116a41 SHA512 72439dd4535a1622d57230a0180d5f3d96a53e450978e7916fb93638d5a1aeb0da775f1f6b189cc8a3be9d1bd557ab70a2ea90455a5b5129d2067b5ec61e49b8
 DIST transformers-4.50.2.gh.tar.gz 18077512 BLAKE2B db2333a584b4fc2f2b90e8e2023e0b3f5da6772f36bd3e1628915258504521a11f217c04268772ba62d41477977a1ecaf426167fd007aaa76ff3fd2cbe6a8935 SHA512 894a8e964cf96bee0779b02480bc0ca115ccf0a17d2794564e1d6acc1fb46873335e321b67d7d0ad5c8871402638e03fc2ea74c472a2cc147e156de2c1ed80f9

diff --git a/sci-ml/transformers/transformers-4.47.1.ebuild b/sci-ml/transformers/transformers-4.47.1.ebuild
deleted file mode 100644
index 007d279a4948..000000000000
--- a/sci-ml/transformers/transformers-4.47.1.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1
-
-DESCRIPTION="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"
-HOMEPAGE="
-	https://pypi.org/project/transformers/
-	https://huggingface.co/
-"
-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"
-RESTRICT="test" # Need some modules, not yet packaged, need network
-
-RDEPEND="
-	=sci-ml/tokenizers-0.21*[${PYTHON_SINGLE_USEDEP}]
-	$(python_gen_cond_dep '
-		dev-python/filelock[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/packaging[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-		dev-python/regex[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/tqdm[${PYTHON_USEDEP}]
-		sci-ml/huggingface_hub[${PYTHON_USEDEP}]
-		>=sci-ml/safetensors-0.4.1[${PYTHON_USEDEP}]
-	')
-"
-BDEPEND="
-	$(python_gen_cond_dep '
-		dev-python/parameterized[${PYTHON_USEDEP}]
-		dev-python/timeout-decorator[${PYTHON_USEDEP}]
-	')
-"
-
-distutils_enable_tests pytest
-
-src_test() {
-	local EPYTEST_IGNORE=(
-		tests/deepspeed/test_deepspeed.py
-		tests/deepspeed/test_model_zoo.py
-		tests/fsdp/test_fsdp.py
-		tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py
-		tests/models/bartpho/test_tokenization_bartpho.py
-		tests/models/beit/test_image_processing_beit.py
-		tests/models/big_bird/test_modeling_big_bird.py
-		tests/models/clap/test_feature_extraction_clap.py
-		tests/models/clip/test_image_processing_clip.py
-		tests/models/clvp/test_feature_extraction_clvp.py
-		tests/models/conditional_detr/test_image_processing_conditional_detr.py
-		tests/models/cpm/test_tokenization_cpm.py
-		tests/models/dac/test_feature_extraction_dac.py
-		tests/models/encodec/test_feature_extraction_encodec.py
-		tests/models/grounding_dino/test_image_processing_grounding_dino.py
-		tests/models/idefics/test_image_processing_idefics.py
-		tests/models/idefics2/test_image_processing_idefics2.py
-		tests/models/layoutxlm/test_processor_layoutxlm.py
-		tests/models/layoutxlm/test_tokenization_layoutxlm.py
-		tests/models/llava_next/test_image_processing_llava_next.py
-		tests/models/llava_next_video/test_image_processing_llava_next_video.py
-		tests/models/llava_onevision/test_image_processing_llava_onevision.py
-		tests/models/markuplm/test_feature_extraction_markuplm.py
-		tests/models/mask2former/test_image_processing_mask2former.py
-		tests/models/maskformer/test_image_processing_maskformer.py
-		tests/models/mluke/test_tokenization_mluke.py
-		tests/models/musicgen_melody/test_feature_extraction_musicgen_melody.py
-		tests/models/nllb/test_tokenization_nllb.py
-		tests/models/oneformer/test_image_processing_oneformer.py
-		tests/models/oneformer/test_processor_oneformer.py
-		tests/models/pix2struct/test_image_processing_pix2struct.py
-		tests/models/pop2piano/test_feature_extraction_pop2piano.py
-		tests/models/qwen2_audio/test_modeling_qwen2_audio.py
-		tests/models/qwen2_vl/test_image_processing_qwen2_vl.py
-		tests/models/seamless_m4t/test_feature_extraction_seamless_m4t.py
-		tests/models/seamless_m4t/test_processor_seamless_m4t.py
-		tests/models/segformer/test_image_processing_segformer.py
-		tests/models/seggpt/test_image_processing_seggpt.py
-		tests/models/speech_to_text/test_feature_extraction_speech_to_text.py
-		tests/models/speech_to_text/test_processor_speech_to_text.py
-		tests/models/speech_to_text/test_tokenization_speech_to_text.py
-		tests/models/speecht5/test_feature_extraction_speecht5.py
-		tests/models/speecht5/test_processor_speecht5.py
-		tests/models/speecht5/test_tokenization_speecht5.py
-		tests/models/superpoint/test_image_processing_superpoint.py
-		tests/models/trocr/test_processor_trocr.py
-		tests/models/univnet/test_feature_extraction_univnet.py
-		tests/models/wav2vec2/test_feature_extraction_wav2vec2.py
-		tests/models/whisper/test_feature_extraction_whisper.py
-		tests/models/yolos/test_image_processing_yolos.py
-		tests/repo_utils/test_check_docstrings.py
-		tests/repo_utils/test_tests_fetcher.py
-		tests/trainer/test_trainer.py
-		tests/trainer/test_trainer_callback.py
-		tests/trainer/test_trainer.py
-		tests/trainer/test_trainer_callback.py
-	)
-
-	local EPYTEST_DESELECT=(
-		tests/agents/test_agents.py::AgentTests::test_init_agent_with_different_toolsets
-	)
-
-	EPYTEST_FLAGS="--dist=loadfile -s ./tests/"
-
-	distutils-r1_src_test
-}

diff --git a/sci-ml/transformers/transformers-4.48.3.ebuild b/sci-ml/transformers/transformers-4.48.3.ebuild
deleted file mode 100644
index d84216a76411..000000000000
--- a/sci-ml/transformers/transformers-4.48.3.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1
-
-DESCRIPTION="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"
-HOMEPAGE="
-	https://pypi.org/project/transformers/
-	https://huggingface.co/
-"
-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"
-RESTRICT="test" # Need network, too long to execute
-
-RDEPEND="
-	=sci-ml/tokenizers-0.21*[${PYTHON_SINGLE_USEDEP}]
-	$(python_gen_cond_dep '
-		dev-python/filelock[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/packaging[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-		dev-python/regex[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/tqdm[${PYTHON_USEDEP}]
-		sci-ml/huggingface_hub[${PYTHON_USEDEP}]
-		>=sci-ml/safetensors-0.4.1[${PYTHON_USEDEP}]
-	')
-"
-BDEPEND="
-	$(python_gen_cond_dep '
-		dev-python/parameterized[${PYTHON_USEDEP}]
-		dev-python/timeout-decorator[${PYTHON_USEDEP}]
-	')
-"
-
-distutils_enable_tests pytest
-
-src_test() {
-	local EPYTEST_IGNORE=(
-		tests/deepspeed/test_deepspeed.py
-		tests/deepspeed/test_model_zoo.py
-		tests/fsdp/test_fsdp.py
-		tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py
-		tests/models/bartpho/test_tokenization_bartpho.py
-		tests/models/beit/test_image_processing_beit.py
-		tests/models/big_bird/test_modeling_big_bird.py
-		tests/models/clap/test_feature_extraction_clap.py
-		tests/models/clip/test_image_processing_clip.py
-		tests/models/clvp/test_feature_extraction_clvp.py
-		tests/models/conditional_detr/test_image_processing_conditional_detr.py
-		tests/models/cpm/test_tokenization_cpm.py
-		tests/models/dac/test_feature_extraction_dac.py
-		tests/models/encodec/test_feature_extraction_encodec.py
-		tests/models/grounding_dino/test_image_processing_grounding_dino.py
-		tests/models/idefics/test_image_processing_idefics.py
-		tests/models/idefics2/test_image_processing_idefics2.py
-		tests/models/layoutxlm/test_processor_layoutxlm.py
-		tests/models/layoutxlm/test_tokenization_layoutxlm.py
-		tests/models/llava_next/test_image_processing_llava_next.py
-		tests/models/llava_next_video/test_image_processing_llava_next_video.py
-		tests/models/llava_onevision/test_image_processing_llava_onevision.py
-		tests/models/markuplm/test_feature_extraction_markuplm.py
-		tests/models/marian/test_modeling_marian.py
-		tests/models/mask2former/test_image_processing_mask2former.py
-		tests/models/maskformer/test_image_processing_maskformer.py
-		tests/models/mluke/test_tokenization_mluke.py
-		tests/models/musicgen_melody/test_feature_extraction_musicgen_melody.py
-		tests/models/nllb/test_tokenization_nllb.py
-		tests/models/oneformer/test_image_processing_oneformer.py
-		tests/models/oneformer/test_processor_oneformer.py
-		tests/models/pix2struct/test_image_processing_pix2struct.py
-		tests/models/pop2piano/test_feature_extraction_pop2piano.py
-		tests/models/qwen2_audio/test_modeling_qwen2_audio.py
-		tests/models/qwen2_vl/test_image_processing_qwen2_vl.py
-		tests/models/seamless_m4t/test_feature_extraction_seamless_m4t.py
-		tests/models/seamless_m4t/test_processor_seamless_m4t.py
-		tests/models/segformer/test_image_processing_segformer.py
-		tests/models/seggpt/test_image_processing_seggpt.py
-		tests/models/speech_to_text/test_feature_extraction_speech_to_text.py
-		tests/models/speech_to_text/test_processor_speech_to_text.py
-		tests/models/speech_to_text/test_tokenization_speech_to_text.py
-		tests/models/speecht5/test_feature_extraction_speecht5.py
-		tests/models/speecht5/test_processor_speecht5.py
-		tests/models/speecht5/test_tokenization_speecht5.py
-		tests/models/superpoint/test_image_processing_superpoint.py
-		tests/models/textnet/test_image_processing_textnet.py
-		tests/models/trocr/test_processor_trocr.py
-		tests/models/univnet/test_feature_extraction_univnet.py
-		tests/models/vitpose/test_image_processing_vitpose.py
-		tests/models/wav2vec2/test_feature_extraction_wav2vec2.py
-		tests/models/whisper/test_feature_extraction_whisper.py
-		tests/models/yolos/test_image_processing_yolos.py
-		tests/repo_utils/test_check_docstrings.py
-		tests/repo_utils/test_tests_fetcher.py
-		tests/trainer/test_trainer.py
-		tests/trainer/test_trainer_callback.py
-		tests/trainer/test_trainer.py
-		tests/trainer/test_trainer_callback.py
-	)
-
-	local EPYTEST_DESELECT=(
-		tests/agents/test_agents.py::AgentTests::test_init_agent_with_different_toolsets
-		tests/models/textnet/test_image_processing_textnet.py::TextNetImageProcessingTester
-	)
-
-	EPYTEST_FLAGS="--dist=loadfile -s ./tests/"
-
-	distutils-r1_src_test
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/transformers/
@ 2025-03-28 17:53 Alfredo Tupone
  0 siblings, 0 replies; 5+ messages in thread
From: Alfredo Tupone @ 2025-03-28 17:53 UTC (permalink / raw
  To: gentoo-commits

commit:     d70e94c78860a0a940e10393dd9a37028a398128
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 17:53:09 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 17:53:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d70e94c7

sci-ml/transformers: drop 4.49.0-r5

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/transformers/Manifest                      |   1 -
 sci-ml/transformers/transformers-4.49.0-r5.ebuild | 125 ----------------------
 2 files changed, 126 deletions(-)

diff --git a/sci-ml/transformers/Manifest b/sci-ml/transformers/Manifest
index ca09feebd981..72b85c450134 100644
--- a/sci-ml/transformers/Manifest
+++ b/sci-ml/transformers/Manifest
@@ -1,2 +1 @@
-DIST transformers-4.49.0.gh.tar.gz 19922847 BLAKE2B 66d70f417099b46183755bf705c9d2fa522c5e33c508cf5054b9fba260fd0e3011198d3eccae6671bcc02014836e3055712e0462e00551a34c5a89c430116a41 SHA512 72439dd4535a1622d57230a0180d5f3d96a53e450978e7916fb93638d5a1aeb0da775f1f6b189cc8a3be9d1bd557ab70a2ea90455a5b5129d2067b5ec61e49b8
 DIST transformers-4.50.2.gh.tar.gz 18077512 BLAKE2B db2333a584b4fc2f2b90e8e2023e0b3f5da6772f36bd3e1628915258504521a11f217c04268772ba62d41477977a1ecaf426167fd007aaa76ff3fd2cbe6a8935 SHA512 894a8e964cf96bee0779b02480bc0ca115ccf0a17d2794564e1d6acc1fb46873335e321b67d7d0ad5c8871402638e03fc2ea74c472a2cc147e156de2c1ed80f9

diff --git a/sci-ml/transformers/transformers-4.49.0-r5.ebuild b/sci-ml/transformers/transformers-4.49.0-r5.ebuild
deleted file mode 100644
index 6ad1bdce5a43..000000000000
--- a/sci-ml/transformers/transformers-4.49.0-r5.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 2023-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_SINGLE_IMPL=1
-inherit distutils-r1
-
-DESCRIPTION="State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow"
-HOMEPAGE="
-	https://pypi.org/project/transformers/
-	https://huggingface.co/
-"
-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"
-IUSE="torch"
-RESTRICT="test" # Need network, too long to execute
-
-RDEPEND="
-	=sci-ml/tokenizers-0.21*[${PYTHON_SINGLE_USEDEP}]
-	$(python_gen_cond_dep '
-		dev-python/filelock[${PYTHON_USEDEP}]
-		dev-python/numpy[${PYTHON_USEDEP}]
-		dev-python/packaging[${PYTHON_USEDEP}]
-		dev-python/pyyaml[${PYTHON_USEDEP}]
-		dev-python/regex[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/tqdm[${PYTHON_USEDEP}]
-		>=sci-ml/huggingface_hub-0.26[${PYTHON_USEDEP}]
-		>=sci-ml/safetensors-0.4.1[${PYTHON_USEDEP}]
-	')
-	torch? (
-		sci-ml/accelerate[${PYTHON_SINGLE_USEDEP}]
-		sci-ml/caffe2[${PYTHON_SINGLE_USEDEP}]
-		sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
-	)
-"
-BDEPEND="
-	$(python_gen_cond_dep '
-		dev-python/parameterized[${PYTHON_USEDEP}]
-		dev-python/timeout-decorator[${PYTHON_USEDEP}]
-		sci-ml/pysentencepiece[${PYTHON_USEDEP}]
-	')
-"
-
-distutils_enable_tests pytest
-
-src_test() {
-	local EPYTEST_IGNORE=(
-		tests/deepspeed/test_deepspeed.py
-		tests/deepspeed/test_model_zoo.py
-		tests/fsdp/test_fsdp.py
-		tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py
-		tests/models/bartpho/test_tokenization_bartpho.py
-		tests/models/beit/test_image_processing_beit.py
-		tests/models/big_bird/test_modeling_big_bird.py
-		tests/models/clap/test_feature_extraction_clap.py
-		tests/models/clip/test_image_processing_clip.py
-		tests/models/clvp/test_feature_extraction_clvp.py
-		tests/models/conditional_detr/test_image_processing_conditional_detr.py
-		tests/models/cpm/test_tokenization_cpm.py
-		tests/models/dac/test_feature_extraction_dac.py
-		tests/models/encodec/test_feature_extraction_encodec.py
-		tests/models/grounding_dino/test_image_processing_grounding_dino.py
-		tests/models/idefics/test_image_processing_idefics.py
-		tests/models/idefics2/test_image_processing_idefics2.py
-		tests/models/layoutxlm/test_processor_layoutxlm.py
-		tests/models/layoutxlm/test_tokenization_layoutxlm.py
-		tests/models/llava_next/test_image_processing_llava_next.py
-		tests/models/llava_next_video/test_image_processing_llava_next_video.py
-		tests/models/llava_onevision/test_image_processing_llava_onevision.py
-		tests/models/markuplm/test_feature_extraction_markuplm.py
-		tests/models/marian/test_modeling_marian.py
-		tests/models/mask2former/test_image_processing_mask2former.py
-		tests/models/maskformer/test_image_processing_maskformer.py
-		tests/models/mluke/test_tokenization_mluke.py
-		tests/models/musicgen_melody/test_feature_extraction_musicgen_melody.py
-		tests/models/nllb/test_tokenization_nllb.py
-		tests/models/oneformer/test_image_processing_oneformer.py
-		tests/models/oneformer/test_processor_oneformer.py
-		tests/models/pix2struct/test_image_processing_pix2struct.py
-		tests/models/pop2piano/test_feature_extraction_pop2piano.py
-		tests/models/qwen2_audio/test_modeling_qwen2_audio.py
-		tests/models/qwen2_vl/test_image_processing_qwen2_vl.py
-		tests/models/seamless_m4t/test_feature_extraction_seamless_m4t.py
-		tests/models/seamless_m4t/test_processor_seamless_m4t.py
-		tests/models/segformer/test_image_processing_segformer.py
-		tests/models/seggpt/test_image_processing_seggpt.py
-		tests/models/speech_to_text/test_feature_extraction_speech_to_text.py
-		tests/models/speech_to_text/test_processor_speech_to_text.py
-		tests/models/speech_to_text/test_tokenization_speech_to_text.py
-		tests/models/speecht5/test_feature_extraction_speecht5.py
-		tests/models/speecht5/test_processor_speecht5.py
-		tests/models/speecht5/test_tokenization_speecht5.py
-		tests/models/superpoint/test_image_processing_superpoint.py
-		tests/models/textnet/test_image_processing_textnet.py
-		tests/models/trocr/test_processor_trocr.py
-		tests/models/univnet/test_feature_extraction_univnet.py
-		tests/models/vitpose/test_image_processing_vitpose.py
-		tests/models/wav2vec2/test_feature_extraction_wav2vec2.py
-		tests/models/whisper/test_feature_extraction_whisper.py
-		tests/models/yolos/test_image_processing_yolos.py
-		tests/repo_utils/test_check_docstrings.py
-		tests/repo_utils/test_tests_fetcher.py
-		tests/trainer/test_trainer.py
-		tests/trainer/test_trainer_callback.py
-		tests/trainer/test_trainer.py
-		tests/trainer/test_trainer_callback.py
-	)
-
-	local EPYTEST_DESELECT=(
-		tests/agents/test_agents.py::AgentTests::test_init_agent_with_different_toolsets
-		tests/models/textnet/test_image_processing_textnet.py::TextNetImageProcessingTester
-	)
-
-	EPYTEST_FLAGS="--dist=loadfile -s ./tests/"
-
-	distutils-r1_src_test
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-28 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-28 17:53 [gentoo-commits] repo/gentoo:master commit in: sci-ml/transformers/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2025-03-28 17:46 Alfredo Tupone
2025-03-28 17:08 Alfredo Tupone
2025-03-22  8:28 Alfredo Tupone
2025-03-19 20:39 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox