Skip to content

GB10 TP1 — HyperFlare v0.1.0 benchmarks: DFlash2 vs native MTP, Mixed Prefill and adaptive verification tuning #288

Closed

Description

@shadownetX

GB10 TP1 — HyperFlare v0.1.0: DFlash2/A16 vs native MTP with mixed prefill, plus a runtime parameter sweep

Final update — November 14, 2026: After additional mixed-prefill experiments and a DFlash2 adaptive alpha sweep, I selected DFlash2 MXFP8 + forced MoE decode A16, adaptive alpha 0.5 (A2) for production. A2 improves warm per-request decode across all tested concurrency levels compared with A1. See the final follow-up comment for the complete comparison, asynchronous tradeoffs and observations on scheduler discovery-related streaming pauses.

Hi everyone,

I have been testing HyperFlare v0.1.0 on a single DGX Spark with nvidia/Qwen3.8-Flash-Next-FP4-Local, primarily for local Claude Code workloads. Thanks for the work on the engine, including the prefix-cache improvements.

I wanted to share some measurements rather than just a single peak tokens/s figure. My priority is warm-cache per-request generation speed and TTFT at 1, 2 and 4 concurrent requests, with 8-way concurrency as a secondary consideration. Real coding agents frequently alternate between generation and new prompt processing, so mixed prefill is also of interest.

I ran nine complete performance benchmarks (2,430 successful requests in total) across three prepared exports, using 8K/32K/64K contexts, 1/2/4/8 concurrent requests and three cold/warm repetitions per scenario. Seven of the runs share the same native-MTP export and vary only runtime settings.

Main results

Warm decode speed, tokens/s per request (geometric mean of scenario medians across the three context lengths):

Configuration 1 request 2 requests 4 requests 8 requests
A — DFlash2 + forced MoE A16 45.53 33.26 24.94 14.51
B — DFlash2, no forced A16 44.51 33.81 23.68 14.02
C3 — native MTP4 adaptive, alpha 0.5, balanced 42.66 34.53 24.68 16.64
  • DFlash2 + forced A16 remains the fastest of these configurations for a single warm request; it is also marginally ahead of C3 at four requests.
  • C3 improves two-request decode by 3.8% and eight-request decode by 14.7% compared with A, at the cost of 6.3% at one request and 1.0% at four.
  • Among the native-MTP settings tested, C3 gives the best geometric mean of warm per-request decode across my three priority concurrency levels (1/2/4). C2 and C1 can be better for aggregate throughput at higher concurrency; there is no universal winner.
  • The throughput scheduler preset did not improve measured aggregate throughput at four or eight requests over balanced in my tested MTP pairs; at lower concurrency the differences were smaller and sometimes positive. At four requests, it offered and accepted more drafts per verification round, but completed fewer logical request rounds per second. This is an observation, not a GPU timing diagnosis.
  • All nine complete runs retained at least 99.19% warm prompt-cache reuse. No warm-cache regression was observed in this campaign.

Initial production choice (superseded by the November 14 update)

At the end of the initial benchmark campaign, I selected the native MTP export with mixed prefill and these runtime flags:

--mtp-draft-tokens 4
--mtp-adaptive-verification
--mtp-adaptive-verification-alpha 0.5
--scheduler-policy balanced
--no-history-drafts

This was a workload-specific choice based on the concurrency tradeoff and the potential benefit of mixed prefill when independent coding agents overlap prompt ingestion and generation.

The initial synchronized benchmark did not isolate or quantify that benefit. Subsequent asynchronous experiments, documented in the follow-up comment, led me to switch back to DFlash2/A16.

The history-drafts failure is tracked separately in #287; that incomplete run is excluded from the performance comparison.

I will add detailed configuration/protocol, measurements and scheduler observations in follow-up comments. I would be particularly interested in whether the MTP verification behavior under throughput is expected on GB10, and whether there are recommended measurements for asynchronous mixed-prefill workloads.

Activity

  1. shadownetX commented on Nov 13, 2026

    @shadownetX
    ContributorAuthor

    Benchmark protocol and prepared exports

    Environment

    • One NVIDIA DGX Spark, GB10 (SM121), ARM64, 128 GB unified memory, TP1.
    • Model: nvidia/Qwen3.8-Flash-Next-FP4-Local.
    • Engine source revision: 0572fd12e83ac705de02ce98f457c68d0cc1b83e (v0.1.0).
    • A used a local, unpatched release build from the pinned source; B and C used the official ARM64 release binary, based on the deployment configuration at the time. The source revision was the same, but the executable builds are not identical; this is a caveat for A/B attribution.
    • Maximum context 262,144; max concurrency 8; prefill chunk 4096; memory reserve 9G.
    • Prefix cache: GPU + SSD, disk_limit = "512G", host checkpoint memory memory = "0".
    • Docker deployment with local model packages; no engine source modifications for this campaign.

    Three prepared exports

    Export Speculation Captured draft depth Forced MoE decode A16 Mixed prefill Speculative capacity Preparation time (approx.)
    A (reference) DFlash2 MXFP8 7 On Off 64 2h54
    B DFlash2 MXFP8 7 Off Off 64 1h40
    C Native MTP 5 Off On 48 4h18

    Both DFlash2 exports use --online-mxfp8 --draft-head-quantization mxfp8. All three use --autotune-effort audit. Preparation durations are approximate observed wall times, not controlled export-speed measurements (kernel cache/tuning reuse may differ). A is the November v0.1.0 reference, not an earlier DFlash2 export.

    C captures 159 graphs, including mixed shapes, with a maximum MTP depth of five; the seven runtime variants below use the same package, with no new export.

    Runtime variants

    Configuration Export Runtime draft cap Adaptive verification Alpha Scheduler History drafts
    A A 7 On 1.0 balanced Off
    B B 7 On 1.0 balanced Off
    C1 C 3 Off — balanced Off
    C2 C 4 On 1.0 balanced Off
    C3 C 4 On 0.5 balanced Off
    C4 C 4 On 0.5 throughput Off
    C5 C 4 On 1.0 throughput Off
    C6 C 3 On 0.5 balanced Off
    C7 C 4 Off — balanced Off

    For fixed-depth runs, use --no-mtp-adaptive-verification. For adaptive runs, the runtime cap is a maximum, not necessarily the number of drafts offered per round.

    The A/B/C comparison is a comparison of prepared configurations, not a controlled isolation of speculation method, A16, mixed prefill or speculative capacity. In particular C changes more than one export variable. Within C1–C7, runtime-setting comparisons are cleaner.

    Workload

    FlareBench performance suite, protocol 3.0-iso, Nov 11–13, 2026 (UTC).

    • Synthetic coding workload; no private project files or tool execution. Performance suite only; no tools/prose quality suite.
    • Streaming requests, contexts 8192 / 32768 / 65536 nominal tokens; actual full prompt lengths include framing and vary slightly.
    • Concurrency 1 / 2 / 4 / 8; three repetitions for every scenario and each phase.
    • Each repetition issues a cold cohort and a warm cohort using a cached prompt prefix with a small changed suffix. The warm fixture uses a predetermined assistant message, not the actual preceding generated response.
    • max_tokens=2048, temperature=1.0, top_p=0.95, top_k=20, seed=42.
    • Performance requests do not explicitly disable reasoning. Output-token counts include reasoning as returned by the API; this is not a test of coding correctness or final-answer quality. Some requests stop before the cap.
    • 72 cohorts and 270 individual requests per configuration: 3 contexts × 3 repetitions × 2 phases × (1+2+4+8) requests. Nine successful runs, 2,430 individual requests.
    • Identical synthetic fixture SHA-256: 30add05c4354187d5fd116a8205f758bb073de5f2e383faa778c7292868e0706.

    Metrics and limitations

    • Per-request decode: benchmark-reported decode tokens/s after TTFT, summarized as the median across all successful individual requests within each context/concurrency/phase (not the median of cohort averages).
    • TTFT: benchmark-reported time to first output stream event; same median convention.
    • Aggregate throughput: total completion tokens divided by the cohort wall time, including initial prompt processing; median across the three cohorts. This is different from the sum of individual decode rates, especially when requests end at different times.
    • Context summary at each concurrency: geometric mean of the 8K, 32K and 64K scenario medians, giving each context equal weight. The optional overall warm decode comparison gives 1/2/4 equal weight as well. No composite UI score is used.
    • All comparisons below use unrounded values before formatting. Small differences should not be treated as significant without further repetitions; no confidence intervals are claimed.
    • SSE inter-chunk gaps are not true per-token ITL. Host MemAvailable is unified host memory, not dedicated VRAM.
    • This benchmark primarily uses synchronized cohorts. It can exhibit incidental phase overlap, but does not isolate asynchronous mixed-prefill performance. A dedicated staggered workload would be needed to measure the benefit.
  2. shadownetX commented on Nov 13, 2026

    @shadownetX
    ContributorAuthor

    Complete benchmark measurements

    The following tables are calculated directly from the nine completed FlareBench JSON reports. All nine runs completed 270/270 requests. The incomplete history-drafts run is not included.

    WARM — context-balanced summaries

    Per-request decode (tokens/s):

    Configuration 1 2 4 8
    A 45.53 33.26 24.94 14.51
    B 44.51 33.81 23.68 14.02
    C1 41.89 33.53 24.71 16.49
    C2 41.51 32.70 24.99 16.88
    C3 42.66 34.53 24.68 16.64
    C4 42.70 33.85 23.00 15.63
    C5 41.98 33.09 23.67 16.25
    C6 41.57 32.79 24.44 15.91
    C7 41.63 33.37 23.61 16.39

    Per-request TTFT (ms):

    Configuration 1 2 4 8
    A 237 454 819 1584
    B 253 492 827 1642
    C1 333 487 888 1662
    C2 253 490 786 1551
    C3 254 457 874 1525
    C4 257 452 896 1564
    C5 257 452 824 1588
    C6 254 449 859 1602
    C7 257 496 886 1626

    Aggregate cohort throughput (tokens/s, including TTFT):

    Configuration 1 2 4 8
    A 45.31 65.05 89.17 104.98
    B 44.25 62.97 82.08 102.03
    C1 41.53 65.35 92.39 118.35
    C2 41.28 62.33 92.13 118.71
    C3 42.46 65.04 86.44 117.82
    C4 42.46 63.31 82.49 113.40
    C5 41.77 62.44 85.93 115.96
    C6 41.37 63.16 92.25 116.22
    C7 41.40 61.24 83.86 114.26

    COLD — context-balanced summaries

    Per-request decode (tokens/s):

    Configuration 1 2 4 8
    A 47.15 35.65 26.28 13.89
    B 45.46 35.64 22.09 13.57
    C1 43.22 34.19 24.15 16.06
    C2 42.22 33.66 24.69 16.23
    C3 42.61 34.14 23.63 16.03
    C4 43.49 33.71 23.19 15.87
    C5 42.32 33.55 24.05 16.01
    C6 42.12 32.96 24.59 15.64
    C7 43.38 33.37 22.84 15.85

    Per-request TTFT (ms):

    Configuration 1 2 4 8
    A 9590 18289 37425 74981
    B 9938 19176 38812 78429
    C1 10535 20291 40726 83700
    C2 10069 19623 39141 77595
    C3 10091 20122 40010 79756
    C4 10416 20598 41579 83995
    C5 10549 21574 42153 82433
    C6 10671 20970 43379 84714
    C7 10861 21690 44272 85291

    Aggregate cohort throughput (tokens/s, including TTFT):

    Configuration 1 2 4 8
    A 36.85 49.29 64.04 67.47
    B 35.50 47.51 55.80 65.02
    C1 33.85 46.92 59.36 69.81
    C2 33.26 46.86 60.85 73.47
    C3 33.45 47.40 57.90 70.59
    C4 34.19 46.12 57.69 70.30
    C5 33.06 45.49 58.97 70.36
    C6 32.90 45.96 57.78 68.43
    C7 33.78 45.04 55.36 68.53

    WARM — per-context measurements

    Per-request decode (tokens/s):

    Context Requests A B C1 C2 C3 C4 C5 C6 C7
    8K 1 46.45 45.63 42.38 42.28 43.84 43.77 41.57 43.25 40.01
    32K 1 44.16 44.77 40.59 41.41 43.74 42.23 41.69 40.35 42.60
    64K 1 46.01 43.16 42.73 40.86 40.50 42.13 42.68 41.15 42.33
    8K 2 31.89 33.17 34.30 33.11 34.03 34.78 34.12 32.42 33.00
    32K 2 34.88 36.03 33.25 32.49 34.85 33.61 33.30 33.81 35.69
    64K 2 33.06 32.34 33.05 32.49 34.72 33.17 31.90 32.15 31.55
    8K 4 26.41 25.36 24.52 24.47 25.41 23.44 23.45 24.05 23.78
    32K 4 28.31 22.61 24.75 25.18 24.66 22.73 24.40 24.16 23.63
    64K 4 20.75 23.14 24.86 25.34 24.00 22.85 23.18 25.12 23.41
    8K 8 14.43 14.96 16.59 16.66 17.52 15.82 16.32 16.04 16.54
    32K 8 14.99 14.23 16.63 16.80 16.04 15.20 16.05 16.33 16.09
    64K 8 14.14 12.95 16.26 17.18 16.39 15.90 16.38 15.38 16.54

    Per-request TTFT (ms):

    Context Requests A B C1 C2 C3 C4 C5 C6 C7
    8K 1 223 241 512 233 234 237 234 237 233
    32K 1 235 249 259 259 258 258 247 249 259
    64K 1 254 271 279 268 270 278 294 279 281
    8K 2 452 478 470 470 420 417 422 422 480
    32K 2 446 470 488 470 466 482 482 436 493
    64K 2 464 530 504 533 489 459 453 491 514
    8K 4 846 823 835 772 874 900 849 835 851
    32K 4 797 814 962 780 845 924 818 836 965
    64K 4 816 844 871 807 905 865 806 908 846
    8K 8 1525 1570 1595 1506 1502 1547 1512 1507 1640
    32K 8 1512 1726 1728 1542 1522 1566 1708 1703 1604
    64K 8 1722 1635 1667 1608 1551 1580 1551 1602 1636

    Aggregate cohort throughput (tokens/s):

    Context Requests A B C1 C2 C3 C4 C5 C6 C7
    8K 1 46.24 45.29 41.95 42.10 43.64 43.46 41.38 43.05 39.84
    32K 1 43.96 44.55 40.19 41.21 43.52 42.03 41.50 40.17 42.39
    64K 1 45.77 42.93 42.50 40.53 40.30 41.90 42.44 40.94 42.03
    8K 2 62.85 64.56 67.17 63.29 66.94 63.25 63.97 63.07 63.09
    32K 2 70.04 63.65 65.63 63.03 68.07 61.97 61.79 63.37 59.89
    64K 2 62.54 60.77 63.30 60.69 60.39 64.73 61.59 63.05 60.79
    8K 4 90.74 83.46 92.74 94.24 88.30 84.73 86.71 93.18 85.63
    32K 4 96.71 77.67 91.85 93.64 85.91 78.88 85.43 95.16 84.35
    64K 4 80.80 85.30 92.59 88.62 85.13 83.99 85.67 88.55 81.65
    8K 8 108.25 106.06 118.69 123.09 115.02 120.87 119.77 116.64 116.40
    32K 8 105.21 99.79 121.45 117.04 119.48 109.03 116.21 117.58 120.20
    64K 8 101.60 100.35 114.99 116.13 119.02 110.67 112.03 114.47 106.63

    COLD — per-context measurements

    Per-request decode (tokens/s):

    Context Requests A B C1 C2 C3 C4 C5 C6 C7
    8K 1 49.15 45.02 43.29 42.97 41.30 44.58 44.02 43.45 42.96
    32K 1 44.64 46.25 43.27 40.91 43.34 43.14 41.36 41.68 45.44
    64K 1 47.78 45.12 43.11 42.80 43.23 42.77 41.62 41.27 41.81
    8K 2 34.19 35.08 34.47 34.00 34.94 34.33 33.64 33.73 31.94
    32K 2 36.88 34.43 33.83 33.24 34.11 33.26 33.23 31.82 34.61
    64K 2 35.92 37.50 34.27 33.76 33.39 33.55 33.79 33.38 33.62
    8K 4 26.19 23.99 24.00 24.45 24.30 24.61 23.99 24.50 22.26
    32K 4 27.23 22.05 24.35 24.89 23.54 22.92 24.28 24.82 22.88
    64K 4 25.44 20.38 24.12 24.74 23.06 22.10 23.88 24.44 23.39
    8K 8 14.43 14.34 16.00 16.15 15.99 15.81 16.03 16.04 16.05
    32K 8 13.43 14.07 16.16 16.23 16.07 15.91 15.95 15.72 15.75
    64K 8 13.82 12.39 16.02 16.33 16.05 15.89 16.05 15.16 15.77

    Per-request TTFT (ms):

    Context Requests A B C1 C2 C3 C4 C5 C6 C7
    8K 1 3378 3408 3673 3391 3403 3402 3392 3404 3525
    32K 1 11144 12272 12777 12298 12253 13344 13058 13604 13024
    64K 1 23432 23470 24912 24480 24644 24890 26504 26238 27907
    8K 2 5778 6395 6483 6391 6662 6422 6578 6775 7206
    32K 2 22546 23489 25218 24269 24786 25504 27492 26584 27045
    64K 2 46959 46945 51096 48720 49341 53360 55524 51192 52365
    8K 4 12126 12853 13137 12738 13151 13495 14075 13397 14990
    32K 4 47353 47870 51028 48519 49444 51700 51043 53591 54586
    64K 4 91292 95025 100765 97026 98506 103029 104258 113696 106049
    8K 8 23800 24272 27216 24920 26316 28574 26394 27398 26330
    32K 8 95219 101250 102239 96626 98762 102741 103682 107668 113857
    64K 8 186015 196302 210730 194028 195208 201854 204691 206094 206962

    Aggregate cohort throughput (tokens/s):

    Context Requests A B C1 C2 C3 C4 C5 C6 C7
    8K 1 45.48 41.72 40.30 40.10 38.65 41.60 41.11 40.61 40.02
    32K 1 35.93 36.05 34.01 32.40 33.93 34.17 32.32 32.65 35.48
    64K 1 30.63 29.75 28.31 28.31 28.54 28.11 27.19 26.87 27.14
    8K 2 61.34 62.47 59.27 58.72 60.41 59.90 59.99 59.74 55.80
    32K 2 49.55 49.25 47.40 47.31 48.07 46.81 45.30 45.09 46.83
    64K 2 39.39 34.86 36.77 37.03 36.67 34.98 34.65 36.03 34.96
    8K 4 87.94 76.47 81.59 80.47 80.42 81.59 80.78 81.87 74.91
    32K 4 63.34 55.42 59.06 62.23 57.64 56.93 59.41 57.85 54.49
    64K 4 47.16 40.99 43.40 44.99 41.87 41.34 42.74 40.72 41.57
    8K 8 95.97 94.94 102.15 107.13 103.74 100.77 103.53 98.47 102.79
    32K 8 65.62 64.34 69.62 72.89 68.08 70.11 68.86 67.77 65.56
    64K 8 48.78 45.00 47.84 50.78 49.81 49.18 48.85 48.01 47.76

    Cache and run completion

    Configuration Successful requests Minimum WARM cache ratio Run wall time (min)
    A 270/270 99.19% 127.9
    B 270/270 99.19% 132.1
    C1 270/270 99.19% 129.0
    C2 270/270 99.19% 124.8
    C3 270/270 99.19% 126.6
    C4 270/270 99.19% 130.5
    C5 270/270 99.19% 130.6
    C6 270/270 99.19% 131.5
    C7 270/270 99.19% 132.2

    The warm cache floor is 99.19% at 8K, 99.80% at 32K and 99.90% at 64K across the nine completed runs (rounded as recorded in the reports). The small uncached suffix is part of the benchmark fixture. No cache-regression claim is made beyond these scenarios.

    I can provide the raw reports if they would be useful.

  3. shadownetX commented on Nov 13, 2026

    @shadownetX
    ContributorAuthor

    Interpreting the export and runtime comparisons

    Export tradeoffs: A, B and C

    A versus B: enabling forced MoE A16 in the prepared DFlash2 export is associated with higher warm decode at one, four and eight requests (+2.3%, +5.3%, +3.5% respectively, relative to B), but lower decode at two requests (-1.6%). A also has lower warm TTFT at each tested concurrency. The aggregate throughput numbers favor A in all four concurrency summaries. This comparison is not a perfectly controlled A16 ablation: the deployment switched from a local unpatched build to the official binary at the same source revision, and the prepared kernels were independently tuned.

    A versus C3: the native-MTP mixed-prefill configuration trades some single-request decode for stronger scaling at eight requests. At four requests, individual decode is close to A (24.68 vs 24.94 tok/s), while aggregate throughput is slightly lower (86.44 vs 89.17 tok/s). At two requests, aggregate throughput is essentially unchanged (65.04 vs 65.05 tok/s) even though individual decode is higher. C3 also has slower cold TTFT than A in this test. The distinction between individual and aggregate metrics matters when requests finish at different times.

    None of these comparisons isolates mixed prefill, MTP versus DFlash2, or MoE precision independently. For the following runtime sweep, all C1–C7 comparisons use the same C export (native MTP, mixed prefill, captured depth 5), so they do not require a new preparation. The runtime flags are listed in the protocol comment.

    1. Choosing a runtime draft cap and alpha

    Geometric mean of warm per-request decode at 1, 2 and 4 concurrent requests, weighting each concurrency and each nominal context equally:

    Configuration Runtime cap Adaptive alpha Scheduler WARM decode comparison (tok/s)
    C1 3 fixed balanced 32.62
    C2 4 1.0 balanced 32.37
    C3 4 0.5 balanced 33.13
    C4 4 0.5 throughput 32.16
    C5 4 1.0 throughput 32.04
    C6 3 0.5 balanced 32.17
    C7 4 fixed balanced 32.01

    C3 is my preferred native-MTP configuration. Its equal-weight warm decode result is about 2.35% above C2 (same cap, alpha 1.0), 2.98% above C6 (same alpha, cap 3), and 3.51% above C7 (fixed cap 4). However, C2 has a slightly higher four-request decode rate and C1/C2/C6 have higher four-request aggregate throughput than C3. A workload-specific choice is more useful than declaring one universal winner.

    For reference, A and B score 33.55 and 32.91 respectively on this same decode-only summary; C3 scores 33.13. This is not a statistically established overall performance advantage for C3 over A. I selected C3 because of the concurrency tradeoff and availability of mixed prefill, not because it wins this single number.

    2. Speculation metrics

    Below, metrics are pooled over all three warm contexts and all three repetitions for each concurrency. Offered/round and accepted/round are sums of the corresponding token counters divided by the sum of logical verification request rounds. Rounds/s is that round sum divided by total cohort wall time. Acceptance % is accepted/offered. These are logical request-round counters, not physical GPU launches or GPU kernel timings.

    Configuration Requests Offered/round Accepted/round Logical rounds/s Acceptance %
    C1 1 3.00 1.47 16.69 49.1%
    C1 2 3.00 1.54 25.64 51.4%
    C1 4 3.00 1.54 36.12 51.5%
    C1 8 3.00 1.52 47.04 50.7%
    C2 1 1.77 1.12 18.79 63.1%
    C2 2 1.73 1.10 29.34 63.7%
    C2 4 1.94 1.21 41.19 62.2%
    C2 8 1.90 1.22 47.41 64.2%
    C3 1 3.35 1.57 16.32 46.9%
    C3 2 3.23 1.60 24.69 49.3%
    C3 4 3.00 1.51 33.78 50.3%
    C3 8 2.14 1.18 53.57 55.4%
    C4 1 3.58 1.65 15.96 46.1%
    C4 2 3.49 1.63 23.79 46.7%
    C4 4 3.88 1.72 30.10 44.2%
    C4 8 3.93 1.72 41.49 43.8%
    C5 1 2.38 1.33 17.84 55.9%
    C5 2 2.84 1.43 25.41 50.3%
    C5 4 3.27 1.55 33.84 47.4%
    C5 8 3.33 1.58 44.39 47.6%
    C6 1 2.52 1.39 17.20 55.0%
    C6 2 2.42 1.36 26.83 56.3%
    C6 4 2.88 1.52 36.78 52.8%
    C6 8 2.97 1.55 42.36 52.2%
    C7 1 4.00 1.74 15.28 43.5%
    C7 2 4.00 1.73 22.47 43.3%
    C7 4 4.00 1.77 30.20 44.3%
    C7 8 4.00 1.76 41.70 44.1%

    3. Balanced versus throughput

    Comparing C3 to C4 changes only the scheduler preset, keeping cap 4 and alpha 0.5. At four concurrent requests:

    Metric (WARM) C3 balanced C4 throughput Change
    Offered drafts / logical round 3.00 3.88 +29.5%
    Accepted drafts / logical round 1.51 1.72 +13.8%
    Logical rounds / second 33.78 30.10 -10.9%
    Per-request decode (tok/s) 24.68 23.00 -6.8%
    Aggregate throughput (tok/s) 86.44 82.49 -4.6%

    At alpha 1.0 (C2 → C5), the same pattern is visible at four requests: more offered and accepted drafts per logical round, fewer logical rounds/s, and lower measured decode and aggregate throughput. Fixed cap 4 (C7) also offers more drafts than C3, but does not improve decode.

    The result seems consistent with a tradeoff between deeper verification and the rate of completed rounds. It is not proof that a particular GPU graph or verification width is responsible. Output lengths differ, logical rounds/s depends on the cohort population and wall time, and the benchmark does not currently record per-width GPU execution times.

    The scheduler documentation at the tested revision describes throughput as removing delivery fairness and decode-age price while retaining token fairness and output-token value. The adaptive scoring implementation applies alpha to prefix-survival estimates; alpha 0.5 gives greater relative weight to deeper low-probability positions than alpha 1.0. This provides a plausible explanation for the observed shift in offered depth, without establishing causality for the performance difference.

    4. What I would like to investigate next

    • Is this expected behavior of the throughput preset on GB10 for this model, or could the verification-duration estimates or policy weights be improved for this workload?
    • For deeper diagnosis, I would like to compare physical graph counts and GPU time by batch and verification width (flare_speculative_rounds_total, flare_speculative_gpu_nanoseconds_total, and related offered/accepted/emitted token counters) rather than relying on logical request rounds alone.
    • For mixed prefill, I would like to measure staggered request arrivals, with an active decoder while another agent submits a large uncached prompt. The synchronized cold/warm suite does not answer that question directly. The mixed-execution contract allows one prefill row alongside decode rows within a captured mixed forward. This is the capability I want to evaluate in real agentic use, rather than assuming a speedup from the export flag alone.

    Thanks again for the work on HyperFlare. Happy to provide additional measurements if useful.

  4. added
    area:kernels
    area:scheduling
    model:qwen3.8-flash-next
    performance
    triage:design-review
    on Nov 13, 2026
  5. shadownetX commented on Nov 14, 2026

    @shadownetX
    ContributorAuthor

    Follow-up — Mixed prefill runtime ablation and asynchronous benchmarks (November 14, 2026)

    Following up on the asynchronous workload investigation mentioned above, I have now tested mixed prefill independently of the export process and compared the results with the original DFlash2/A16 configuration.

    PR #290 introduces a runtime switch to enable or disable mixed prefill without preparing a new core. This made it possible to compare both modes using the same native-MTP export.

    1. Test configurations

    All new tests were performed on the same DGX Spark (GB10, SM121, TP1) using a release build based on v0.1.0 with PR #290 applied (ecc9029).

    Configuration Speculation Draft cap Adaptive alpha Mixed prefill Speculative capacity
    A — DFlash2/A16 DFlash2 MXFP8 7 1.0 Off 64
    C3 ON Native MTP 4 0.5 On 48
    C3 OFF Native MTP 4 0.5 Off 48

    All three configurations use the balanced scheduler, history drafts disabled, concurrency 8, a maximum context of 262,144 tokens, and a memory reserve of 8G.

    C3 ON and OFF use the exact same prepared core and runtime binary. A uses the original DFlash2 export with forced MoE decode A16.

    No new export was required.

    2. Runtime memory and initialization

    Metric C3 ON C3 OFF DFlash2/A16
    Prepared kernels 12,624 4,097 7,290
    Prepare execution 2.3 s 0.7 s 0.9 s
    Loaded memory 78.92 GiB 76.92 GiB 76.76 GiB
    Cache budget 18.08 GiB 20.07 GiB 19.95 GiB
    KV token capacity 1,290,240 1,441,792 1,540,096
    Shared snapshot slots 140 157 132

    Disabling mixed prefill in C3 reduced the number of prepared kernels by 67.5%, reduced loaded memory by approximately 2 GiB, and increased KV capacity by 11.7%.

    These are observed startup allocations, not fixed capacity guarantees. Available unified memory can vary between restarts.

    3. Additional synchronized FlareBench run

    I completed one additional full performance benchmark with C3 OFF, using the same protocol, fixture, sampling parameters and aggregation methodology as the original campaign:

    • 8K / 32K / 64K contexts.
    • 1 / 2 / 4 / 8 concurrent requests.
    • Three cold/warm repetitions per scenario.
    • 270/270 successful requests.
    • Minimum WARM cache reuse: 99.19%.
    • Wall time: approximately 124 minutes.

    WARM per-request decode (tokens/s):

    Configuration 1 2 4 8
    A — original 45.53 33.26 24.94 14.51
    C3 ON — original 42.66 34.53 24.68 16.64
    C3 OFF — new 44.59 35.09 25.11 17.10

    WARM per-request TTFT (ms):

    Configuration 1 2 4 8
    A — original 237 454 819 1584
    C3 ON — original 254 457 874 1525
    C3 OFF — new 252 489 841 1624

    WARM aggregate cohort throughput (tokens/s):

    Configuration 1 2 4 8
    A — original 45.31 65.05 89.17 104.98
    C3 ON — original 42.46 65.04 86.44 117.82
    C3 OFF — new 44.33 64.84 90.11 127.04

    The new C3 OFF run improves warm per-request decode over the original C3 ON run at all four concurrency levels, although warm TTFT and aggregate throughput do not improve uniformly.

    Important caveat: the original synchronized benchmarks used the unpatched v0.1.0 runtime and a configured memory reserve of 9G, whereas the new OFF run used the patched runtime and 8G. Therefore, this historical comparison is not a strict single-variable ablation. The asynchronous ON/OFF comparison below provides a cleaner comparison.

    4. Dedicated asynchronous workload

    To exercise overlapping prompt ingestion and generation, I implemented a small standalone Python streaming benchmark against the Flare API.

    Each repetition follows this sequence:

    1. Submit request A: approximately 8K uncached input tokens, 2,048 output tokens.
    2. Wait until A starts generating, then wait one second.
    3. Submit request B: approximately 32K uncached input tokens, 512 output tokens.
    4. Two seconds later, submit request C: approximately 64K uncached input tokens, 256 output tokens.

    All requests use temperature 0, thinking disabled, ignore_eos=true, and streaming with usage reporting.

    Each repetition uses a unique prompt prefix to avoid cache reuse. All 27 requests completed successfully, with zero cached tokens, the requested output lengths and verified overlapping request lifetimes.

    Three independent repetitions were performed for each configuration.

    Mean TTFT (seconds):

    Request C3 ON C3 OFF DFlash2/A16
    A — 8K 2.930 2.866 2.632
    B — 32K 40.804 27.916 29.128
    C — 64K 62.798 56.162 55.930

    Mean per-request decode (tokens/s):

    Request C3 ON C3 OFF DFlash2/A16
    A — 8K 23.31 24.25 25.79
    B — 32K 24.38 19.75 21.83
    C — 64K 33.30 33.40 35.02

    Mean SSE inter-chunk gap P95 (ms):

    Request C3 ON C3 OFF DFlash2/A16
    A — 8K 186.63 82.33 80.47
    B — 32K 193.53 119.26 328.24
    C — 64K 90.12 82.88 74.05

    These are means of the individual run P95 values, not pooled percentiles or true per-token ITL.

    Total scenario completion time (seconds):

    Configuration Run 1 Run 2 Run 3 Mean Std. dev.
    C3 ON 100.13 82.67 91.12 91.31 8.73
    C3 OFF 88.66 87.50 85.69 87.28 1.50
    DFlash2/A16 85.56 79.50 81.21 82.09 3.13

    Physical mixed graph launches:

    Configuration Run 1 Run 2 Run 3
    C3 ON 68 147 156
    C3 OFF 0 0 0
    DFlash2/A16 0 0 0

    The graph counters confirm that mixed execution was actually exercised in every ON repetition.

    5. Observations

    • C3 OFF reduced mean scenario completion time by 4.4% relative to C3 ON.
    • Request B reached its first token 31.6% sooner with mixed prefill disabled, and request C reached its first token 10.6% sooner.
    • Mixed OFF also reduced the mean SSE gap P95 of the already-generating request A by 55.9%.
    • However, mixed execution improved B's subsequent decode throughput. The tradeoff is not uniformly favorable to OFF.
    • DFlash2/A16 completed the overall workload 10.1% faster than C3 ON and 5.9% faster than C3 OFF.
    • DFlash2 was not uniformly smoother: request B had a higher SSE gap P95, and one repetition exhibited a 4.22-second maximum gap on A.
    • C3 OFF had the lowest variation in total completion time across these three repetitions.

    These results suggest that the mixed-prefill implementation does not deliver the expected latency benefit for this particular GB10 workload, despite successfully executing mixed graphs.

    The measurements do not identify the underlying GPU execution or scheduling cause. More repetitions, additional arrival patterns and per-graph GPU timing would be needed to establish a broader conclusion.

    6. Updated production choice

    Based on the combined synchronized and asynchronous results, I have switched my production deployment back to DFlash2 MXFP8 with forced MoE decode A16:

    --mtp-draft-tokens 7
    --mtp-adaptive-verification
    --mtp-adaptive-verification-alpha 1.0
    --scheduler-policy balanced
    --no-history-drafts
    

    My workload is predominantly single-agent Claude Code, with occasional concurrent agents. DFlash2 remains a better overall fit for that usage, while native MTP with mixed prefill disabled remains an attractive alternative for higher concurrency.

    I have retained both prepared exports for future comparisons.

    PR #290 makes this kind of evaluation considerably easier, since mixed prefill can be disabled without another expensive model preparation.

    I would be interested in whether the observed TTFT and SSE-gap tradeoffs are expected on GB10, and which mixed-graph shapes or scheduler decisions would be most useful to investigate next.

    Happy to share the raw benchmark reports and the asynchronous test script if useful.

  6. shadownetX commented on Nov 14, 2026

    @shadownetX
    ContributorAuthor

    Final follow-up — DFlash2 adaptive alpha sweep (November 14, 2026)

    After switching back to DFlash2/A16, I tested a lower adaptive verification alpha using the same prepared export and unpatched v0.1.0 runtime.

    • A1: original configuration, alpha 1.0.
    • A2: same export, alpha 0.5.

    No new export was required.

    1. Synchronized FlareBench results

    Same protocol and fixture as the original campaign, with a 9G memory reserve for both A1 and A2.

    A2 completed 270/270 requests, with a minimum warm cache reuse of 99.19%.

    WARM per-request decode (tokens/s):

    Configuration 1 2 4 8
    A1 45.53 33.26 24.94 14.51
    A2 47.88 37.54 26.04 17.07
    C3 OFF 44.59 35.09 25.11 17.10
    A2 vs A1 +5.2% +12.9% +4.4% +17.7%

    WARM TTFT (ms):

    Configuration 1 2 4 8
    A1 237 454 819 1584
    A2 328 467 814 1554
    C3 OFF 252 489 841 1624

    WARM aggregate throughput (tokens/s):

    Configuration 1 2 4 8
    A1 45.31 65.05 89.17 104.98
    A2 47.50 70.65 96.10 119.18
    C3 OFF 44.33 64.84 90.11 127.04

    COLD per-request decode (tokens/s):

    Configuration 1 2 4 8
    A1 47.15 35.65 26.28 13.89
    A2 48.49 38.19 25.60 15.76
    C3 OFF 43.48 34.66 24.34 16.85

    A2 improves the equal-weight warm decode comparison across my priority concurrency levels (1/2/4) by approximately 7.4% over A1.

    The initial A2 benchmark showed a median single-request warm TTFT of 547 ms at 8K, compared with 223 ms for A1.

    However, a targeted follow-up after restarting A2 with an 8G memory reserve did not reproduce this regression. Across five repetitions, warm TTFT was 228, 225, 219, 222 and 221 ms, with a median of 222 ms and median decode throughput of 52.46 tok/s.

    All cold requests had zero cached tokens, and warm cache reuse remained at 99.19%. The cause of the initial discrepancy remains undetermined.

    2. Asynchronous comparison

    I repeated the previous staggered workload with both alphas, using an 8G reserve and additional metrics sampling approximately every 500 ms.

    All six repetitions passed validation.

    Metric A1 A2 C3 OFF*
    Mean total duration (s) 82.02 84.33 87.28
    A decode (tok/s) 25.92 25.18 24.25
    B decode (tok/s) 21.34 23.13 19.75
    C decode (tok/s) 33.87 35.72 33.40
    B TTFT (s) 28.68 32.38 27.92
    C TTFT (s) 56.65 60.76 56.16
    B SSE gap P95 (ms) 404.92 100.24 119.26

    * C3 OFF is historical data from the previous, non-instrumented script and patched runtime. This comparison is indicative, not a controlled ablation.

    A2 increases total completion time by 2.8% relative to A1, while substantially reducing B's P95 inter-chunk gap.

    3. Scheduler discovery and streaming pauses

    The approximately four-second streaming pause reported previously was reproduced immediately after restarting the runtime with either alpha.

    First repetition A1 A2
    Maximum SSE gap 4.37 s 4.34 s
    Scheduler discovery execution time within the sampled window 3.37 s 3.34 s

    Both windows included eight discovery executions and 10,496 prefill tokens.

    The number of SSE gaps exceeding 500 ms decreased substantially over consecutive repetitions without restarting the server:

    Repetition A1 A2
    1 18 28
    2 2 9
    3 0 3

    All requests used unique uncached prompts. This behavior is consistent with scheduler cost discovery and adaptation rather than prompt-cache reuse.

    The counters establish a temporal correlation, not definitive causality. In particular, the sampling windows extend slightly beyond the observed gaps.

    Follow-up: persistent graph costs (draft PR #301)

    I implemented persistence of learned graph execution costs across serving restarts to address the discovery-related interruptions described above.

    Runtime Initial maximum SSE gap (empty → restored) Reduction
    v0.1.0 4,355 → 559 ms 87.2%
    Main 4,530 → 1,372 ms 69.7%
    Main with #285 checkpoint changes reverted 4,528 → 465 ms 89.7%

    The native implementation successfully persisted and restored 28 graph duration estimates.

    The streaming stability improvements observed on v0.1.0 were not fully reproduced on main. Experimentally reverting the checkpoint scheduling changes introduced by #285 restored comparable startup behavior, although interruptions returned during subsequent repetitions.

    The proposed implementation preserves #285. Further investigation is needed to understand the interaction between checkpoint scheduling and graph cost persistence.

    The implementation, detailed benchmark results and validation limitations are available in draft PR #301.

    4. Final production configuration

    For my predominantly warm-cache Claude Code workload, A2 provides the best observed balance.

    --mtp-draft-tokens 7
    --mtp-adaptive-verification
    --mtp-adaptive-verification-alpha 0.5
    --scheduler-policy balanced
    --no-history-drafts
    

    DFlash2 MXFP8, forced MoE decode A16, mixed prefill disabled, speculative capacity 64, memory reserve 8G.

    The alpha change has been deployed without another model preparation.

    I would be interested in feedback on the graph cost persistence approach proposed in #301 and the observed interaction with checkpoint scheduling in #285.

    Raw FlareBench JSON reports and asynchronous test results are available upon request.

    Thanks again for the excellent work on HyperFlare.

  7. yatesdr commented on Nov 18, 2026

    @yatesdr
    Collaborator

    Closing: this is a benchmark report and asks for no change in this repository. The two changes it points to are still under review in their own threads: persisting learned graph costs (#301) and a load-time mixed-prefill switch (#290). Questions about those belong there. Thank you for the nine-run comparison and for stating its limits plainly. Reopen with a reproducer for the roughly 4.3 s streaming pause on current main, including the measurement that ties it to scheduler cost discovery.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:kernelsarea:schedulingmodel:qwen3.8-flash-nextperformancetriage:design-review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions