pub struct WorkloadProfile {
pub preset: Option<String>,
pub serving_mode: String,
pub target_concurrency: usize,
pub prompt_length_class: String,
pub output_length_class: String,
pub priority: WorkloadPriority,
}Fields§
§preset: Option<String>§serving_mode: String§target_concurrency: usize§prompt_length_class: String§output_length_class: String§priority: WorkloadPriorityImplementations§
Source§impl WorkloadProfile
impl WorkloadProfile
pub fn serving_default() -> Self
pub fn serving_default_for_hardware(hardware: &HardwareCapabilities) -> Self
pub fn m3_qwen3_30b_a3b_int4() -> Self
pub fn qwen25_72b_gptq_int4_2x4090_layer_split() -> Self
Trait Implementations§
Source§impl Clone for WorkloadProfile
impl Clone for WorkloadProfile
Source§fn clone(&self) -> WorkloadProfile
fn clone(&self) -> WorkloadProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkloadProfile
impl Debug for WorkloadProfile
Source§impl Default for WorkloadProfile
impl Default for WorkloadProfile
Source§impl<'de> Deserialize<'de> for WorkloadProfile
impl<'de> Deserialize<'de> for WorkloadProfile
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
impl Eq for WorkloadProfile
Source§impl PartialEq for WorkloadProfile
impl PartialEq for WorkloadProfile
Source§fn eq(&self, other: &WorkloadProfile) -> bool
fn eq(&self, other: &WorkloadProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WorkloadProfile
impl Serialize for WorkloadProfile
impl StructuralPartialEq for WorkloadProfile
Auto Trait Implementations§
impl Freeze for WorkloadProfile
impl RefUnwindSafe for WorkloadProfile
impl Send for WorkloadProfile
impl Sync for WorkloadProfile
impl Unpin for WorkloadProfile
impl UnsafeUnpin for WorkloadProfile
impl UnwindSafe for WorkloadProfile
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