From 5ffad3b004c5c2111cdaedb7f2679a7657dae48d Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 27 May 2025 09:24:27 +0200 Subject: [PATCH] chore(deps): remove pin on transformers (#5501) Signed-off-by: Ettore Di Giacinto --- backend/python/bark/requirements-cpu.txt | 3 +-- backend/python/bark/requirements-cublas11.txt | 3 +-- backend/python/bark/requirements-cublas12.txt | 3 +-- backend/python/bark/requirements-hipblas.txt | 3 +-- backend/python/bark/requirements-intel.txt | 3 +-- backend/python/diffusers/requirements-cpu.txt | 3 +-- backend/python/diffusers/requirements-cublas11.txt | 3 +-- backend/python/diffusers/requirements-cublas12.txt | 3 +-- backend/python/diffusers/requirements-hipblas.txt | 3 +-- backend/python/diffusers/requirements-intel.txt | 3 +-- backend/python/exllama2/requirements-cpu.txt | 3 +-- backend/python/exllama2/requirements-cublas11.txt | 3 +-- backend/python/exllama2/requirements-cublas12.txt | 3 +-- backend/python/kokoro/requirements-cpu.txt | 3 +-- backend/python/kokoro/requirements-cublas11.txt | 3 +-- backend/python/kokoro/requirements-cublas12.txt | 3 +-- backend/python/kokoro/requirements-hipblas.txt | 3 +-- backend/python/kokoro/requirements-intel.txt | 3 +-- backend/python/rerankers/requirements-cpu.txt | 3 +-- backend/python/rerankers/requirements-cublas11.txt | 3 +-- backend/python/rerankers/requirements-cublas12.txt | 3 +-- backend/python/rerankers/requirements-hipblas.txt | 3 +-- backend/python/rerankers/requirements-intel.txt | 3 +-- backend/python/transformers/requirements-cpu.txt | 3 +-- backend/python/transformers/requirements-cublas11.txt | 3 +-- backend/python/transformers/requirements-cublas12.txt | 3 +-- backend/python/transformers/requirements-hipblas.txt | 3 +-- backend/python/transformers/requirements-intel.txt | 3 +-- backend/python/vllm/requirements-cpu.txt | 3 +-- backend/python/vllm/requirements-cublas11.txt | 3 +-- backend/python/vllm/requirements-cublas12.txt | 3 +-- backend/python/vllm/requirements-hipblas.txt | 3 +-- 32 files changed, 32 insertions(+), 64 deletions(-) diff --git a/backend/python/bark/requirements-cpu.txt b/backend/python/bark/requirements-cpu.txt index 5dad18bb..12e376ad 100644 --- a/backend/python/bark/requirements-cpu.txt +++ b/backend/python/bark/requirements-cpu.txt @@ -1,5 +1,4 @@ -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.4.1 torchaudio==2.4.1 \ No newline at end of file diff --git a/backend/python/bark/requirements-cublas11.txt b/backend/python/bark/requirements-cublas11.txt index 7a0404b9..9f8fe9ff 100644 --- a/backend/python/bark/requirements-cublas11.txt +++ b/backend/python/bark/requirements-cublas11.txt @@ -1,6 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/cu118 torch==2.4.1+cu118 torchaudio==2.4.1+cu118 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate \ No newline at end of file diff --git a/backend/python/bark/requirements-cublas12.txt b/backend/python/bark/requirements-cublas12.txt index 1f62e7a8..53716949 100644 --- a/backend/python/bark/requirements-cublas12.txt +++ b/backend/python/bark/requirements-cublas12.txt @@ -1,5 +1,4 @@ torch==2.4.1 torchaudio==2.4.1 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate \ No newline at end of file diff --git a/backend/python/bark/requirements-hipblas.txt b/backend/python/bark/requirements-hipblas.txt index aea38699..1d54fb16 100644 --- a/backend/python/bark/requirements-hipblas.txt +++ b/backend/python/bark/requirements-hipblas.txt @@ -1,6 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/rocm6.0 torch==2.4.1+rocm6.0 torchaudio==2.4.1+rocm6.0 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate \ No newline at end of file diff --git a/backend/python/bark/requirements-intel.txt b/backend/python/bark/requirements-intel.txt index ad76c381..f24bd166 100644 --- a/backend/python/bark/requirements-intel.txt +++ b/backend/python/bark/requirements-intel.txt @@ -5,6 +5,5 @@ torchaudio==2.3.1+cxx11.abi oneccl_bind_pt==2.3.100+xpu optimum[openvino] setuptools -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate \ No newline at end of file diff --git a/backend/python/diffusers/requirements-cpu.txt b/backend/python/diffusers/requirements-cpu.txt index a45c7621..20667cc0 100644 --- a/backend/python/diffusers/requirements-cpu.txt +++ b/backend/python/diffusers/requirements-cpu.txt @@ -1,7 +1,6 @@ diffusers opencv-python -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate compel peft diff --git a/backend/python/diffusers/requirements-cublas11.txt b/backend/python/diffusers/requirements-cublas11.txt index de14d1f3..19e2d72e 100644 --- a/backend/python/diffusers/requirements-cublas11.txt +++ b/backend/python/diffusers/requirements-cublas11.txt @@ -2,8 +2,7 @@ torch==2.4.1+cu118 diffusers opencv-python -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate compel peft diff --git a/backend/python/diffusers/requirements-cublas12.txt b/backend/python/diffusers/requirements-cublas12.txt index e329ac01..3992b039 100644 --- a/backend/python/diffusers/requirements-cublas12.txt +++ b/backend/python/diffusers/requirements-cublas12.txt @@ -1,8 +1,7 @@ torch==2.4.1 diffusers opencv-python -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate compel peft diff --git a/backend/python/diffusers/requirements-hipblas.txt b/backend/python/diffusers/requirements-hipblas.txt index 2b7709d3..17cf7249 100644 --- a/backend/python/diffusers/requirements-hipblas.txt +++ b/backend/python/diffusers/requirements-hipblas.txt @@ -3,8 +3,7 @@ torch==2.3.1+rocm6.0 torchvision==0.18.1+rocm6.0 diffusers opencv-python -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate compel peft diff --git a/backend/python/diffusers/requirements-intel.txt b/backend/python/diffusers/requirements-intel.txt index ff35a9b3..eb7448b0 100644 --- a/backend/python/diffusers/requirements-intel.txt +++ b/backend/python/diffusers/requirements-intel.txt @@ -7,8 +7,7 @@ optimum[openvino] setuptools diffusers opencv-python -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate compel peft diff --git a/backend/python/exllama2/requirements-cpu.txt b/backend/python/exllama2/requirements-cpu.txt index 8bcc7065..2021fc20 100644 --- a/backend/python/exllama2/requirements-cpu.txt +++ b/backend/python/exllama2/requirements-cpu.txt @@ -1,4 +1,3 @@ -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.4.1 \ No newline at end of file diff --git a/backend/python/exllama2/requirements-cublas11.txt b/backend/python/exllama2/requirements-cublas11.txt index 4ea5fc1f..2d1958c7 100644 --- a/backend/python/exllama2/requirements-cublas11.txt +++ b/backend/python/exllama2/requirements-cublas11.txt @@ -1,5 +1,4 @@ --extra-index-url https://download.pytorch.org/whl/cu118 torch==2.4.1+cu118 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate \ No newline at end of file diff --git a/backend/python/exllama2/requirements-cublas12.txt b/backend/python/exllama2/requirements-cublas12.txt index 10e4abdc..93e62c5a 100644 --- a/backend/python/exllama2/requirements-cublas12.txt +++ b/backend/python/exllama2/requirements-cublas12.txt @@ -1,4 +1,3 @@ torch==2.4.1 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate \ No newline at end of file diff --git a/backend/python/kokoro/requirements-cpu.txt b/backend/python/kokoro/requirements-cpu.txt index 25c7972c..b4f1261f 100644 --- a/backend/python/kokoro/requirements-cpu.txt +++ b/backend/python/kokoro/requirements-cpu.txt @@ -1,3 +1,2 @@ torch==2.4.1 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 \ No newline at end of file +transformers \ No newline at end of file diff --git a/backend/python/kokoro/requirements-cublas11.txt b/backend/python/kokoro/requirements-cublas11.txt index 5e058b55..ed0d4df5 100644 --- a/backend/python/kokoro/requirements-cublas11.txt +++ b/backend/python/kokoro/requirements-cublas11.txt @@ -1,4 +1,3 @@ --extra-index-url https://download.pytorch.org/whl/cu118 torch==2.4.1+cu118 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 \ No newline at end of file +transformers \ No newline at end of file diff --git a/backend/python/kokoro/requirements-cublas12.txt b/backend/python/kokoro/requirements-cublas12.txt index 25c7972c..b4f1261f 100644 --- a/backend/python/kokoro/requirements-cublas12.txt +++ b/backend/python/kokoro/requirements-cublas12.txt @@ -1,3 +1,2 @@ torch==2.4.1 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 \ No newline at end of file +transformers \ No newline at end of file diff --git a/backend/python/kokoro/requirements-hipblas.txt b/backend/python/kokoro/requirements-hipblas.txt index 9041e787..ec8d0306 100644 --- a/backend/python/kokoro/requirements-hipblas.txt +++ b/backend/python/kokoro/requirements-hipblas.txt @@ -1,4 +1,3 @@ --extra-index-url https://download.pytorch.org/whl/rocm6.0 torch==2.4.1+rocm6.0 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 \ No newline at end of file +transformers \ No newline at end of file diff --git a/backend/python/kokoro/requirements-intel.txt b/backend/python/kokoro/requirements-intel.txt index 8b386028..b16448d3 100644 --- a/backend/python/kokoro/requirements-intel.txt +++ b/backend/python/kokoro/requirements-intel.txt @@ -2,5 +2,4 @@ intel-extension-for-pytorch==2.3.110+xpu torch==2.3.1+cxx11.abi oneccl_bind_pt==2.3.100+xpu -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 \ No newline at end of file +transformers \ No newline at end of file diff --git a/backend/python/rerankers/requirements-cpu.txt b/backend/python/rerankers/requirements-cpu.txt index 096833d5..e27a4726 100644 --- a/backend/python/rerankers/requirements-cpu.txt +++ b/backend/python/rerankers/requirements-cpu.txt @@ -1,5 +1,4 @@ -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.4.1 rerankers[transformers] \ No newline at end of file diff --git a/backend/python/rerankers/requirements-cublas11.txt b/backend/python/rerankers/requirements-cublas11.txt index 9c42ef5e..fef296fe 100644 --- a/backend/python/rerankers/requirements-cublas11.txt +++ b/backend/python/rerankers/requirements-cublas11.txt @@ -1,6 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/cu118 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.4.1+cu118 rerankers[transformers] \ No newline at end of file diff --git a/backend/python/rerankers/requirements-cublas12.txt b/backend/python/rerankers/requirements-cublas12.txt index 096833d5..e27a4726 100644 --- a/backend/python/rerankers/requirements-cublas12.txt +++ b/backend/python/rerankers/requirements-cublas12.txt @@ -1,5 +1,4 @@ -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.4.1 rerankers[transformers] \ No newline at end of file diff --git a/backend/python/rerankers/requirements-hipblas.txt b/backend/python/rerankers/requirements-hipblas.txt index 6e796356..b1c8baed 100644 --- a/backend/python/rerankers/requirements-hipblas.txt +++ b/backend/python/rerankers/requirements-hipblas.txt @@ -1,6 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/rocm6.0 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.4.1+rocm6.0 rerankers[transformers] \ No newline at end of file diff --git a/backend/python/rerankers/requirements-intel.txt b/backend/python/rerankers/requirements-intel.txt index 5f10a97f..c071e8fb 100644 --- a/backend/python/rerankers/requirements-intel.txt +++ b/backend/python/rerankers/requirements-intel.txt @@ -1,7 +1,6 @@ --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/us/ intel-extension-for-pytorch==2.3.110+xpu -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers accelerate torch==2.3.1+cxx11.abi oneccl_bind_pt==2.3.100+xpu diff --git a/backend/python/transformers/requirements-cpu.txt b/backend/python/transformers/requirements-cpu.txt index 5cceadec..065c5c2d 100644 --- a/backend/python/transformers/requirements-cpu.txt +++ b/backend/python/transformers/requirements-cpu.txt @@ -2,8 +2,7 @@ torch==2.4.1 llvmlite==0.43.0 numba==0.60.0 accelerate -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers bitsandbytes outetts sentence-transformers==3.4.1 diff --git a/backend/python/transformers/requirements-cublas11.txt b/backend/python/transformers/requirements-cublas11.txt index efaea0f6..e0f6edaf 100644 --- a/backend/python/transformers/requirements-cublas11.txt +++ b/backend/python/transformers/requirements-cublas11.txt @@ -3,8 +3,7 @@ torch==2.4.1+cu118 llvmlite==0.43.0 numba==0.60.0 accelerate -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers bitsandbytes outetts sentence-transformers==4.1.0 diff --git a/backend/python/transformers/requirements-cublas12.txt b/backend/python/transformers/requirements-cublas12.txt index 55c50184..ff5f9b40 100644 --- a/backend/python/transformers/requirements-cublas12.txt +++ b/backend/python/transformers/requirements-cublas12.txt @@ -2,8 +2,7 @@ torch==2.4.1 accelerate llvmlite==0.43.0 numba==0.60.0 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers bitsandbytes outetts sentence-transformers==4.1.0 diff --git a/backend/python/transformers/requirements-hipblas.txt b/backend/python/transformers/requirements-hipblas.txt index eb8713a4..ceae62cf 100644 --- a/backend/python/transformers/requirements-hipblas.txt +++ b/backend/python/transformers/requirements-hipblas.txt @@ -1,8 +1,7 @@ --extra-index-url https://download.pytorch.org/whl/rocm6.0 torch==2.4.1+rocm6.0 accelerate -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers llvmlite==0.43.0 numba==0.60.0 bitsandbytes diff --git a/backend/python/transformers/requirements-intel.txt b/backend/python/transformers/requirements-intel.txt index f9ee24a4..cdebe326 100644 --- a/backend/python/transformers/requirements-intel.txt +++ b/backend/python/transformers/requirements-intel.txt @@ -5,8 +5,7 @@ oneccl_bind_pt==2.3.100+xpu optimum[openvino] llvmlite==0.43.0 numba==0.60.0 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers intel-extension-for-transformers bitsandbytes outetts diff --git a/backend/python/vllm/requirements-cpu.txt b/backend/python/vllm/requirements-cpu.txt index 8e5bef12..84058901 100644 --- a/backend/python/vllm/requirements-cpu.txt +++ b/backend/python/vllm/requirements-cpu.txt @@ -1,4 +1,3 @@ accelerate torch==2.4.1 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 \ No newline at end of file +transformers \ No newline at end of file diff --git a/backend/python/vllm/requirements-cublas11.txt b/backend/python/vllm/requirements-cublas11.txt index 26f4d256..a6e49c1f 100644 --- a/backend/python/vllm/requirements-cublas11.txt +++ b/backend/python/vllm/requirements-cublas11.txt @@ -1,6 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/cu118 accelerate torch==2.4.1+cu118 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers bitsandbytes \ No newline at end of file diff --git a/backend/python/vllm/requirements-cublas12.txt b/backend/python/vllm/requirements-cublas12.txt index 62ad44c2..2dfc28f9 100644 --- a/backend/python/vllm/requirements-cublas12.txt +++ b/backend/python/vllm/requirements-cublas12.txt @@ -1,5 +1,4 @@ accelerate torch==2.4.1 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers bitsandbytes \ No newline at end of file diff --git a/backend/python/vllm/requirements-hipblas.txt b/backend/python/vllm/requirements-hipblas.txt index acee85f3..f580314a 100644 --- a/backend/python/vllm/requirements-hipblas.txt +++ b/backend/python/vllm/requirements-hipblas.txt @@ -1,6 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/rocm6.0 accelerate torch==2.4.1+rocm6.0 -# https://github.com/huggingface/transformers/issues/38269#issuecomment-2900214777 -transformers==4.52.1 +transformers bitsandbytes \ No newline at end of file