From 9af2e2796db204eb733eb67eafcd954dfbeaf027 Mon Sep 17 00:00:00 2001 From: Robert Karl Date: Sun, 11 Oct 2026 10:49:54 -0700 Subject: [PATCH] Plan: warm nvprof numbers at both fit edges Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr --- docs/PLAN-qwen36-35b-a3b.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/PLAN-qwen36-35b-a3b.md b/docs/PLAN-qwen36-35b-a3b.md index 0d71555..8e7b3dc 100644 --- a/docs/PLAN-qwen36-35b-a3b.md +++ b/docs/PLAN-qwen36-35b-a3b.md @@ -76,7 +76,7 @@ how the README describes the result and where the expert-cache tuning effort goe | | Q4_K_XL at 11 GB | IQ3_XXS at 11 GB | | --- | --- | --- | | llama.cpp, 256K, fit edge (`--n-cpu-moe` 32 / 18), smoke test, cold cache, 400 tokens | 8.8 tok/s decode, 129 prefill, GPU busy 15% | 24.6 tok/s decode, 434 prefill, GPU busy 41% | -| llama.cpp, the sweep (warm, 1,200 tokens, `baseline-1080ti.md`) | **the number to beat: N = 30, the lowest N that fits (10,415 MiB): 13.4 tok/s decode on the regina request, 16.3 on the short one.** At N = 32: 13.5 / 12.2, 152 prefill; nvprof at N = 32: busy 13.8%, memcpy 0.6%, gaps 86%; 14 to 21 MiB per token from disk | 33.5 tok/s decode, 907 prefill; GPU busy 56% (nvidia-smi; nvprof's 25% is a cold-cache, profiled launch and an upper bound on the slowdown); no disk reads | +| llama.cpp, the sweep (warm, 1,200 tokens, `baseline-1080ti.md`) | **the number to beat: N = 30, the lowest N that fits (10,415 MiB): 13.4 tok/s decode on the regina request, 16.3 on the short one.** At N = 32: 13.5 / 12.2, 152 prefill; nvprof at N = 32: busy 13.8%, memcpy 0.6%, gaps 86%; warm nvprof at N = 30: busy 15.0%, memcpy 0.6%, 3.1 MiB of activations per token over PCIe; 14 to 21 MiB per token from disk | 33.5 tok/s decode, 907 prefill; GPU busy 56% (nvidia-smi); warm nvprof at N = 20: busy 24.8% under a 2.1x profiler slowdown, memcpy 0.8%; no disk reads | | Sweep slope | 0.67 to 0.93 points of GPU busy and 0.5 to 0.7 tok/s per layer moved to the CPU (the N = 32 point was the first run and carried steal) | one point and 0.58 tok/s per layer | | Route trace, top 40% of experts per layer | 76% of routes (215K routed tokens) | | | Replay at the censused sizes, LFU with 3 spares per layer, prefill borrowing cache slots | 78 slots per layer: 83.2% hit, 36.6 RAM and 17.0 disk reads per token | 149 slots: 95.4% hit, 14.6 RAM and 0 disk reads |