Skip to content

0.2.20-poly.8

Choose a tag to compare

@VecSzn VecSzn released this 01 Dec 02:39
· 38 commits to main since this release

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

  • DFlash2 block-diffusion drafter, D-cut, and Single-Sync for Inkling 2 Mini: Inkling 2 Mini now defaults to the mixed I8/NVFP4 Inkling-2-Mini-DFlash2-mix.safetensors drafter (also supporting DFlash2 GGUF, optional 32K shortlist files via STRATA_DS2_SHORTLIST, and ISTA-DASLab markov_w2 DSpark checkpoints) with AngelSpec D-cut adaptive verification truncation and Single-Sync verify+draft pipelining on CUDA and Apple Silicon Metal (#358, #339). On an RTX 4090 D (24 GB), UD-Q4_K_XL reaches 220.5 tok/s writing vs 140.9 tok/s without drafting (+56%), and GSQ-RCO IQ3_S reaches 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_S chat 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 inkling2v vision encoder and Mac multi-batch concurrency: strata-vision --gpu now 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_S tier, NVFP4/IQ3 CUDA kernel speedups, and shipped expert profile: setup now offers GSQ-RCO IQ3_S for Inkling 2 Mini alongside full-lane grouped NVFP4/IQ3 projections, shared-memory IQ2/IQ3 grids, sm_89 Q8_0 1-row specialization, tag-free ds_part tiles, vectorized conv_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-pool budget, 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=1 128x64 NVFP4 prefill tiles (#385; +10% on 2K prompts), --stage-ring 1 / STRATA_POLY_STAGE_RING=1 double-buffered expert staging (#366; +14% combined with STRATA_PF_WMMA2=1), opt-in CUDA --kv q4_0 for Inkling 2 Mini on Ampere and newer (#381), and opt-in multi-row CPU expert down-projection / AVX2 IQ3_S reuse flags (#380).

Fixed

  • 128K context VMM KV growth with Inkling 2 drafters: ds_load2() now preserves growing VMM KV reservations allocated by alloc_caches(), and guess_block() / fuse_draft_after_window() map new VMM KV pages via cover() 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 / cudaMemset updates on expert slot and doorbell tables onto st_ (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.weight exclusion ranges inward in wrap_ranges() so neighboring token_embd.weight pages stay mapped on M1/M2/M3/M5 Macs (#378).
  • Multi-piece prompt staging reclamation and batch elastic vision: Engine::cover() now reclaims idle carry_map_ and narrows stage_map_ across multi-piece prompts (#373), Sampler::penalize() guards negative image sentinel token IDs, and elastic vision distinguishes strata-poly from upstream strata --batch while reading startup reserve_mib (#367, #368).
  • Setup, build, and cross-platform packaging fixes: setup now passes --kv q8_0 and --kv fp8 through for Inkling 2 Mini (#392), fixes stale terminal\tools\hip\build_windows.bat paths and reconfigures old build-hip-win CMake caches (#363), fixes native_gu_fused_kernel fallback compilation on sm_61 / CUDA 12 while keeping RDNA3/Volta fused paths intact (#389), silences C++20 aggregate initialization warnings (#390), and sorts source_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-card RTX 4090 D (24 GB) benchmarks alongside the RTX 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.