pub struct TrtllmArgs {
pub capacity_scheduler_policy: Option<String>,
}Expand description
TensorRT-LLM-specific configuration parameters.
Grouped into a nested struct to keep the MockEngineArgs namespace clean,
following the same pattern as SglangArgs.
Fields§
§capacity_scheduler_policy: Option<String>Capacity scheduler policy, supported only "guaranteed_no_evict"
(TensorRT-LLM’s default). Default: "guaranteed_no_evict".
Trait Implementations§
Source§impl Clone for TrtllmArgs
impl Clone for TrtllmArgs
Source§fn clone(&self) -> TrtllmArgs
fn clone(&self) -> TrtllmArgs
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 TrtllmArgs
impl Debug for TrtllmArgs
Source§impl Default for TrtllmArgs
impl Default for TrtllmArgs
Source§fn default() -> TrtllmArgs
fn default() -> TrtllmArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrtllmArgs
impl<'de> Deserialize<'de> for TrtllmArgs
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
Source§impl Serialize for TrtllmArgs
impl Serialize for TrtllmArgs
Source§impl Validate for TrtllmArgs
impl Validate for TrtllmArgs
Source§impl<'v_a> ValidateArgs<'v_a> for TrtllmArgs
impl<'v_a> ValidateArgs<'v_a> for TrtllmArgs
Auto Trait Implementations§
impl Freeze for TrtllmArgs
impl RefUnwindSafe for TrtllmArgs
impl Send for TrtllmArgs
impl Sync for TrtllmArgs
impl Unpin for TrtllmArgs
impl UnsafeUnpin for TrtllmArgs
impl UnwindSafe for TrtllmArgs
Blanket Implementations§
impl<T> BlockMetadata for T
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