hf_mirrors/YOLO26s-OptiQ-6bit
Model Introduction
Files & versions
Analysis
You are visiting the mirror address of https://huggingface.co/mlx-community/YOLO26s-OptiQ-6bit. The repo is synchronized in real-time and is only for mirror acceleration access.

YOLO26s-OptiQ-6bit

Mixed-precision quantized YOLO26s for Apple Silicon via optiq

This is a mixed-precision quantized version of YOLO26s in MLX format, optimized with mlx-optiq for Apple Silicon inference via yolo-mlx.

Quantization Details

PropertyValue
Target BPW6.0
Achieved BPW5.97
Layers at 4-bit11
Layers at 8-bit115
Original size38.4 MB
Quantized size8.9 MB
Compression4.3x

Benchmark Results (COCO128)

ModelTotal DetectionsAvg/Image
optiq 6-bit6334.9
Original (FP32)6815.3

Detection delta: -48 (-7.0%) at 4.3x compression.

Usage

Requires mlx-optiq and yolo-mlx:

pip install mlx-optiq yolo-mlx
from optiq.models.yolo import load_quantized_yolo

model = load_quantized_yolo("mlx-community/YOLO26s-OptiQ-6bit")
results = model.predict("image.jpg")

How optiq Works

optiq measures each conv layer's sensitivity via KL divergence on detection outputs, then assigns optimal per-layer bit-widths using greedy knapsack optimization. Sensitive layers (detection head, feature pyramid) get 8-bit precision while robust backbone layers get 4-bit.

Article

For more details on the methodology and results, see: Not All Layers Are Equal

Credits

  • Quantization: mlx-optiq
  • Base model: YOLO26 by Ultralytics
  • MLX runtime: yolo-mlx
  • Framework: MLX by Apple