From 6e46075be58f86faeca742ff858fb39b1680feb9 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Sat, 25 Apr 2026 16:42:22 +0000 Subject: [PATCH] fix(mlx-vlm): pin upstream to v0.4.4 to unblock CUDA builds Blaizzy/mlx-vlm git HEAD bumped its constraint to mlx>=0.31.2, but mlx-cuda-12 and mlx-cuda-13 are only published up to 0.31.1 on PyPI. Since mlx[cudaXX]==0.31.2 forces a sibling wheel that doesn't exist, pip backtracks through every older mlx[cudaXX], none of which satisfy mlx>=0.31.2, producing ResolutionImpossible. Pin all variants to the v0.4.4 tag (mlx>=0.30.0), which resolves cleanly against mlx[cuda13]==0.31.1. cpu/mps weren't broken yet but are pinned for consistency. Assisted-by: Claude:claude-opus-4-7 Signed-off-by: Ettore Di Giacinto --- backend/python/mlx-vlm/requirements-cpu.txt | 2 +- backend/python/mlx-vlm/requirements-cublas12.txt | 2 +- backend/python/mlx-vlm/requirements-cublas13.txt | 2 +- backend/python/mlx-vlm/requirements-l4t12.txt | 2 +- backend/python/mlx-vlm/requirements-l4t13.txt | 2 +- backend/python/mlx-vlm/requirements-mps.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/python/mlx-vlm/requirements-cpu.txt b/backend/python/mlx-vlm/requirements-cpu.txt index 35970eb69d41..b9ae5b10678c 100644 --- a/backend/python/mlx-vlm/requirements-cpu.txt +++ b/backend/python/mlx-vlm/requirements-cpu.txt @@ -1,2 +1,2 @@ -git+https://github.com/Blaizzy/mlx-vlm +git+https://github.com/Blaizzy/mlx-vlm@v0.4.4 mlx[cpu] \ No newline at end of file diff --git a/backend/python/mlx-vlm/requirements-cublas12.txt b/backend/python/mlx-vlm/requirements-cublas12.txt index ba91567e3914..74a3d231ca67 100644 --- a/backend/python/mlx-vlm/requirements-cublas12.txt +++ b/backend/python/mlx-vlm/requirements-cublas12.txt @@ -1,2 +1,2 @@ -git+https://github.com/Blaizzy/mlx-vlm +git+https://github.com/Blaizzy/mlx-vlm@v0.4.4 mlx[cuda12] \ No newline at end of file diff --git a/backend/python/mlx-vlm/requirements-cublas13.txt b/backend/python/mlx-vlm/requirements-cublas13.txt index 823404a9ea2c..d7c460f4b8c8 100644 --- a/backend/python/mlx-vlm/requirements-cublas13.txt +++ b/backend/python/mlx-vlm/requirements-cublas13.txt @@ -1,2 +1,2 @@ -git+https://github.com/Blaizzy/mlx-vlm +git+https://github.com/Blaizzy/mlx-vlm@v0.4.4 mlx[cuda13] \ No newline at end of file diff --git a/backend/python/mlx-vlm/requirements-l4t12.txt b/backend/python/mlx-vlm/requirements-l4t12.txt index ba91567e3914..74a3d231ca67 100644 --- a/backend/python/mlx-vlm/requirements-l4t12.txt +++ b/backend/python/mlx-vlm/requirements-l4t12.txt @@ -1,2 +1,2 @@ -git+https://github.com/Blaizzy/mlx-vlm +git+https://github.com/Blaizzy/mlx-vlm@v0.4.4 mlx[cuda12] \ No newline at end of file diff --git a/backend/python/mlx-vlm/requirements-l4t13.txt b/backend/python/mlx-vlm/requirements-l4t13.txt index 823404a9ea2c..d7c460f4b8c8 100644 --- a/backend/python/mlx-vlm/requirements-l4t13.txt +++ b/backend/python/mlx-vlm/requirements-l4t13.txt @@ -1,2 +1,2 @@ -git+https://github.com/Blaizzy/mlx-vlm +git+https://github.com/Blaizzy/mlx-vlm@v0.4.4 mlx[cuda13] \ No newline at end of file diff --git a/backend/python/mlx-vlm/requirements-mps.txt b/backend/python/mlx-vlm/requirements-mps.txt index 8737f6091c70..882c2af5ac10 100644 --- a/backend/python/mlx-vlm/requirements-mps.txt +++ b/backend/python/mlx-vlm/requirements-mps.txt @@ -1 +1 @@ -git+https://github.com/Blaizzy/mlx-vlm \ No newline at end of file +git+https://github.com/Blaizzy/mlx-vlm@v0.4.4 \ No newline at end of file