Skip to content

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

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

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/video-timestamps branch from e0bf6ee to 50e5a74 Compare October 29, 2026 04:44
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 2e8d451 to 5e8f472 Compare October 29, 2026 04:44
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 5e8f472 to 26a7c63 Compare October 29, 2026 05:50
@AzeezIsh
AzeezIsh force-pushed the stack/video-timestamps branch 5 times, most recently from ea4e068 to 53e9c2d Compare October 29, 2026 07:30
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 26a7c63 to 931c97d Compare October 29, 2026 07:42
@AzeezIsh
AzeezIsh changed the base branch from stack/video-timestamps to stack/qsa-aux-kv-budget October 29, 2026 07:42
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from 17b1638 to adf9659 Compare October 29, 2026 07:48
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from 931c97d to ff498ef Compare October 29, 2026 07:48
@AzeezIsh
AzeezIsh force-pushed the stack/qsa-aux-kv-budget branch from adf9659 to 18fdfde Compare October 29, 2026 08:25
@AzeezIsh AzeezIsh closed this Oct 29, 2026
@AzeezIsh
AzeezIsh force-pushed the stack/dflash-warm-ctx branch from ff498ef to 18fdfde Compare October 29, 2026 08:25
@AzeezIsh

AzeezIsh commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor Author

GitHub closed this PR automatically during a restack: its base branch was briefly pushed to a commit containing its head, an accident reverted within minutes, and nothing reached main. Continued in #244, 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