The open-source AI voice studio. Clone, dictate, create.
fix(build): pin transformers in MLX requirements to prevent 5.x upgrade (#481)
Jamie Pinebf58750447f0
diff --git a/backend/requirements-mlx.txt b/backend/requirements-mlx.txtindex 80ab1730..4bd1798c 100644--- a/backend/requirements-mlx.txt+++ b/backend/requirements-mlx.txt@@ -3,3 +3,11 @@mlx>=0.30.0mlx-audio>=0.3.1++# Restate the transformers cap from requirements.txt. mlx-audio depends on+# `transformers` with no upper bound, so installing it after requirements.txt+# lets pip upgrade transformers past 4.57.x (latest is 5.x), which breaks+# qwen-custom-voice (`@check_model_inputs()` API change), tada-1b (dataclass+# `mutable default` enforcement), and luxtts (Whisper init path) in the+# frozen MLX bundle. Keep this constraint in sync with requirements.txt.+transformers>=4.36.0,<=4.57.6