How to use from the
Use from the
MLX library
# Make sure mlx-vlm is installed
# pip install --upgrade mlx-vlm

from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config

# Load the model
model, processor = load("majentik/Qwen3.6-27B-MLX-2bit")
config = load_config("majentik/Qwen3.6-27B-MLX-2bit")

# Prepare input
image = ["http://images.cocodataset.org/val2017/000000039769.jpg"]
prompt = "Describe this image."

# Apply chat template
formatted_prompt = apply_chat_template(
    processor, config, prompt, num_images=1
)

# Generate output
output = generate(model, processor, formatted_prompt, image)
print(output)

Qwen3.6-27B-MLX-2bit

Summary

MLX 2bit (affine, 2-bit, group size 64) quantization of Qwen/Qwen3.6-27B at upstream revision 6a9e13bd6fc8f0983b9b99948120bc37f49c13e9, produced directly from the BF16 safetensors with pipelines.mlx_direct_quantize (majek repo). ~8.8 GiB on disk.

Runtime caveat: this is a weights + config pack published ahead of runtime availability; the qwen3_5 vision-language architecture is now supported upstream (mlx-lm PR #1345, merged 2026-06-04; mlx-vlm support available). No local inference smoke was performed on these artifacts, so the quality of this variant is not verified.

Why this variant

Affine 2-bit, group size 64 — the smallest tier. Highest quality risk of the family (unverified; see the runtime caveat).

Reproduce

python -m pipelines.mlx_direct_quantize --model qwen3.6-27b --base-dir /tmp/mlx-direct-release/qwen3.6-27b/base --out-dir /tmp/mlx-direct-release/qwen3.6-27b/2bit --bits 2 --mode affine --group-size 64

Vision tower

The model.visual.* tower (333 tensors) is passed through unquantized in BF16 — only the text tower (model.language_model.*, lm_head.*) is quantized.

Family

All MLX variants of this model ship together:

Provenance

  • Upstream: Qwen/Qwen3.6-27B @ 6a9e13bd6fc8f0983b9b99948120bc37f49c13e9
  • Quantization: bits=2, mode=affine, group_size=64 (text tower only)
  • Toolchain: mlx 0.31.2, huggingface_hub 0.36.2
  • Full details in PROVENANCE.md in this repo.

License + attribution

Quantized by majentik from Qwen/Qwen3.6-27B. All rights in the original model remain with its authors.

The upstream model is released under the Apache License 2.0 — see the upstream LICENSE file.

Downloads last month
142
Safetensors
Model size
28B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

2-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for majentik/Qwen3.6-27B-MLX-2bit

Base model

Qwen/Qwen3.6-27B
Quantized
(715)
this model

Collections including majentik/Qwen3.6-27B-MLX-2bit