Niko1221
8a7102ec4d
dsv41: a long prompt skips layers 20-39 on all but its last 2,668 rows (STRATA_DS4_PROMPT_SKIP, on by default)
...
Layers 20-39 of DeepSeek-V4.1-Flash read a prompt's earlier tokens only through layer 20's compressed KV and index
keys, and each looks back one 128-token window more than the layer before. So for the answer and for the rings the
decode reads they need their own work only on the last (40 - 20) x 127 + 128 = 2,668 rows. A prompt of ~3,700 or more
new tokens on one GPU now runs its earlier chunks through layers 0-19 plus layer 20's kv_only part (the hyper-connection
pre-norm, the compressor latent, the index keys, the compressed KV) and nothing of the later layers' attention or
experts; the chunk the cut falls in runs layers 20-39 from the cut row on; later chunks run every layer. The expert flow
plans nothing for the skipped (chunk, layer)s. STRATA_DS4_PROMPT_SKIP: 1 (default) the skip, 2 only the last 128 rows
(DeepSeek's own serving; answers shift a little), 0 off. Same approach as Maya #318 .
H100 emulation (64 GB cgroup, 12 GiB VRAM, store 41 GB, 3.6 GB/s SSD cap): 16K prompt 69.3 s -> 51.5 s (236 -> 318
tok/s, two alternating pairs), 4K 32.5 s -> 30.7 s; 800 teacher-forced positions after a 4,200-token skipped prompt: KL
0.00029 against the full work, top-1 against the text 88.11% against 87.98%, ppl 1.5110 against 1.5111.
--score gets DS4_SCORE_PREFIX=N (the segments joined, the first N tokens read as one prompt with the last row's logits,
the rest scored) so the skip can be scored; tools/dsv41/test_prompt_skip.py runs it against a pack when one is named.
The Maya notice file now says later Maya changes are covered by the same notice.
2026-10-24 01:11:34 +02:00
..
2026-10-21 14:04:15 +02:00
2026-10-24 01:11:34 +02:00
2026-10-20 18:45:22 +02:00
2026-10-20 18:46:37 +02:00
2026-10-13 05:53:21 +02:00
2026-10-14 22:23:29 +02:00
2026-10-20 19:59:48 +02:00
2026-10-22 13:10:12 +02:00
2026-10-13 04:36:04 +02:00
2026-10-19 23:26:32 +02:00
2026-10-07 20:42:39 +02:00
2026-10-09 15:23:32 +02:00
2026-10-09 11:51:43 +02:00
2026-10-14 07:00:09 +02:00
2026-10-14 07:07:06 +02:00
2026-10-07 04:07:42 +02:00
2026-10-19 21:23:19 +02:00
2026-10-17 06:33:36 +02:00
2026-10-09 10:01:59 +02:00
2026-09-24 18:42:20 +02:00
2026-10-20 13:59:25 +02:00
2026-10-11 07:58:34 +02:00
2026-09-30 17:52:12 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:43:28 +02:00
2026-10-03 19:29:26 +02:00
2026-10-22 17:27:39 +02:00
2026-10-03 18:19:49 +02:00
2026-10-03 08:04:53 +02:00
2026-10-15 21:28:47 +02:00
2026-10-15 21:28:47 +02:00
2026-09-24 18:42:20 +02:00
2026-10-10 18:49:32 +02:00
2026-10-22 16:06:17 +02:00
2026-10-22 15:43:12 +02:00
2026-10-20 12:35:59 +02:00
2026-09-30 20:36:29 +02:00
2026-10-20 16:03:23 +02:00
2026-10-09 15:21:30 +02:00
2026-10-09 15:21:29 +02:00
2026-10-11 07:58:34 +02:00
2026-10-05 19:57:36 +02:00
2026-10-19 16:23:26 +02:00
2026-10-19 16:23:26 +02:00
2026-10-15 10:23:23 +02:00
2026-10-22 15:43:12 +02:00
2026-09-24 18:42:20 +02:00
2026-09-27 10:18:14 +02:00
2026-09-28 14:53:30 +02:00
2026-10-12 20:29:45 +02:00
2026-10-19 23:44:24 +02:00
2026-10-12 20:29:45 +02:00
2026-10-12 20:29:45 +02:00
2026-09-24 18:42:20 +02:00
2026-09-27 10:18:14 +02:00
2026-10-03 18:14:59 +02:00
2026-10-14 11:58:16 +02:00
2026-10-01 10:31:23 +02:00
2026-10-19 16:35:51 +02:00
2026-10-19 16:35:51 +02:00
2026-10-14 07:08:59 +02:00
2026-10-14 07:08:58 +02:00
2026-10-12 21:16:33 +02:00
2026-10-12 20:48:37 +02:00
2026-10-13 00:57:20 +02:00
2026-10-18 22:22:31 +02:00
2026-10-09 21:09:03 +02:00
2026-10-07 00:01:12 +02:00
2026-10-07 21:07:59 +02:00
2026-10-09 10:30:16 +02:00
2026-10-06 14:58:47 +02:00
2026-10-09 03:06:46 +02:00
2026-10-06 16:35:09 +02:00
2026-10-20 14:13:34 +02:00
2026-10-20 14:07:31 +02:00
2026-10-23 23:27:29 +02:00
2026-10-07 03:02:55 +02:00
2026-10-20 18:45:21 +02:00
2026-10-07 04:07:42 +02:00
2026-10-14 06:52:37 +02:00
2026-10-20 17:17:45 +02:00
2026-10-20 13:59:25 +02:00
2026-09-30 16:43:28 +02:00
2026-09-30 16:31:46 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:31:44 +02:00
2026-09-30 16:31:45 +02:00
2026-09-30 16:31:44 +02:00
2026-10-03 19:29:26 +02:00
2026-10-19 23:38:49 +02:00
2026-10-22 17:27:39 +02:00
2026-10-07 17:34:36 +02:00
2026-10-20 14:11:50 +02:00
2026-10-03 18:19:49 +02:00
2026-10-10 11:11:20 +02:00
2026-10-20 00:41:38 +02:00
2026-10-19 23:26:32 +02:00
2026-10-20 16:03:23 +02:00
2026-10-11 08:25:30 +02:00
2026-10-03 18:14:52 +02:00
2026-10-19 23:38:38 +02:00
2026-10-16 19:32:05 +02:00
2026-10-19 20:59:29 +02:00
2026-10-18 13:18:38 +02:00
2026-10-13 01:07:28 +02:00
2026-10-07 00:01:12 +02:00
2026-10-23 14:07:48 +02:00
2026-10-22 16:22:37 +02:00
2026-10-23 14:05:32 +02:00
2026-10-08 02:31:56 +02:00
2026-10-20 00:11:11 +02:00
2026-10-05 15:58:35 +02:00
2026-10-13 00:49:11 +02:00
2026-10-21 00:23:52 +02:00
2026-10-19 20:07:33 +02:00
2026-10-13 04:36:28 +02:00
2026-10-24 00:05:11 +02:00
2026-10-19 20:38:04 +02:00
2026-10-07 20:46:11 +02:00
2026-10-21 00:21:24 +02:00
2026-10-21 07:03:33 +02:00
2026-10-20 19:48:20 +02:00
2026-10-20 19:48:20 +02:00
2026-10-21 07:03:33 +02:00
2026-10-21 00:21:24 +02:00
2026-10-19 23:25:46 +02:00
2026-10-10 11:04:37 +02:00
2026-10-19 19:56:01 +02:00
2026-10-20 18:28:01 +02:00
2026-10-21 07:03:33 +02:00
2026-10-22 21:19:41 +02:00
2026-10-19 08:41:24 +02:00
2026-10-19 07:23:44 +02:00
2026-10-03 23:35:52 +02:00
2026-10-19 07:23:44 +02:00
2026-10-20 14:29:58 +02:00
2026-10-09 15:16:03 +02:00
2026-10-04 03:36:22 +02:00
2026-10-06 15:57:38 +02:00
2026-10-22 15:43:12 +02:00
2026-10-01 20:46:19 +02:00
2026-10-20 14:17:29 +02:00
2026-10-17 20:16:02 +02:00
2026-10-14 01:16:56 +02:00
2026-10-20 19:48:20 +02:00
2026-10-07 03:57:38 +02:00
2026-10-14 10:48:36 +02:00
2026-09-30 16:31:31 +02:00
2026-10-14 03:17:43 +02:00
2026-10-13 13:51:01 +02:00
2026-10-15 06:22:32 +02:00
2026-10-09 03:15:12 +02:00
2026-10-20 00:05:48 +02:00
2026-10-22 19:39:27 +02:00
2026-10-20 19:48:20 +02:00
2026-10-09 03:15:12 +02:00
2026-10-03 01:58:25 +02:00
2026-10-07 03:02:55 +02:00
2026-10-13 00:26:51 +02:00
2026-10-12 14:21:19 +02:00
2026-10-13 02:06:01 +02:00
2026-10-22 13:47:41 +02:00
2026-10-15 05:41:24 +02:00
2026-10-20 00:47:08 +02:00
2026-10-09 03:04:21 +02:00
2026-10-20 00:11:11 +02:00
2026-10-19 21:42:12 +02:00
2026-10-13 04:12:24 +02:00
2026-10-20 19:59:48 +02:00