mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-07-30 20:00:16 +00:00
fix: include logit_bias in all ValidGenerateRequest's
This commit is contained in:
parent
e44703d542
commit
61a50a81c0
@ -12,6 +12,7 @@ use text_generation_router::validation::{
|
||||
use tokio::sync::{mpsc, oneshot};
|
||||
use tokio::time::Instant;
|
||||
use tracing::{info_span, instrument, Span};
|
||||
use std::collections::HashMap;
|
||||
|
||||
/// Queue entry
|
||||
#[derive(Debug)]
|
||||
@ -429,6 +430,7 @@ mod tests {
|
||||
frequency_penalty: 0.0,
|
||||
watermark: false,
|
||||
grammar: None,
|
||||
logit_bias: HashMap::new(),
|
||||
},
|
||||
stopping_parameters: ValidStoppingParameters {
|
||||
ignore_eos_token: false,
|
||||
|
@ -16,6 +16,7 @@ use text_generation_router::validation::{
|
||||
use tokio::sync::{mpsc, oneshot};
|
||||
use tokio::time::Instant;
|
||||
use tracing::{info_span, instrument, Instrument, Span};
|
||||
use std::collections::HashMap;
|
||||
|
||||
/// Queue entry
|
||||
#[derive(Debug)]
|
||||
@ -577,6 +578,7 @@ mod tests {
|
||||
frequency_penalty: 0.0,
|
||||
watermark: false,
|
||||
grammar: None,
|
||||
logit_bias: HashMap::new(),
|
||||
},
|
||||
stopping_parameters: ValidStoppingParameters {
|
||||
ignore_eos_token: false,
|
||||
|
Loading…
Reference in New Issue
Block a user