MLX quantizations
Collection
Some of my work on bringing LLM and VLMs into Apple Sillicon inference engine. β’ 30 items β’ Updated
How to use axiom-of-choice/OmniParser-v2-icon-detect with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download axiom-of-choice/OmniParser-v2-icon-detect --local-dir OmniParser-v2-icon-detect
Native MLX port of the icon detection model from microsoft/OmniParser-v2.0.
icon)import mlx.core as mx
from mlx_vlm.models.yolo11 import YOLO11, load_weights, non_max_suppression
model = YOLO11(nc=1)
load_weights(model, mx.load("model.safetensors"))
# Run detection
pred = model(mx.array(image)[None]) # (1, 5, N) β 4 box + 1 score
detections = non_max_suppression(pred, conf_thresh=0.05, iou_thresh=0.1)
Converted from microsoft/OmniParser-v2.0/icon_detect/model.pt (Ultralytics YOLO11, nc=1).
Parity verified: identical detections vs PyTorch reference (7/7 boxes, confidences to 4 decimals).
Quantized