mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
minimum duration to 0.1 ms
This commit is contained in:
parent
a3bdaca014
commit
3795c19dcb
@ -530,8 +530,8 @@ pub async fn run(
|
|||||||
let duration_matcher = Matcher::Suffix(String::from("duration"));
|
let duration_matcher = Matcher::Suffix(String::from("duration"));
|
||||||
let n_duration_buckets = 35;
|
let n_duration_buckets = 35;
|
||||||
let mut duration_buckets = Vec::with_capacity(n_duration_buckets);
|
let mut duration_buckets = Vec::with_capacity(n_duration_buckets);
|
||||||
// Minimum latency in ms
|
// Minimum duration in seconds
|
||||||
let mut value = 0.1;
|
let mut value = 0.0001;
|
||||||
for _ in 0..n_duration_buckets {
|
for _ in 0..n_duration_buckets {
|
||||||
// geometric sequence
|
// geometric sequence
|
||||||
value *= 1.5;
|
value *= 1.5;
|
||||||
|
Loading…
Reference in New Issue
Block a user