Skip to content

0.2.20-poly.9

Latest

Choose a tag to compare

@VecSzn VecSzn released this 01 Dec 23:39

Windows 8 GB stability and anti-swap protections, native Apple Silicon Metal quantized KV caches and ICB/hazard fixes, HTTP/1.1 keep-alive and binary token IPC in the server, zero-copy vision SHM + accelerated ViT, streaming 8K–32K sparse Top-K KLD benchmarking, family-split AMD HIP prebuilt engine support, and community PR/benchmark updates.

Faster

  • Native Apple Silicon Metal quantized KV and MPP prefill: added native Metal quantized KV caches (--kv fp8, --kv q8_0, --kv q4_0 with GQA grouping and zero FP16 scratch copies), mixed-precision/BF16 MPP prefill, single-sync default, ICB replay, and M5 Ultra GDN tuning.
  • Server latency and SSE streaming acceleration: added HTTP/1.1 keep-alive, binary token IPC (STRATA_BIN_TOK=1), incremental prompt caching, and the optional _fast_stream CPython extension to reduce Python token-parsing overhead.
  • Zero-copy vision IPC and accelerated ViT: added shared-memory vision IPC alongside Metal/CUDA/CPU ViT encoder optimizations.

Fixed

  • Windows 8 GB stability, anti-swap, and WDDM protection: added a bounded pinned host cold-expert pool (--lock-experts, --ram-experts-mib, --cold-lut), dynamic GlobalMemoryStatusEx LRU eviction for conversation_cache, DXGI QueryVideoMemoryInfo VRAM guards with cuMemRelease dynamic shrink/rebound, P/E-core CPU topology detection, CUDA stream sync before Engine::cover() VMM rollback, Win32 VirtualUnlock/working-set restore fixes, and a per-slot phase-aware server watchdog.
  • Apple Silicon Metal hazard tracking and buffer lifetime: fixed indirect-index hazard spans, dq_buf ICB deferred lifetime, FP16 decode/ring paths, and vit_metal head_dim > 128 guards.
  • Server HTTP/1.1 keep-alive and IPC hardening: closed keep-alive connections on malformed chunked bodies (RFC 9112), fixed prompt-cache key collisions (bool vs int), added atomic stop_seq framing against stale STOP races under binary IPC, and hardened Win32/POSIX shared-memory creation and cleanup.
  • Setup and cross-platform build fixes: --gguf-dir no longer picks another family's shards of the same quant name (#406), and Win32 legacy far/near/OUT/IN macros are undefined cleanly for HIP/Win32 builds.

Also in this version

  • Family-split AMD HIP prebuilt support: setup.py and update_poly_engine() now automatically download and SHA-256 verify family-split AMD HIP prebuilt strata-poly packages (rdna4, rdna3, igpu, rdna2, rdna1) before falling back to local compilation, paired with terminal/tools/make_poly_hip_release.py.
  • Accuracy & research tooling: added streaming 8K–32K sparse Top-K (STPK v1) logits dumper and bucketed terminal/tools/kld_bench.py, plus the ported rsi-autotune research harness.
  • Community benchmarks: added Radeon 890M gfx1150 (#404), Windows RX 7600 XT gfx1102 (#397, #403), and RTX 4070 SUPER 12 GB long-context (#364) runs to docs/COMMUNITY_BENCHMARKS.md.
  • Ready-made engines: Windows x64 (CUDA 13; AMD HIP rdna4/rdna3/igpu/rdna2/rdna1), Linux x64 (CUDA 13; AMD HIP rdna4/rdna3/igpu/rdna2/rdna1), macOS arm64 (Metal, beta).

Thanks to @okkiv for the PR, and to @AndruPol, @JuggyBob and @KurrynDev13 for the community benchmarks and Windows HIP reports.