Struct chat_flame_backend::api::model::Info
source · pub struct Info {Show 17 fields
pub docker_label: Option<String>,
pub max_batch_total_tokens: i32,
pub max_best_of: i32,
pub max_concurrent_requests: i32,
pub max_input_length: i32,
pub max_stop_sequences: i32,
pub max_total_tokens: i32,
pub max_waiting_tokens: i32,
pub model_device_type: String,
pub model_dtype: String,
pub model_id: String,
pub model_pipeline_tag: Option<String>,
pub model_sha: Option<String>,
pub sha: Option<String>,
pub validation_workers: i32,
pub version: String,
pub waiting_served_ratio: f32,
}
Fields§
§docker_label: Option<String>
§max_batch_total_tokens: i32
§max_best_of: i32
§max_concurrent_requests: i32
§max_input_length: i32
§max_stop_sequences: i32
§max_total_tokens: i32
§max_waiting_tokens: i32
§model_device_type: String
§model_dtype: String
§model_id: String
§model_pipeline_tag: Option<String>
§model_sha: Option<String>
§sha: Option<String>
§validation_workers: i32
§version: String
§waiting_served_ratio: f32
Trait Implementations§
source§impl<'de> Deserialize<'de> for Info
impl<'de> Deserialize<'de> for Info
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more