Views
No views yet
pip install mlx-vlm1from mlx_vlm import load, generate
2from mlx_vlm.prompt_utils import apply_chat_template
3from mlx_vlm.utils import load_config
4
5model_path = "supersamdev/Gemma-4-E4B-dailydialog-MLX-4bit"
6model, processor = load(model_path)
7config = load_config(model_path)
8
9prompt = apply_chat_template(processor, config, "Hello!", num_images=0)
10response = generate(model, processor, prompt, max_tokens=200, verbose=True)| Repo | Bits | RAM |
|---|---|---|
| Gemma-4-E4B-dailydialog-MLX-2bit | 2-bit | ~3 GB |
| Gemma-4-E4B-dailydialog-MLX-4bit | 4-bit | ~6 GB |
| Gemma-4-E4B-dailydialog-MLX-6bit | 6-bit | ~8 GB |
| Gemma-4-E4B-dailydialog-MLX-8bit | 8-bit | ~10 GB |