Skip to content

gr8 v1.1.1

Choose a tag to compare

@adapt-ai-systems adapt-ai-systems released this 22 Nov 00:57
· 77 commits to main since this release
a3f44a0
  • Tag / commit: v1.1.1 · a3f44a075854fc9af0ed56c6d43f7739705bc871
  • Container image: ghcr.io/kindlingai/gr8:v1.1.1@sha256:fa5c9f66fbfa55d162782578b3262893b782e6365a76562bcab951b54acc6d96
  • Version spec: releases/v1.1.1.json

Highlights and measured numbers

  • Fix TP=4 150K+ multi-session corruption and empty-reply loops (#557):
    • On TP=4 (and any PF_OWN=2/4 configuration with context-parallel staging active above 32K tokens), pf_ix previously appended and scored layer i+1's staged index keys before cp_pf_pre(i+1) waited for peer ranks' RDMA index pages in pf_step, pf_step2, pf_step2s, and m4sim (enqueue_pf / enqueue_pf2). Short multi-turn follow-up chunks at 185K–195K finished MLP faster than peer RDMA, reading stale or partial index keys and writing corrupted states into KV.
    • #557 orders cp_pf_pre(i) / cp_gather(i) ahead of pf_ix(i-1) (while keeping pf_ix before pf_set_step so collective c4 remains on layer-step i-1), adds a CI regression check (engine/tests/test_cp_pf_ix_order.py), and hardens direct loads from RDMA receive buffers with __ldcv.
    • Live 4× GB10 (TP=4, 200G switch, bit325 v0.6, int4 KV, KV_STORE=ssd, MOE_UNION_CAP=48, GR8_KV_SHARE_PAGES=1, GR8_CP_PF_VERIFY=1, MTP=2, 4 concurrent multi-turn sessions at 185K–195K, 2026-11-21):
      • Greedy (temp=0.0, exact failing seed that corrupted 8/12 calls on v1.1.0): 12/12 CLEAN (0 empty replies, 0 corruption/loop hits, 0 GR8_CP_PF_VERIFY mismatches across all 4 ranks).
      • Sampled (temp=0.7, independent seed): 12/12 CLEAN (24/24 CLEAN total, no prefill throughput regression).
  • TP=4/5/6 tuned launcher defaults (#554): Extends the v1.1.0 bit-exact tuned kernel defaults, DEC_BK_MAX=2048, L2PF=31, PF_GEMMF32=1, MTP prefetch/lastrow/head2 tuning, DFL_REUSE_MIN=0 (when DFlash2 is enabled), and MOE_UNION_CAP=48 to TP=5 and TP=6 as well as TP=4.
  • Dynamic capacity-scaled CP sharding in RAM (#555): Adds a solo unsharded fast path and live R1 -> R2 shrink as pool utilization grows.
  • Cluster scaling and pool standbys (#545, #547, #553):
    • scale prepares the new width's compact load copies and content-addressed layout file before the hold (#545).
    • Adds POOL (--pool) standby pool mode and Helm chart tp integration (#547) so gr8 <model> scale --tp N changes serving width without pod restarts.
    • Ships bin/g6layout in the container image, scripts/build.sh, and release zip (#553).
  • Docs and runtime tests (#546, #556): Documents how mixed-precision int4 KV preserves quality and capacity (#556) and adds img_handoff_test (#546).

Breaking changes

None. Existing ./gr8 commands and flags, port 8100 HTTP API endpoints and payloads, Hugging Face exlr8 weight and steering schemas, and 128 GB GB10 runtime contracts remain backward-compatible with v1.1.0.

Default or cache-key changes

  • GLM-5.3 TP=5 and TP=6 launcher defaults (#554): Now enable the same bit-exact tuned kernels, DEC_BK_MAX=2048, L2PF=31, PF_GEMMF32=1, MTP prefetch/lastrow/head2 flags, and MOE_UNION_CAP=48 as TP=4 (and DFL_REUSE_MIN=0 on TP=4 when DFLASH=1). Roll back MoE union capping with MOE_UNION_CAP=0 (--moe-union-cap 0) or opt in to fast mode with MOE_UNION_CAP=32.
  • Persistent KV_STORE: As on any engine binary upgrade, the persistent session index resets once on first boot of v1.1.1 while preserving the preallocated SSD block file.

Toolchain / Dockerfile sync

  • Base CUDA (13.0.1), OS (ubuntu24.04), Rust (1.94.1), and runtime apt packages are unchanged from v1.1.0.
  • Dockerfile adds bin/g6layout (#553) to dist. Downstream GLM-5.3, Flash, and DeepSeek recipe Dockerfiles need no toolchain changes.