This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/tests
Code000 5a8c5533d1 sched_test: an opt-in timed simulation of a burst of long prompts
Cause: scheduling policy for many long prompts arriving at once (how chunks share steps,
admission, decode rows beside chunks, interleaving) was judged on the device only, where a
run of 32 x 128K prompts takes 40 minutes and the device is shared.

Change: sim_burst_of_long_prompts drives the real Scheduler through such a burst (prompts,
decode with three drafts a step, the stager floor, --prefix-resume exact) and times each
step with a cost model whose defaults are fitted to Flash-Next at TP2 (a lone prefill and
decode alone). It checks nothing and returns at once unless RAD_SCHED_SIM is set; the
workload, the flags and the model's terms come from SIM_* variables (see the comment).

Evidence (defaults, 128K prompts, 512 tokens out): the schedule keeps ~1984-2048 prefill
tokens in nearly every step at 4, 16 and 32 prompts (two prompts share a step at 1024 each
until the first decodes, then a chunk of 2048 less the decode rows with the next prompt
filling the rest), so the model predicts ~5.1K tokens/s aggregate at every burst size:
TTFT p95 100 / 412 / 814 s at 4 / 16 / 32 prompts against the device's 158 / 966 / 2456 s.
The gap grows with the burst size, so it is the device's cost of the steps a burst runs
(two-sequence and mixed steps), not the number of tokens the scheduler plans per step.
2026-11-05 20:20:13 +01:00
..
2026-10-30 22:01:01 +01:00
2026-10-30 22:01:01 +01:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-10-23 11:57:52 +02:00
2026-10-30 22:01:01 +01:00
2026-10-30 22:01:01 +01:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-10-23 11:57:52 +02:00
2026-10-30 22:01:01 +01:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-20 21:05:16 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-16 18:25:18 +02:00
2026-10-12 11:46:14 +02:00
2026-10-16 18:25:18 +02:00
2026-10-04 12:02:41 +02:00
2026-10-24 13:12:28 +02:00
2026-10-16 18:25:18 +02:00
2026-11-02 18:35:02 +01:00
2026-10-16 18:25:18 +02:00
2026-11-04 18:56:58 +01:00
2026-10-30 22:01:01 +01:00
2026-10-20 21:05:16 +02:00
2026-10-20 21:05:16 +02:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-30 22:01:01 +01:00
2026-10-30 22:01:01 +01:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-16 18:25:18 +02:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-11-04 18:56:58 +01:00
2026-11-04 18:56:58 +01:00
2026-10-27 16:47:35 +01:00
2026-11-02 18:35:02 +01:00
2026-11-02 18:35:02 +01:00
2026-11-02 18:35:02 +01:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-24 13:12:28 +02:00
2026-10-30 22:01:01 +01:00
2026-11-04 18:56:58 +01:00
2026-10-18 11:38:37 +02:00
2026-10-29 13:45:18 -04:00
2026-10-16 18:25:18 +02:00
2026-10-29 12:04:24 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-24 13:12:28 +02:00
2026-11-04 18:56:58 +01:00
2026-10-23 11:57:52 +02:00
2026-10-27 16:47:35 +01:00
2026-10-27 16:47:35 +01:00
2026-11-04 18:56:58 +01:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00