mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 03:44:54 +00:00
make batch optional again
This commit is contained in:
parent
118f33d9dc
commit
94ff101fd3
@ -132,7 +132,7 @@ message PrefillResponse {
|
|||||||
/// Generation
|
/// Generation
|
||||||
repeated Generation generations = 1;
|
repeated Generation generations = 1;
|
||||||
/// Next batch (cached)
|
/// Next batch (cached)
|
||||||
Batch batch = 2;
|
optional Batch batch = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DecodeRequest {
|
message DecodeRequest {
|
||||||
@ -144,5 +144,5 @@ message DecodeResponse {
|
|||||||
/// Decodes
|
/// Decodes
|
||||||
repeated Generation generations = 1;
|
repeated Generation generations = 1;
|
||||||
/// Next batch (cached)
|
/// Next batch (cached)
|
||||||
Batch batch = 2;
|
optional Batch batch = 2;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user