Repository navigation
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: 8K2,016 → 3,425 tok/s(+70%), 32K1,900 → 3,233(+70%), 128K1,542 → 2,541(+65%). - RTX PRO 4500 (
3.3bpw), vs v3: 8K4,630 → 7,013 tok/s(+51%), 32K4,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.
- DGX Spark (
- 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=16prose301.5 → 517.1, code299.3 → 519.7;c=8prose261.8 → 416.8;c=1prose115.4 → 133.6, code150.2 → 173.3. - DGX Spark:
c=16prose165.7 → 224.0, code163.2 → 220.3;c=8prose125.0 → 160.8;c=1prose51.3 → 55.4, code61.1 → 66.5.
- RTX PRO 4500:
- 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 planon 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), includeslibtfgrammar.so.tensorfold-1.3.4-linux-aarch64.tar.gz: DGX Spark (sm_121), includeslibtfgrammar.so.SHA256SUMScovers both archives; each archive carries its ownSHA256SUMS.- 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.