Skip to content

WIP: plan chunked prefill scheduling - #178

Draft
drunkcoding wants to merge 1 commit into
mainfrom
plan/chunked-prefill-scheduling
Draft

WIP: plan chunked prefill scheduling#178
drunkcoding wants to merge 1 commit into
mainfrom
plan/chunked-prefill-scheduling

Conversation

@drunkcoding

Copy link
Copy Markdown
Contributor

Description

Plan-only design for bounded chunked prefill with decode-first scheduling and transactional rollback.

Motivation

Whole-prompt prefill admission can stall active decode rows and inflate tail latency.

Scope

  • Query/KV metadata separation
  • Transactional chunk execution and sampling
  • Layered paged-KV ownership and swap parity
  • Real Qwen3 + FlashInfer validation

Dependencies / limitations

Uses canonical optional PrefixLeaseProvider and LayeredPagedKVStore contracts. Reconcile with prefix-reuse implementation before co-enablement. No P/D disaggregation.

Type of Change

  • Documentation update
  • Production implementation

Performance / support evidence

  • Not applicable — plan defines TTFT/TPOT gates; no runtime change.

Checklist

  • Default-disabled compatibility covered
  • Rollback and cancellation specified
  • No production files changed

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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