From db3106ecb4591c7a1c37e4633d498dfb6941efb2 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Wed, 2 Dec 2026 17:19:14 +0100 Subject: [PATCH] Inkling CUDA: STRATA_INK_DF2_RING_PLAN measured on an RTX 5090, it loses, stays off (0.2.25 item 25) Measured 12-02 on Vast 5090 (575 W uncapped, SQ-20 v2, build of 5c9cbf644a, CUDA 12.8 sm_120), C64: 64 users, 16K each, 90-104 token prompts, greedy, one engine start per round, 3 rounds per arm, off = default, on = STRATA_INK_DF2_RING_PLAN=1. 128 new tokens: off 1,285 / on 920 tok/s end to end (median; 1,267-1,295 / 919-921), steady 2,291 / 1,684; 512 new tokens: off 1,593 / on 970, steady 2,290 / 1,688. Tokens identical in all 64 requests, all 3 rounds, both arms (md5 of every generated token). What changes (the cause of the loss is not isolated): the planner then leaves room for 32 rings and the Auto Host KV Offload split goes from 768 device + 15,616 host tokens to 0 device + 16,384 host (startup log), and the same rings are taken by all 32 drafter slots (slots 25 to 31 gain a drafter). The default stays off; only the register note changes (data in phaseA-tests/rel0225/inkpic/res-5090). A smaller margin for slots 8 and up instead of a bigger reserve is the untested alternative. --- terminal/data/settings-register.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminal/data/settings-register.json b/terminal/data/settings-register.json index 3b6ecfeb81..eded0d9e15 100644 --- a/terminal/data/settings-register.json +++ b/terminal/data/settings-register.json @@ -21470,7 +21470,7 @@ "last_date": null, "status": "opt-in", "owner": "inkling2", - "note": "[reviewed] 0.2.25 item 25: 1 = the K/V planner reserves room for the DFlash 2 context rings of every slot the drafter serves (32 on a card of 24 GB and more, 16 below) instead of the first 8, so slots 25 to 31 of a 64-slot RTX 5090 run keep a drafter (rel0223/bench71 logs: no GPU memory for slot 25); off until the 5090 C64 A/B; speed only, the tokens are the same (ink_df2_budget.h)", + "note": "[reviewed] 0.2.25 item 25: 1 = the K/V planner reserves room for the DFlash 2 context rings of every slot the drafter serves (32 on a card of 24 GB and more, 16 below) instead of the first 8, so slots 25 to 31 of a 64-slot RTX 5090 run keep a drafter (rel0223/bench71 logs: no GPU memory for slot 25); MEASURED 12-02 on an RTX 5090, C64, 3 rounds each: ON loses (920 vs 1,285 tok/s at 128 new tokens, 970 vs 1,593 at 512; tokens identical in all 64 requests) the K/V split loses its 768 device tokens (cause not isolated), so it stays off (ink_df2_budget.h)", "retire_after": "", "retired_in": "" },