MLX Community · First MLX build 23 Apr 2024

llava-1.5-7b

MLX TextVision llama2

A 7.1B parameter vision and text model, with 2 MLX builds, from 4-bit to 8-bit.

Hugging Face
Parameters
7.1B
From Hugging Face
Quantisation
4-bit
llava-1.5-7b-4bit
Memory needed
7 GB
Estimate, unified memory
Download
4.0 GB
Weights, estimated
Downloads
6.8K
This build, last 30 days
Task
Vision and text
Text, Vision
MLX builds
2
On mlx-community
Devices
Mac
Apple silicon

Memory

Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.

Run it

Terminal · mlx-vlm
$ pip install -U mlx-vlm
$ python -m mlx_vlm.generate --model mlx-community/llava-1.5-7b-4bit --image photo.jpg --prompt "Describe this image"

MLX builds

2 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
llava-1.5-7b-4bit 4-bit 4.0 GB 7 GB 6.8K
llava-1.5-7b-8bit 8-bit 7.5 GB 11 GB 34

Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.