Repository navigation
Description
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
throughputscheduler preset did not improve measured aggregate throughput at four or eight requests overbalancedin 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
shadownetX commentedon Nov 13, 2026
Benchmark protocol and prepared exports
Environment
nvidia/Qwen3.8-Flash-Next-FP4-Local.0572fd12e83ac705de02ce98f457c68d0cc1b83e(v0.1.0).9G.disk_limit = "512G", host checkpoint memorymemory = "0".Three prepared exports
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
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).max_tokens=2048,temperature=1.0,top_p=0.95,top_k=20,seed=42.30add05c4354187d5fd116a8205f758bb073de5f2e383faa778c7292868e0706.Metrics and limitations
MemAvailableis unified host memory, not dedicated VRAM.shadownetX commentedon Nov 13, 2026
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):
Per-request TTFT (ms):
Aggregate cohort throughput (tokens/s, including TTFT):
COLD — context-balanced summaries
Per-request decode (tokens/s):
Per-request TTFT (ms):
Aggregate cohort throughput (tokens/s, including TTFT):
WARM — per-context measurements
Per-request decode (tokens/s):
Per-request TTFT (ms):
Aggregate cohort throughput (tokens/s):
COLD — per-context measurements
Per-request decode (tokens/s):
Per-request TTFT (ms):
Aggregate cohort throughput (tokens/s):
Cache and run completion
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.
shadownetX commentedon Nov 13, 2026
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:
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.
3. Balanced versus throughput
Comparing C3 to C4 changes only the scheduler preset, keeping cap 4 and alpha 0.5. At four concurrent requests:
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
throughputas 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
flare_speculative_rounds_total,flare_speculative_gpu_nanoseconds_total, and related offered/accepted/emitted token counters) rather than relying on logical request rounds alone.Thanks again for the work on HyperFlare. Happy to provide additional measurements if useful.
shadownetX commentedon Nov 14, 2026
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).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
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:
WARM per-request decode (tokens/s):
WARM per-request TTFT (ms):
WARM aggregate cohort throughput (tokens/s):
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:
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):
Mean per-request decode (tokens/s):
Mean SSE inter-chunk gap P95 (ms):
These are means of the individual run P95 values, not pooled percentiles or true per-token ITL.
Total scenario completion time (seconds):
Physical mixed graph launches:
The graph counters confirm that mixed execution was actually exercised in every ON repetition.
5. Observations
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:
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.
shadownetX commentedon Nov 14, 2026
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.
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):
WARM TTFT (ms):
WARM aggregate throughput (tokens/s):
COLD per-request decode (tokens/s):
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.
* 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.
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:
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.
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.
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.
yatesdr commentedon Nov 18, 2026
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.