Downloads · 30 days
28
1% of all-time downloads
micic-mihajlo/Qwen3.6-27B-Opus4.6-Reasoning-MLX-4bit
Qwen3.6-27B-Opus4.6-Reasoning-MLX-4bit is a image-text-to-text model from micic-mihajlo. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This repository is an MLX 4-bit conversion of a merged Qwen3.6 vision-language model:
Downloads · 30 days
28
1% of all-time downloads
All-time downloads
2.4K
Public
Parameters
27.4B
16.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
How the weights are stored.
U3226.9B · 98%
From the Hugging Face model README
This repository is an MLX 4-bit conversion of a merged Qwen3.6 vision-language model:
unsloth/Qwen3.6-27BQwen/Qwen3.6-27Bkai-os/Qwen3.6-27b-Opus4.6-reasoningmlx-vlmThe adapter was merged into the base Hugging Face checkpoint, then the merged checkpoint was converted to MLX and quantized to 4-bit affine weights.
qwen3_5The final MLX config includes:
"quantization": {
"group_size": 64,
"bits": 4,
"mode": "affine"
}
The conversion pipeline was:
unsloth/Qwen3.6-27B with Transformers.kai-os/Qwen3.6-27b-Opus4.6-reasoning as a PEFT LoRA adapter.merge_and_unload.mlx_vlm.convert.The conversion was run on Google Colab Pro using an A100 runtime. The MLX conversion used the Linux CUDA backend (mlx[cuda12]) with mlx-vlm 0.4.4.
Key files in this repo:
config.json: MLX/VLM architecture and quantization configuration.model.safetensors.index.json: weight index, including total quantized storage size.model-00001-of-00003.safetensors, model-00002-of-00003.safetensors, model-00003-of-00003.safetensors: quantized MLX weight shards.tokenizer.json, tokenizer_config.json, special_tokens_map.json, added_tokens.json: tokenizer assets.preprocessor_config.json, processor_config.json, video_preprocessor_config.json: VLM processor assets.chat_template.jinja: chat template copied from the source model assets.Install mlx-vlm:
pip install -U mlx-vlm
Run an image-text prompt:
python -m mlx_vlm.generate \
--model micic-mihajlo/Qwen3.6-27B-Opus4.6-Reasoning-MLX-4bit \
--prompt "Describe this image." \
--image /path/to/image.jpg \
--max-tokens 256 \
--temperature 0.0
Run a text-only prompt through the VLM entrypoint:
python -m mlx_vlm.generate \
--model micic-mihajlo/Qwen3.6-27B-Opus4.6-Reasoning-MLX-4bit \
--prompt "Solve: If x^2 - 5x + 6 = 0, what are the possible values of x?" \
--max-tokens 256 \
--temperature 0.0
Python example:
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
model_path = "micic-mihajlo/Qwen3.6-27B-Opus4.6-Reasoning-MLX-4bit"
model, processor = load(model_path)
messages = [
{
"role": "user",
"content": "Explain the difference between LoRA merging and quantization.",
}
]
prompt = apply_chat_template(processor, model.config, messages)
response = generate(model, processor, prompt, max_tokens=256, temperature=0.0)
print(response)
If the Python API changes in a future mlx-vlm release, prefer the CLI example above or consult the installed mlx-vlm documentation for the current load and generate signatures.
This model is intended for local MLX inference on Apple Silicon or compatible MLX environments. It should be useful for:
During conversion, the following checks completed:
unsloth/Qwen3.6-27B.mlx-vlm loaded the merged checkpoint for conversion.The conversion log reported:
Quantized model with 4.695 bits per weight.
Upload successful
After upload, the model was smoke-tested locally on Apple Silicon with mlx-vlm, torch, and torchvision installed for processor support:
15 chickens and 11 cows.16.4 GB for text-only generation and about 16.8 GB for the simple image-text test.16 tokens/sec for these short smoke tests.This is a derived model built from:
Qwen/Qwen3.6-27B / unsloth/Qwen3.6-27B, licensed under Apache-2.0.kai-os/Qwen3.6-27b-Opus4.6-reasoning, a PEFT LoRA adapter with MIT metadata.Because the base model is Apache-2.0 and the adapter is MIT, downstream users should comply with the Apache-2.0 terms of the base model and the MIT terms of the adapter. This model card uses apache-2.0 in the Hub metadata to reflect the base model license.
Thanks to the Qwen, Unsloth, kai-os, MLX, and mlx-vlm maintainers. This repository is only a merged and quantized MLX port; the original modeling and adapter work belongs to the upstream authors.