pub struct ReplayEngineConfig {
pub dp_size: u32,
pub tensor_parallel_size: u32,
pub num_gpu_blocks_is_explicit: Option<bool>,
pub rank: EngineConfig,
pub prefill: Option<ReplayRoleConfig>,
pub decode: Option<ReplayRoleConfig>,
}Expand description
Serializable execution-time descriptor for the AISimulate engine.
Fields§
§dp_size: u32§tensor_parallel_size: u32§num_gpu_blocks_is_explicit: Option<bool>Whether rank.num_gpu_blocks came from the user rather than an
upstream capacity estimator.
rank: EngineConfig§prefill: Option<ReplayRoleConfig>§decode: Option<ReplayRoleConfig>Trait Implementations§
Source§impl Clone for ReplayEngineConfig
impl Clone for ReplayEngineConfig
Source§fn clone(&self) -> ReplayEngineConfig
fn clone(&self) -> ReplayEngineConfig
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 ReplayEngineConfig
impl Debug for ReplayEngineConfig
Source§impl Default for ReplayEngineConfig
impl Default for ReplayEngineConfig
Source§impl<'de> Deserialize<'de> for ReplayEngineConfigwhere
ReplayEngineConfig: Default,
impl<'de> Deserialize<'de> for ReplayEngineConfigwhere
ReplayEngineConfig: Default,
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 PartialEq for ReplayEngineConfig
impl PartialEq for ReplayEngineConfig
Source§impl Serialize for ReplayEngineConfig
impl Serialize for ReplayEngineConfig
impl StructuralPartialEq for ReplayEngineConfig
Auto Trait Implementations§
impl Freeze for ReplayEngineConfig
impl RefUnwindSafe for ReplayEngineConfig
impl Send for ReplayEngineConfig
impl Sync for ReplayEngineConfig
impl Unpin for ReplayEngineConfig
impl UnsafeUnpin for ReplayEngineConfig
impl UnwindSafe for ReplayEngineConfig
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