Elffuss BraidHub

kikocis/mlx-vlm public

Changeset: 52c77c2c9fdc
52c77c2c9fdc fix build error Prince Canuma,
.github/
mlx_vlm/
.gitignore208 B
.pre-commit-config.yaml239 B
CONTRIBUTING.md2.5 KiB
LICENSE1.0 KiB
MANIFEST.in59 B
README.md491 B
requirements.txt82 B
setup.py1.0 KiB

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