Skip to content

llama-batch: enable parallel sequences for partial rollback#25278

Merged
am17an merged 1 commit into
ggml-org:masterfrom
am17an:split_seq_rs
Jul 8, 2026
Merged

llama-batch: enable parallel sequences for partial rollback#25278
am17an merged 1 commit into
ggml-org:masterfrom
am17an:split_seq_rs

Conversation

@am17an

@am17an am17an commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Overview

Enable parallel decoding for recurrent models using partial rollback. This is done ensuring that the last n_keep_tail tokens always belong to the same ubatch in split_equal.

Additional information

Requirements

@am17an
am17an requested review from CISC and ggerganov as code owners July 3, 2026 17:50
@github-actions github-actions Bot added the model Model specific label Jul 3, 2026

@ggerganov ggerganov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add unit tests for llama_batch_allocr to exercise various splits in a follow-up PR.

@am17an
am17an merged commit 230ea9d into ggml-org:master Jul 8, 2026
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

model Model specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants