Skip to content

Releases

Mference 2.1.0 — Qwen 3.6 Native Ephemeral Vision, Visual PDFs & Metal 4 Acceleration

Choose a tag to compare

@fjw4cfv2fb-afk fjw4cfv2fb-afk released this 24 Nov 13:13

Highlights in v2.1.0:

  • Native Ephemeral Vision & Visual PDFs for Qwen 3.6 35B-A3B: MferenceRepack --attach-vision streams 333 BF16 vision_tower.* tensors via HTTP Range into vision_weights.bin without touching model_weights.bin or MTP/surgery calibration. Qwen36VisionEncoder maps weights on demand, encodes the 27-layer ViT + 2x2 spatial merger on Metal 4 matmul2d kernels (vision.metal) with Accelerate AMX fallback, caches compact FP16 embeddings, and immediately munmap()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), and MferenceCLI (--image / --pdf).
  • Lossless Sampled MTP & Hit/Miss Verify Pipelining: 64-TG GPU softmax for sampled speculative decoding (top-k 1...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)

Choose a tag to compare

@fjw4cfv2fb-afk fjw4cfv2fb-afk released this 19 Nov 19:36

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 pts via Lossless Weight Surgery + guards)
  • Decode Speed: 16.47 tok/s avg, up to 18.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 to 94.3% on AIME), async-pipelined commitAcceptPass, 4-slot Gated-DeltaNet rollback arena, lossless topK = 6 draft 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 BF16 group-64 affine scale/bias tables & norms directly in model_weights.bin with automatic MTP co-adaptation and manifest provenance checks — zero nibble re-quantization.
  • Bounded-Memory NVMe Streaming: PreadExpertStreamer with prefill-tail warm start, POSIX_MADV_RANDOM slab-only MTP mapping, and memory-bounded 2-slot LRU ServerPromptCache (PrefixSnapshot).

Release Assets

  • Mference-2.0.0-macos-arm64-app.zip — Prebuilt macOS app bundle (Mference.app containing MferenceMac, MferenceDecodeService, MferenceServer, and Metal resources). Unzip to /Applications or ~/Applications. (Ad-hoc signed: if Gatekeeper prompts on first launch from a browser download, run xattr -dr com.apple.quarantine ~/Applications/Mference.app.)
  • Mference-2.0.0-macos-arm64-cli.tar.gz — Prebuilt MferenceCLI, MferenceServer, MferenceRepack, MferenceDecodeService, and runtime .bundle resources.
  • 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