mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 19:34:53 +00:00
Remove -1 from batch id and add a note
This commit is contained in:
parent
22119ca19f
commit
e603406327
@ -4,8 +4,9 @@ use text_generation_client::{
|
||||
Batch, NextTokenChooserParameters, Request, ShardedClient, StoppingCriteriaParameters,
|
||||
};
|
||||
|
||||
// Note: Request ids and batch ids cannot collide.
|
||||
const LIVENESS_ID: u64 = u64::MAX;
|
||||
const BATCH_ID: u64 = u64::MAX - 1;
|
||||
const BATCH_ID: u64 = u64::MAX;
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub(crate) struct Health {
|
||||
|
Loading…
Reference in New Issue
Block a user