Repository navigation
0.2.20-poly.8
Inkling 2 Mini now defaults to the 5-layer DFlash2 block-diffusion drafter on CUDA and Apple Silicon Metal, gains native Metal inkling2v vision (29x faster) and multi-batch concurrency on Mac, adds the GSQ-RCO IQ3_S tier alongside 3-platform T-MAC cold-expert LUTs and cross-layer deferral, and includes 15 community PRs plus fixes for 128K drafter VMM growth, non-blocking stream ordering, Apple Silicon PLE mapping, and Windows ROCm builds.
Faster
DFlash2block-diffusion drafter,D-cut, andSingle-Syncfor Inkling 2 Mini: Inkling 2 Mini now defaults to the mixed I8/NVFP4Inkling-2-Mini-DFlash2-mix.safetensorsdrafter (also supportingDFlash2GGUF, optional 32K shortlist files viaSTRATA_DS2_SHORTLIST, andISTA-DASLabmarkov_w2DSpark checkpoints) with AngelSpecD-cutadaptive verification truncation andSingle-Syncverify+draft pipelining on CUDA and Apple Silicon Metal (#358, #339). On an RTX 4090 D (24 GB),UD-Q4_K_XLreaches 220.5 tok/s writing vs 140.9 tok/s without drafting (+56%), andGSQ-RCO IQ3_Sreaches 257.1 tok/s writing (4,202 tok/s reading a 24K prompt) in 15.1 GiB VRAM (+68% over no-draft). On an Apple M5 Ultra (Metal),GSQ-RCO IQ3_Schat decoding rises from 120.0 tok/s (DSpark) and 84.6 tok/s (no-draft) to 156.2 tok/s (+30% over DSpark, +85% over no-draft), with exact greedy token parity.- Native Apple Silicon Metal
inkling2vvision encoder and Mac multi-batch concurrency:strata-vision --gpunow runs Inkling 2's vision encoder natively on Metal, cutting image encoding on an Apple M5 Ultra from 1,926 ms to 66 ms on 676-token images (29.2x faster) and from 3,554 ms to 123 ms on 1,012-token images (29.0x faster). Mac Metal also unlocks--batch(parallel >= 2) for Inkling 2 Mini, reaching 106.9 tok/s total decode throughput at--batch 2(+34%) and 142.9 tok/s at--batch 4(+79%) with exact single-slot greedy parity. GSQ-RCO IQ3_Stier, NVFP4/IQ3 CUDA kernel speedups, and shipped expert profile: setup now offersGSQ-RCO IQ3_Sfor Inkling 2 Mini alongside full-lane grouped NVFP4/IQ3 projections, shared-memory IQ2/IQ3 grids,sm_89Q8_01-row specialization, tag-freeds_parttiles, vectorizedconv_mix, faster 8-value NVFP4-to-FP16 conversion (#384), pinned RAM mirroring for experts evicted during prompt reading (#386), and a shipped Inkling 2 Mini expert profile (#391; +17% to +28% on 8 GB partial-offload prompts and decode).- 3-platform T-MAC cold-expert LUT and cross-layer deferral: cold CPU experts can use 4-bit T-MAC lookup tables (
--cold-lut) decoupled from dynamic VRAM swaps and RAM expert pools across AVX2/AVX-512 and NEON, paired with cross-layer expert deferral (--defer-rank); on an 8 GB--vram-poolbudget, chat decoding rises from 102.0 to 115.1 tok/s (+13%) and 6K-context decoding from 93.9 to 105.2 tok/s (+12%). - Opt-in prefill, staging, KV, and CPU paths: added
STRATA_PF_WMMA2=1128x64 NVFP4 prefill tiles (#385; +10% on 2K prompts),--stage-ring 1/STRATA_POLY_STAGE_RING=1double-buffered expert staging (#366; +14% combined withSTRATA_PF_WMMA2=1), opt-in CUDA--kv q4_0for Inkling 2 Mini on Ampere and newer (#381), and opt-in multi-row CPU expert down-projection / AVX2IQ3_Sreuse flags (#380).
Fixed
- 128K context VMM KV growth with Inkling 2 drafters:
ds_load2()now preserves growing VMM KV reservations allocated byalloc_caches(), andguess_block()/fuse_draft_after_window()map new VMM KV pages viacover()before writing draft rows across 4,096-token chunk boundaries (#394). - CUDA non-blocking stream ordering on expert slot updates: moved remaining legacy-stream
cudaMemcpy/cudaMemsetupdates on expert slot and doorbell tables ontost_(cudaStreamNonBlocking) so slot pointer updates stay ordered with prompt-to-decode transitions and cache shrinking (#395). - Apple Silicon Metal long-CoT KV growth and PLE range rounding: cleared cached Metal drafter graphs when KV buffers reallocate across 4,096-token boundaries, and rounded
per_layer_token_embd.weightexclusion ranges inward inwrap_ranges()so neighboringtoken_embd.weightpages stay mapped on M1/M2/M3/M5 Macs (#378). - Multi-piece prompt staging reclamation and batch elastic vision:
Engine::cover()now reclaims idlecarry_map_and narrowsstage_map_across multi-piece prompts (#373),Sampler::penalize()guards negative image sentinel token IDs, and elastic vision distinguishesstrata-polyfrom upstreamstrata --batchwhile reading startupreserve_mib(#367, #368). - Setup, build, and cross-platform packaging fixes: setup now passes
--kv q8_0and--kv fp8through for Inkling 2 Mini (#392), fixes staleterminal\tools\hip\build_windows.batpaths and reconfigures oldbuild-hip-winCMake caches (#363), fixesnative_gu_fused_kernelfallback compilation onsm_61/ CUDA 12 while keeping RDNA3/Volta fused paths intact (#389), silences C++20 aggregate initialization warnings (#390), and sortssource_hash()paths deterministically across Windows and POSIX.
Also in this version
- Updated official workstation speed tables: all 8 READMEs (
en,zh-CN,ja,de,fr,es,pt-BR,tr),docs/media/speed.svg, and docs/models/inkling.md now report freshly measured single-cardRTX 4090 D (24 GB)benchmarks alongside theRTX 4070 Laptop (8 GB)baseline. - Community benchmarks: added RX 6600 XT 8 GB runs on Flint, Inkling 2 Mini, and Qwen3.6 (#370, #337) and RTX 2060 SUPER 8 GB runs on Inkling 2 Mini (#375) and Ornith 1.5 (#376) to docs/COMMUNITY_BENCHMARKS.md.
- Ready-made engines: Windows x64 (CUDA 13), Linux x64 (CUDA 13), macOS arm64 (Metal, beta).
Thanks to @drakarah, @ShadowPlague21, @SafinWasi, @ismaeloliveiraa, @carteakey, @8890aman, @joellucas89 and @nassimd for the PRs, and to @Abemelech, @ytnycigo-max, @cobyism and @gilch for the bug reports.