2a43fc6f4b08 Merge pull request #2 from Blaizzy/pc/package-api-dev Prince Canuma,
| mlx_vlm/ | ||
| .gitignore | 208 B | |
| .pre-commit-config.yaml | 239 B | |
| CONTRIBUTING.md | 2.5 KiB | |
| LICENSE | 1.0 KiB | |
| MANIFEST.in | 59 B | |
| README.md | 491 B | |
| setup.py | 813 B |
README.md
MLX-VLM
MLX-VLM a package for running Vision LLMs on your Mac using MLX.
Get started
The easiest way to get started is to install the mlx-vlm package:
With pip:
pip install mlx-vlm
Inference:
python -m mlx_vlm.generate --model mlx-community/llava-1.5-7b-hf-4bit --max-tokens 10 --temp 0.0
Convert models:
pip -m mlx_vlm.convert
--hf-path llava-hf/llava-1.5-7b-hf\
-q \
--upload-repo mlx-community/llava-1.5-7b-hf-4bit