Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generative ->Iterative (#107) #108

Merged
merged 1 commit into from
Nov 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions protobuf/model_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1534,13 +1534,15 @@ message ModelSequenceBatching
//@@
repeated State state = 5;

//@@ .. cpp:var:: bool generative_sequence
//@@
//@@ The sequence batcher is expecting the sequence to be generative. A
//@@ generative sequence is initiated by single request, the sequence
//@@ batcher expects the same request to be "rescheduled" by the model if
//@@ the sequence is continuing.
bool generative_sequence = 6;
//@@ .. cpp:var:: bool iterative_sequence
//@@
//@@ Requests for iterative sequences are processed over a number
//@@ of iterations. An iterative sequence is initiated by a single
//@@ request and is "rescheduled" by the model until completion.
//@@ Requests for inflight requests will be batched together
//@@ and can complete independently. Note this feature
//@@ requires backend support. Default value is false.
bool iterative_sequence = 6;
}

//@@
Expand Down