Skip to content

Inkling 2 Mini EXL3 v4 (TensorFold 1.3.4)

Latest

Choose a tag to compare

@Maxrio9 Maxrio9 released this 30 Nov 12:56

Ready-to-run TensorFold v4 builds for Inkling 2 Mini EXL3, from branch inkling2-mini at 0d3eea0dd7.
./start.sh in inkling-2-mini-exl3-recipes picks this release up automatically; every card preset keeps its v3 capacity.

What's new in v4

  • Much faster prompt reading (cold prefill). The EXL3 expert kernels were limited by instruction issue (decoding the trellis weights and re-quantising to FP8), not by memory; v4 removes that work and adds wider expert tiles, relative bias computed inside prompt attention, a faster far-tile path for long-prompt global attention, and last-visit prompt trimming.
    • DGX Spark (4.0bpw), vs v3: 8K 2,016 → 3,425 tok/s (+70%), 32K 1,900 → 3,233 (+70%), 128K 1,542 → 2,541 (+65%).
    • RTX PRO 4500 (3.3bpw), vs v3: 8K 4,630 → 7,013 tok/s (+51%), 32K 4,374 → 6,498 (+49%).
    • v3 = mean of two v3 control runs (29 Nov); v4 = this release build (30 Nov, bracketed by controls); same machine and harness.
  • Batched multi-stream decode. Attention, relative bias and residual convolutions run once for all streams of a round. Sampled decode (T=0.7, top_k=20, thinking on), aggregate tok/s vs v3:
    • RTX PRO 4500: c=16 prose 301.5 → 517.1, code 299.3 → 519.7; c=8 prose 261.8 → 416.8; c=1 prose 115.4 → 133.6, code 150.2 → 173.3.
    • DGX Spark: c=16 prose 165.7 → 224.0, code 163.2 → 220.3; c=8 prose 125.0 → 160.8; c=1 prose 51.3 → 55.4, code 61.1 → 66.5.
  • Up to 64 streams with an explicit --parallel (was 16). DGX Spark aggregate: c=32 ~306–312, c=64 ~417–418 tok/s prose (~401 code). Aggregate throughput, not per-user speed.
  • Opt-in: deterministic arithmetic (TF_INKLING2_EXL3_GM_ORDERED=1, TF_INKLING2_DECODE_STABLE_ARITHMETIC=1), hot-vocabulary draft head (TF_INKLING2_DFLASH2_HOT), and lossy FP8 paths (TF_INKLING2_FP8_TARGET_HEAD=1, TF_INKLING2_PROMPT_FP8_QK=1), all off by default.
  • Fork build: this build contains only Inkling 2 Mini; the other upstream TensorFold model families were removed.

Verification

  • 8-prompt logits oracle vs v3: top-1 8/8, max KL ≤ 1.6e-8 on both machines.
  • Greedy decode: plain decode identical to a single stream at every concurrency; DGX Spark c=8/16/64 identical incl. drafted (8,192/8,192 tokens at c=64).
  • Long context: 3 needles found at 120K and 230K tokens.
  • tensorfold-native plan on all 15 recipe presets and the RTX 30/40 variants: identical to v3.
  • All numbers are brackets (old → new → old) on the same machine with these release builds.

Archives

  • tensorfold-1.3.4-linux-x86_64.tar.gz: NVIDIA RTX 30 / 40 / 50 series and RTX PRO Blackwell (sm_86, sm_89, sm_120), includes libtfgrammar.so.
  • tensorfold-1.3.4-linux-aarch64.tar.gz: DGX Spark (sm_121), includes libtfgrammar.so.
  • SHA256SUMS covers both archives; each archive carries its own SHA256SUMS.
  • RTX 30/40 use the same kernels as v3 for prefill experts; the new FP16-accumulator path for them (TF_INKLING2_F16ACC=1) is opt-in and unmeasured on that hardware.

Source: branch inkling2-mini (release commit 0d3eea0dd7). The audited v3 → v4 kernel series is branch inkling2-mini-exl3-v4 (patches in the recipes repo, patches/tensorfold-v4/). Credits and licenses for adapted work (MiaAI-Lab, knapcio, ExLlamaV3) are in NOTICE and THIRD_PARTY_NOTICES.md.