Views
No views yet
mlx-vlm from the pc/fix-qwen35-predicate branch, which includes fixes for Qwen3.5 model support (proper handling of MoE gate layers, shared_expert_gate, and A_log casting).1python3 -m mlx_vlm convert \
2 --hf-path "Qwen/Qwen3.5-4B" \
3 --mlx-path "./Qwen3.5-4B-MLX-4bit" \
4 -q --q-bits 4 --q-group-size 64mlx-vlm branch.1from mlx_vlm import load, generate
2
3model, processor = load("mlx-community/Qwen3.5-4B-MLX-4bit")
4
5output = generate(
6 model,
7 processor,
8 prompt="Describe this image.",
9 image="path/to/image.jpg",
10 max_tokens=512
11)
12print(output)1python3 -m mlx_vlm.generate \
2 --model mlx-community/Qwen3.5-4B-MLX-4bit \
3 --image path/to/image.jpg \
4 --prompt "Describe this image."