mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-05-09 19:32:06 +00:00
Fix router input validation for SKIP_TOKENIZER_IN_TGI=true (#267)
Signed-off-by: yuanwu <yuan.wu@intel.com>
This commit is contained in:
parent
6d6acca5eb
commit
7d106477d6
@ -330,7 +330,7 @@ impl Validation {
|
||||
}
|
||||
Ok(Some(value))
|
||||
})
|
||||
.unwrap_or(Ok(None))?;
|
||||
.unwrap_or(Ok(Some(self.max_input_length)))?;
|
||||
|
||||
// Validate inputs
|
||||
let (inputs, input_ids, input_length, max_new_tokens) = self
|
||||
|
Loading…
Reference in New Issue
Block a user