2457d81d16
Merge branch 'claude/upstream-rest' into claude/merge-opt
Pavlo Ratushnyi2026-10-28 02:38:34 +01:00
96484f04f1
fix: laptop-turbo.ps1 reads enforced.power.limit (power.limit is N/A on the laptop GPU) and tolerates a missing value
Pavlo RatushnyiandClaude Sonnet 5.52026-10-28 02:38:22 +01:00
ffb264e042
perf(prefill): idle-gap switches on by default after the identity and paired replay gates; docs + job scripts
Pavlo RatushnyiandClaude Sonnet 5.52026-10-28 02:38:12 +01:00
a56e02a76a
perf(prefill): idle-gap steps (a) QSA prefix-copy overlap, (b) GDN state pool, (c) MoE span cache, each behind its own switch (default off)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-28 01:58:06 +01:00
b8474d6f71
Merge claude/laptop-vs-vanilla (prefix tail refusal logged and re-judged after memory relief) into main
Pavlo Ratushnyi2026-10-28 00:57:29 +01:00
03794d5fa8
prefix cache: log why a checkpoint is not taken; re-judge a LowMemory refusal after the working-set trim (turn 2 resumes at the prompt-end tail)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-28 00:57:14 +01:00
f02ec7b487
Merge claude/upstream-rest (diagnostics and analysis so far) into main
Pavlo Ratushnyi2026-10-28 00:46:26 +01:00
d97185089b
Merge claude/laptop-vs-vanilla (laptop defaults: chunk/grid 6144, tail prompt, context 262144, adaptive prefetch) into main
Pavlo Ratushnyi2026-10-28 00:26:12 +01:00
b50f778b37
docs: smoke of the shipped laptop defaults; correct the claim that tail prompt gave exact reuse (the prefix cache was off in runs b/A/A3)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-28 00:24:04 +01:00
7fc985e454
prefill_stage: throughput probe of the hyper-connection kernels at T=8192 (1.5-1.6 TB/s: on the traffic floor); plan updated
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 23:11:59 +01:00
824f3c3842
CPU misses: choose the page-touch pass by measurement (adaptive policy), on top of skip-by-default
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:56:10 +01:00
c240e38605
docs/laptop-vs-vanilla.md: run A2 stopped by the power cap; cold-cache decode is slower without the prefetch pass
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:51:17 +01:00
e28f5de2cd
docs/upstream-port-plan.md: how much of a prefill chunk is host-only (drained profile), ceiling of a pipeline restructuring, GR read/inject as the better lever
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:49:36 +01:00
6eba36341c
compute_drain: STALL_TRACE records every blocking kind per call site, ranked by blocked ms; per-site table of a prefill chunk in the plan
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:39:05 +01:00
83822b0857
Merge claude/laptop-vs-vanilla (decode: skip the page-touch prefetch pass on Windows) into main
Pavlo Ratushnyi2026-10-27 22:35:52 +01:00
9e33932c5d
CPU misses: skip the page-touch prefetch pass by default on Windows (+21.6 % decode at 233k context, interleaved A/B)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:35:31 +01:00
6d711067ce
docs/upstream-port-plan.md: the prefill expert stream is not exposed (DMA 44.6 GB/s, removing it changes nothing); resident experts are already skipped
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:25:20 +01:00
54360c0c5f
docs/upstream-port-plan.md: quality gate Q of the 256k change set (PASS against the run-to-run control)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 22:04:35 +01:00
b7b8d98132
docs/upstream-port-plan.md: e2e before/after at 256k with all defaults (decode +28 %, TTFT -5 %), the sync mistake, night7 comparison
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 21:53:09 +01:00
a0eda0f703
serve: log the CPU kernel family per kind of logical CPU and the kernel set per CUDA device at start-up
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 21:37:28 +01:00
16a2b527bd
docs/laptop-vs-vanilla.md: run A, 256k session on the final build (TTFT sum 998 s, wall 1,226 s)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 21:38:06 +01:00
f1634e1034
serve: log the CPU kernel family per kind of logical CPU and the kernel set per CUDA device at start-up
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 21:37:28 +01:00
31d1657cbf
docs/upstream-port-plan.md: results of rows 2.4/2.5 and the 256k gap to vanilla (per-layer slot sizing, decode +17 %); scripts/upstream-rest/turns.py
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 20:56:15 +01:00
b66484a470
runtime: per-layer expert cache with each layer's own blob size (the Original's #369 plan) instead of slots of the largest blob; cluster decode top-k, wide prompt top-k and the no-store GDN output norm on by default
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 20:13:16 +01:00
73c67a694d
Prompt staging: low memory priority for the first layers' expert pages (LELEKA_STAGE_PRIORITY, opt-in, Windows)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 20:13:11 +01:00
6d75dcddd9
tests: wide top-k selection rule, cluster asset pin, decode-shaped identity cases down to the identity branch, decode scores timing; scripts/upstream-rest/arm_prof.py; plan analysis of rows 2.4/2.5
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 09:20:23 +01:00
a28b85f798
cuda-driver: GDN output norm without the dead FP32 store (row 2.4), per-arm overrides for the new kernels, replay arm flags
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 09:02:13 +01:00
4ace54b773
cuda-driver: wide top-k for long prompt tiles and a decode top-k on a thread-block cluster (upstream 586367cb, d05d26e9, row 2.5), both opt-in
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 08:52:15 +01:00
68fbd99346
cuda-driver: GDN prompt recurrence with one thread for the three value heads of a key head (upstream gdn_rec_kh_kernel, row 2.4), opt-in LELEKA_PREFILL_GDN_KH=1
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 08:52:14 +01:00
13c342eef7
gpu-bringup: reseal_own.py re-seals one of our own already-sealed PTX assets after its .cu changed (seal_pins.py refuses a pinned asset)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 08:52:14 +01:00
c40531f071
e2e: long_session cuts the last file of a turn to the budget (a whole file overshot the 256k context)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 06:04:19 +01:00
f8f4fbbec6
docs/windows.md: PCIe tier on the laptop (root cause of the CUDA 700, whether PCIe beats the CPU, paired A/B); pcie_copy_gpu_bandwidth
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 06:03:20 +01:00
2a7e80a390
cuda-driver: model-free stress of DMA out of a registered read-only file mapping under working-set trimming (STRA-235 hypothesis, Windows)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 04:16:37 +01:00
d54f10161c
PCIe tier: LELEKA_PCIE_LOCKED_ONLY keeps the PCIe share to page-locked experts over a pageable bank (opt-in)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 04:16:36 +01:00
7218a4f2c1
PCIe tier on Windows: no cuMemcpyBatchAsync for the window's expert copies (fixes CUDA 700 in the first decode window)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 02:54:06 +01:00
b4896c164b
Merge NaN guard live fix (plan row 1.2): discard the refused window's engine state before the retry
Pavlo RatushnyiandClaude Sonnet 5.52026-10-27 01:40:47 +01:00
ef854aa300
STRA-235: stream-K off at every MMQ site on sm_86 (the MTP draft-KV record was still on it), drain switches, forced-SM diagnostic
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 19:47:52 +01:00
89215e83d2
Check that no parity harness trusts a --dump-logits header; add an offline size-based reader guard (plan 0.2; upstream 504579da)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 17:21:34 +01:00
71b6ca0931
Conversation cache keeps the restored session when a request is cancelled in its prompt; tests for full-cache eviction and 1-token prompts (plan 0.5; upstream 8824e217, 940011da, aece46db)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 17:19:52 +01:00
83297939c6
leleka-memory: trim the Windows working set before the pressure sample, so trimmable mapped pages never trigger a prefix-cache shed
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 15:54:48 +01:00
fecaf57574
charter: only 1x256K is required; a session multiplexer replaces continuous batching (owner decision 2026-10-26)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 15:51:11 +01:00
36863df394
deploy: Windows workstation keeps 8 GiB available instead of 12 (a 12 GiB floor left the prefix cache no budget)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 01:02:28 +01:00
6ca38ce8ce
leleka-memory: Windows trims the working set under pressure so touched mapped expert pages count as available again
Pavlo RatushnyiandClaude Sonnet 5.52026-10-26 00:55:54 +01:00
f7ab3fd59c
Control-token text inside messages is ordinary text (plan 0.1; upstream c16f31f8, 98b7ea94, 0d613031)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-25 23:31:05 +01:00
7803452fe7
rtx3080-16g profile: request-end checkpoints (reply), as on the server (prefill is 83 tok/s here, a 6k-token re-read is more than a minute)
Pavlo RatushnyiandClaude Sonnet 5.52026-10-25 23:02:44 +01:00