mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-09 19:34:53 +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 n_duration_buckets = 35;
|
||||
let mut duration_buckets = Vec::with_capacity(n_duration_buckets);
|
||||
// Minimum latency in ms
|
||||
let mut value = 0.1;
|
||||
// Minimum duration in seconds
|
||||
let mut value = 0.0001;
|
||||
for _ in 0..n_duration_buckets {
|
||||
// geometric sequence
|
||||
value *= 1.5;
|
||||
|
Loading…
Reference in New Issue
Block a user