Repository navigation
Releases
Releases · mference-ai/Mference
Mference 2.1.0 — Qwen 3.6 Native Ephemeral Vision, Visual PDFs & Metal 4 Acceleration
Highlights in v2.1.0:
- Native Ephemeral Vision & Visual PDFs for Qwen 3.6 35B-A3B:
MferenceRepack --attach-visionstreams 333 BF16vision_tower.*tensors via HTTP Range intovision_weights.binwithout touchingmodel_weights.binor MTP/surgery calibration.Qwen36VisionEncodermaps weights on demand, encodes the 27-layer ViT + 2x2 spatial merger on Metal 4matmul2dkernels (vision.metal) with Accelerate AMX fallback, caches compact FP16 embeddings, and immediatelymunmap()s before the 40-layer MoE trunk runs (zero idle RAM overhead). - Multimodal Across Every Frontend: Images and multi-page PDFs (up to 64 pages) in
Mference.app, OpenAI/v1/chat/completions(image_url/file), andMferenceCLI(--image/--pdf). - Lossless Sampled MTP & Hit/Miss Verify Pipelining: 64-TG GPU softmax for sampled speculative decoding (
top-k1...64), zero-spill templated batched slot-map MoE verify with Phase-1/Phase-2 hit/miss I/O-first pipelining, fused multi-token GDN verify + tail updates, and SSD-spilled GDN checkpoint ring.
Mference 2.0.0 — Qwen 3.6 35B-A3B (Native MTP, Hybrid PLD & Lossless Weight Surgery)
Mference 2.0.0 (Apple Silicon arm64, macOS 15+)
Run Qwen 3.6 35B-A3B (4-bit, 256 routed experts) comfortably on a 16 GB unified-memory Mac in pure Swift 6.1 + Metal 3, streaming routed experts from NVMe SSD.
Highlights & Measured Impact (benchmarks/aa-scorecard-v2.json, 16 GB Mac, 32 slots)
- Pass@1 Accuracy:
25.0% (2/8)raw INT4 baseline →100.0% (8/8)(+75.0 ptsvia Lossless Weight Surgery + guards) - Decode Speed:
16.47 tok/savg, up to18.36 tok/s(Swift coding) &17.88 tok/s(AIME math) - Native 19-Tensor MoE MTP + 6-Gram Hybrid PLD:
83.1%draft acceptance (up to94.3%on AIME), async-pipelinedcommitAcceptPass, 4-slot Gated-DeltaNet rollback arena, losslesstopK = 6draft expert pruning, exact within-block top-2 EVICT logit-margin truncation, and single-pass 6/5/4/3-gram PLD disambiguation. - Lossless INT4 Resident Weight Surgery: Scales
BF16group-64 affinescale/biastables & norms directly inmodel_weights.binwith automatic MTP co-adaptation and manifest provenance checks — zero nibble re-quantization. - Bounded-Memory NVMe Streaming:
PreadExpertStreamerwith prefill-tail warm start,POSIX_MADV_RANDOMslab-only MTP mapping, and memory-bounded 2-slot LRUServerPromptCache(PrefixSnapshot).
Release Assets
Mference-2.0.0-macos-arm64-app.zip— Prebuilt macOS app bundle (Mference.appcontainingMferenceMac,MferenceDecodeService,MferenceServer, and Metal resources). Unzip to/Applicationsor~/Applications. (Ad-hoc signed: if Gatekeeper prompts on first launch from a browser download, runxattr -dr com.apple.quarantine ~/Applications/Mference.app.)Mference-2.0.0-macos-arm64-cli.tar.gz— PrebuiltMferenceCLI,MferenceServer,MferenceRepack,MferenceDecodeService, and runtime.bundleresources.SHA256SUMS.txt— SHA-256 verification checksums.
Quick Start (Model Weights Install)
Clone the repo to run the one-command Qwen 3.6 + MTP + weight surgery installer:
git clone https://github.com/fjw4cfv2fb-afk/Mference-2.0.git && cd Mference-2.0
./mference-ui.sh install qwen36-mtp