Skip to content

Commit

Permalink
BUG: pin mlx<0.22.0 to prevent qwen2_vl failing in mlx-vlm (#2752)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinxuye authored Jan 10, 2025
1 parent 1d379a1 commit e37182f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ jobs:
pip install -e ".[dev]"
if [ "$MODULE" == "metal" ]; then
conda install -c conda-forge "ffmpeg<7"
pip install "mlx<0.22.0"
pip install mlx-lm
pip install mlx-vlm
pip install mlx-whisper
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ all =
optimum
outlines>=0.0.34
sglang>=0.2.7 ; sys_platform=='linux'
mlx<0.22.0 ; sys_platform=='darwin' and platform_machine=='arm64'
mlx-lm ; sys_platform=='darwin' and platform_machine=='arm64'
mlx-vlm>=0.1.7 ; sys_platform=='darwin' and platform_machine=='arm64'
mlx-whisper ; sys_platform=='darwin' and platform_machine=='arm64'
Expand Down Expand Up @@ -182,6 +183,7 @@ sglang =
vllm>=0.5.2 ; sys_platform=='linux'
outlines>=0.0.34
mlx =
mlx<0.22.0
mlx-lm
mlx-vlm>=0.1.7
mlx-whisper
Expand Down

0 comments on commit e37182f

Please sign in to comment.