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