Skip to content

dflash: warm-context drafting for the DFlash2 draft head (ATLAS_DFLASH_WARM_CTX, default legacy; ported from Enntity) - #244

Closed
AzeezIsh wants to merge 0 commit into
stack/qsa-aux-kv-budgetfrom
stack/dflash-warm-ctx
Closed

AzeezIsh wants to merge 0 commit into
stack/qsa-aux-kv-budgetfrom
stack/dflash-warm-ctx

Conversation

@AzeezIsh

Copy link
Copy Markdown
Contributor

Replaces #234. GitHub closed #234 automatically when a restack force-pushed its base branch, and once the head was force-pushed afterwards it couldn't be reopened. The branch is the same (stack/dflash-warm-ctx); #234 has the history and receipts.

Stack: … ← #232 ← #233 ← this.

Summary

  • Ports Enntity's DFlash warm-context series (AGPL-3.0, 5573f4d5, 43a5b9a6, cfa56639, d3953211) with credit. ATLAS_DFLASH_WARM_CTX=legacy|exact|seed|restore controls how the DFlash2 draft head's context window is captured and restored across prompt-cache turns (WarmCtxStore LRU slab, capture plan, seed/restore).
  • Default legacy = the old capture math, byte for byte. GLM DFlash2 only; the Qwen MTP path is untouched.

Test plan (vs parent #233)

Tracking: #220.

Generated with Devin

@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from f3af33b to 9d8de79 Compare October 29, 2026 09:44
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 18ff158 to aa66724 Compare October 29, 2026 09:44
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from 9d8de79 to c2ddfe9 Compare October 29, 2026 09:50
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from aa66724 to 5f0b6dd Compare October 29, 2026 09:50
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from c2ddfe9 to 15f6d5b Compare October 29, 2026 09:56
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 5f0b6dd to 1c1d003 Compare October 29, 2026 09:56
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from 15f6d5b to fbf7a25 Compare October 29, 2026 10:02
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 1c1d003 to 5c2eeb7 Compare October 29, 2026 10:02
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from fbf7a25 to ff5782b Compare October 29, 2026 10:09
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 5c2eeb7 to 6ea2fc1 Compare October 29, 2026 10:09
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from ff5782b to 07414cd Compare October 29, 2026 10:17
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 6ea2fc1 to 5192668 Compare October 29, 2026 10:17
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from 07414cd to b2d4cd2 Compare October 29, 2026 10:57
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 5192668 to 858d1ea Compare October 29, 2026 10:57
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from b2d4cd2 to f6498f6 Compare October 29, 2026 11:10
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 858d1ea to 20d79d8 Compare October 29, 2026 11:10
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from f6498f6 to 89fbcc2 Compare October 29, 2026 11:25
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 20d79d8 to a764354 Compare October 29, 2026 11:25
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from 89fbcc2 to 7cadd40 Compare October 29, 2026 12:00
@AzeezIsh AzeezIsh closed this Oct 29, 2026
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from a764354 to 7cadd40 Compare October 29, 2026 12:00
@AzeezIsh

Copy link
Copy Markdown
Contributor Author

GitHub closed this PR automatically during a restack. Continued in 255 on the same branch.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant