mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 21:05:40 +07:00
[PR #1426] [CLOSED] dflash: experimental standalone DeepSpec DFlash block drafter for Qwen3.8-Flash-Next #3446
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1426
Author: @j-luwierski
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:feat/dflash📝 Commits (10+)
d6760a1dflash: the standalone DFlash artifact contract (GGUF metadata, geometry, CLI)f1bb646dflash: the target feature taps [3,15,23,35,43] (HC-contracted residuals)a5f3800dflash: the standalone block forward, wired into the plain decode loop (greedy)dde0544dflash: a numpy reference forward for the fixture-parity harnesscb6a830dflash: the forward's debug probes behind STRATA_DF_DBG, noise prints removeda989b5bfix(dflash): use the drafter's full-head 256-dim NeoX RoPE9f86b99fix(dflash): initialize the batched attention's identity rows for every query23f0e8ffix(dflash): the host-only dflash_load_test needs the CUDA include path (dflash.hpp -> session.hpp)d5ba449fix(dflash): one definition of dflash_identity_fill (the anonymous-namespace copy made the call ambiguous)9899c66refactor(dflash): split the loader and the device runtime into separate TUs📊 Changes
116 files changed (+35081 additions, -162 deletions)
View changed files
📝
CMakeLists.txt(+36 -0)➕
bench/results/2026-10-17-dflash-review/FOLLOWUP.md(+3 -0)➕
bench/results/2026-10-17-dflash-review/REPORT.md(+243 -0)➕
bench/results/2026-10-17-dflash-review/auto-cache/math-0-dflash-engine.log(+64 -0)➕
bench/results/2026-10-17-dflash-review/auto-cache/math-0-mtp-engine.log(+57 -0)➕
bench/results/2026-10-17-dflash-review/auto-cache/math-0-target-engine.log(+49 -0)➕
bench/results/2026-10-17-dflash-review/auto-cache/math-results.json(+3227 -0)➕
bench/results/2026-10-17-dflash-review/auto-fixture-config.json(+49 -0)➕
bench/results/2026-10-17-dflash-review/before-fallback-probe.json(+50 -0)➕
bench/results/2026-10-17-dflash-review/before-fallback-sampling.json(+1642 -0)➕
bench/results/2026-10-17-dflash-review/cache-engine.log(+75 -0)➕
bench/results/2026-10-17-dflash-review/cache-results.json(+642 -0)➕
bench/results/2026-10-17-dflash-review/cache-test.log(+9 -0)➕
bench/results/2026-10-17-dflash-review/confidence-sweep.json(+7466 -0)➕
bench/results/2026-10-17-dflash-review/conversation-tests.log(+22 -0)➕
bench/results/2026-10-17-dflash-review/cuda-build.log(+12 -0)➕
bench/results/2026-10-17-dflash-review/cuda-tests.log(+14 -0)➕
bench/results/2026-10-17-dflash-review/dflash-confidence-engine.log(+99 -0)➕
bench/results/2026-10-17-dflash-review/environment.json(+13 -0)➕
bench/results/2026-10-17-dflash-review/fixture-config.json(+47 -0)...and 80 more files
📄 Description
Add experimental DFlash decoding, setup integration and hardware calibration
Summary
Adds an experimental standalone DFlash drafter for Qwen3.8-Flash-Next, integrated with Strata's existing target verifier, server and installer.
Setup now offers MTP, DFlash or Off. Selecting DFlash skips MTP download, preparation and loading. Off disables both model drafters while keeping suffix/prompt lookup enabled.
Changes
Example installation:
Validation
Performance
DFlash does not yet outperform MTP in the latest comparison.
Measured on an RTX 4070 Ti SUPER 16 GB, Ryzen 5900X and 128 GB RAM, using the same IQ3_XXS target, eight serial greedy requests and up to 512 generated tokens per request:
Throughput excludes startup and prefill. These measurements cover short contexts on one machine and do not establish performance across other hardware or workloads. Experimental variants without a confirmed speed benefit were reverted.
Current limitations
--dflash-windowis a capacity limit, not a rolling attention window.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.