pub struct ReplayRoleConfig {
pub dp_size: u32,
pub tensor_parallel_size: u32,
pub rank: EngineConfig,
}Expand description
Rank-group descriptor for one disaggregated role.
Fields§
§dp_size: u32§tensor_parallel_size: u32§rank: EngineConfigTrait Implementations§
Source§impl Clone for ReplayRoleConfig
impl Clone for ReplayRoleConfig
Source§fn clone(&self) -> ReplayRoleConfig
fn clone(&self) -> ReplayRoleConfig
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 ReplayRoleConfig
impl Debug for ReplayRoleConfig
Source§impl Default for ReplayRoleConfig
impl Default for ReplayRoleConfig
Source§impl<'de> Deserialize<'de> for ReplayRoleConfigwhere
ReplayRoleConfig: Default,
impl<'de> Deserialize<'de> for ReplayRoleConfigwhere
ReplayRoleConfig: 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 ReplayRoleConfig
impl PartialEq for ReplayRoleConfig
Source§impl Serialize for ReplayRoleConfig
impl Serialize for ReplayRoleConfig
impl StructuralPartialEq for ReplayRoleConfig
Auto Trait Implementations§
impl Freeze for ReplayRoleConfig
impl RefUnwindSafe for ReplayRoleConfig
impl Send for ReplayRoleConfig
impl Sync for ReplayRoleConfig
impl Unpin for ReplayRoleConfig
impl UnsafeUnpin for ReplayRoleConfig
impl UnwindSafe for ReplayRoleConfig
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