Skip to content

refactor: move algorithm logic into speculative worker implementations. - #2808

Draft
wai-bao wants to merge 1 commit into
xLLM-AI:mainfrom
wai-bao:refactor/draft-model-spec-impl
Draft

wai-bao wants to merge 1 commit into
xLLM-AI:mainfrom
wai-bao:refactor/draft-model-spec-impl

Conversation

@wai-bao

@wai-bao wai-bao commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Move MTP bootstrap handling and verify-mode state out of the shared draft-model worker.
  • Let DFlash and Eagle3 configure their own target auxiliary hidden-state capture.
  • Keep MTP draft argument adaptation within the MTP worker and simplify draft KV layout layer selection.

Tests

  • Compiled all eight speculative worker translation units.

@wai-bao
wai-bao force-pushed the refactor/draft-model-spec-impl branch 15 times, most recently from b31c7ea to bcdcf21 Compare November 22, 2026 01:26
@wai-bao
wai-bao force-pushed the refactor/draft-model-spec-impl branch from bcdcf21 to 47c9947 Compare November 22, 2026 05:28

This branch has not been deployed

No deployments
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