From 0406741a8c41768c2cc10a645217e816c4b7311a Mon Sep 17 00:00:00 2001 From: localai-org-maint-bot Date: Mon, 20 Jul 2026 08:27:25 +0200 Subject: [PATCH] fix(vibevoice): install diffusers from PyPI instead of git main (#10972) Every vibevoice requirements file pulled diffusers straight from git+https://github.com/huggingface/diffusers. That branch now reports itself as 0.40.0.dev0 and requires huggingface-hub>=1.23.0,<2.0, while transformers>=4.51.3,<5.0.0 (which upstream VibeVoice mandates) still caps huggingface-hub at <1.0. Because a git URL offers the resolver exactly one candidate version, uv has nothing to backtrack to and the install fails outright: Because only diffusers==0.40.0.dev0 is available and diffusers==0.40.0.dev0 depends on huggingface-hub>=1.23.0,<2.0 [...] we can conclude that your requirements are unsatisfiable. This broke the vibevoice build on every variant - cpu (amd64/arm64), cuda 12/13, l4t 12/13, intel and rocm, plus the darwin metal job - and has been failing the weekly full-matrix rebuild for three weeks. It is not caught by master pushes because backend builds are path-filtered there, so it only surfaces on the Sunday cron and on release tags. Use the PyPI package instead. That is what upstream VibeVoice declares in its own pyproject.toml, and what every other LocalAI backend already does - vibevoice was the only one tracking the git branch. With a real release series available the resolver settles on diffusers 0.39.0 with huggingface-hub 0.36.2 and transformers 4.57.6, and it can keep backtracking on its own if upstream shifts again. Verified with uv pip compile against cpu, cublas12, cublas13, hipblas, intel, mps and l4t13: all resolve to that same coherent set. l4t12 only resolves on aarch64, since its Jetson index ships no x86_64 torch wheel. Assisted-by: Claude Code:claude-opus-4-8[1m] [Read] [Bash] [uv] Signed-off-by: Ettore Di Giacinto Co-authored-by: Ettore Di Giacinto --- backend/python/vibevoice/requirements-cpu.txt | 2 +- backend/python/vibevoice/requirements-cublas12.txt | 2 +- backend/python/vibevoice/requirements-cublas13.txt | 2 +- backend/python/vibevoice/requirements-hipblas.txt | 2 +- backend/python/vibevoice/requirements-intel.txt | 2 +- backend/python/vibevoice/requirements-l4t12.txt | 2 +- backend/python/vibevoice/requirements-l4t13.txt | 2 +- backend/python/vibevoice/requirements-mps.txt | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/backend/python/vibevoice/requirements-cpu.txt b/backend/python/vibevoice/requirements-cpu.txt index 553394261..8949fae24 100644 --- a/backend/python/vibevoice/requirements-cpu.txt +++ b/backend/python/vibevoice/requirements-cpu.txt @@ -1,5 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/cpu -git+https://github.com/huggingface/diffusers +diffusers opencv-python transformers>=4.51.3,<5.0.0 torchvision==0.22.1 diff --git a/backend/python/vibevoice/requirements-cublas12.txt b/backend/python/vibevoice/requirements-cublas12.txt index c8973eb3e..e17e4c953 100644 --- a/backend/python/vibevoice/requirements-cublas12.txt +++ b/backend/python/vibevoice/requirements-cublas12.txt @@ -1,5 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/cu121 -git+https://github.com/huggingface/diffusers +diffusers opencv-python transformers>=4.51.3,<5.0.0 torchvision diff --git a/backend/python/vibevoice/requirements-cublas13.txt b/backend/python/vibevoice/requirements-cublas13.txt index b75b15728..573e30873 100644 --- a/backend/python/vibevoice/requirements-cublas13.txt +++ b/backend/python/vibevoice/requirements-cublas13.txt @@ -1,5 +1,5 @@ --extra-index-url https://download.pytorch.org/whl/cu130 -git+https://github.com/huggingface/diffusers +diffusers opencv-python transformers>=4.51.3,<5.0.0 torchvision diff --git a/backend/python/vibevoice/requirements-hipblas.txt b/backend/python/vibevoice/requirements-hipblas.txt index ed54961c1..3f29826ce 100644 --- a/backend/python/vibevoice/requirements-hipblas.txt +++ b/backend/python/vibevoice/requirements-hipblas.txt @@ -1,7 +1,7 @@ --extra-index-url https://download.pytorch.org/whl/rocm7.0 torch==2.10.0+rocm7.0 torchvision==0.25.0+rocm7.0 -git+https://github.com/huggingface/diffusers +diffusers opencv-python transformers>=4.51.3,<5.0.0 accelerate diff --git a/backend/python/vibevoice/requirements-intel.txt b/backend/python/vibevoice/requirements-intel.txt index 7dee3464f..c56232081 100644 --- a/backend/python/vibevoice/requirements-intel.txt +++ b/backend/python/vibevoice/requirements-intel.txt @@ -3,7 +3,7 @@ torch torchvision optimum[openvino] setuptools -git+https://github.com/huggingface/diffusers +diffusers opencv-python transformers>=4.51.3,<5.0.0 accelerate diff --git a/backend/python/vibevoice/requirements-l4t12.txt b/backend/python/vibevoice/requirements-l4t12.txt index e959f0cb2..29fb6b5ae 100644 --- a/backend/python/vibevoice/requirements-l4t12.txt +++ b/backend/python/vibevoice/requirements-l4t12.txt @@ -1,6 +1,6 @@ --extra-index-url https://pypi.jetson-ai-lab.io/jp6/cu129/ torch -git+https://github.com/huggingface/diffusers +diffusers transformers>=4.51.3,<5.0.0 accelerate compel diff --git a/backend/python/vibevoice/requirements-l4t13.txt b/backend/python/vibevoice/requirements-l4t13.txt index 8e67d8503..7c1768059 100644 --- a/backend/python/vibevoice/requirements-l4t13.txt +++ b/backend/python/vibevoice/requirements-l4t13.txt @@ -1,6 +1,6 @@ --extra-index-url https://download.pytorch.org/whl/cu130 torch -git+https://github.com/huggingface/diffusers +diffusers transformers>=4.51.3,<5.0.0 accelerate compel diff --git a/backend/python/vibevoice/requirements-mps.txt b/backend/python/vibevoice/requirements-mps.txt index 41f8a0b65..18bfcb102 100644 --- a/backend/python/vibevoice/requirements-mps.txt +++ b/backend/python/vibevoice/requirements-mps.txt @@ -1,6 +1,6 @@ torch==2.7.1 torchvision==0.22.1 -git+https://github.com/huggingface/diffusers +diffusers opencv-python transformers>=4.51.3,<5.0.0 accelerate