mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
Update router/src/validation.rs
Co-authored-by: LoganDark <github@logandark.mozmail.com>
This commit is contained in:
parent
017f3de464
commit
cc0ec3c38a
@ -275,7 +275,7 @@ impl Validation {
|
|||||||
let stopping_parameters = StoppingCriteriaParameters {
|
let stopping_parameters = StoppingCriteriaParameters {
|
||||||
max_new_tokens,
|
max_new_tokens,
|
||||||
stop_sequences,
|
stop_sequences,
|
||||||
ignore_eos_token: ignore_eos_token,
|
ignore_eos_token,
|
||||||
};
|
};
|
||||||
|
|
||||||
metrics::histogram!("tgi_request_max_new_tokens", max_new_tokens as f64);
|
metrics::histogram!("tgi_request_max_new_tokens", max_new_tokens as f64);
|
||||||
|
Loading…
Reference in New Issue
Block a user