Skip to content

Remove a token buffer copy from each native prefill chunk - #6199

Merged
joelteply merged 1 commit into
codex/frame-prefill-estimatefrom
codex/borrow-prefill-chunk
Nov 20, 2026
Merged

joelteply merged 1 commit into
codex/frame-prefill-estimatefrom
codex/borrow-prefill-chunk

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Borrow the current turn's prompt slice for history and allocate only the owned tokens needed by the native step. Both the final chunk and intermediate chunks follow the same ownership rule.

Deployed to the M5 before check-in. Eleven scheduler tests passed. The installed and built core share SHA-256 23ef2837746f8e91aac0069af8e78c797b4558d119e9781ba105bcc42976343b.

Base automatically changed from codex/native-checkpoint-outcomes to codex/frame-prefill-estimate November 20, 2026 17:56
@joelteply
joelteply merged commit e1f8285 into codex/frame-prefill-estimate Nov 20, 2026
31 checks passed
@joelteply
joelteply deleted the codex/borrow-prefill-chunk branch November 20, 2026 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant