pub struct ParallelismOuter {
pub tensor_parallel_size: Option<u32>,
pub pipeline_parallel_size: Option<u32>,
}Expand description
Outer deployment parallelism: tensor and pipeline degrees.
Fields§
§tensor_parallel_size: Option<u32>§pipeline_parallel_size: Option<u32>Trait Implementations§
Source§impl Clone for ParallelismOuter
impl Clone for ParallelismOuter
Source§fn clone(&self) -> ParallelismOuter
fn clone(&self) -> ParallelismOuter
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 ParallelismOuter
impl Debug for ParallelismOuter
Source§impl Default for ParallelismOuter
impl Default for ParallelismOuter
Source§fn default() -> ParallelismOuter
fn default() -> ParallelismOuter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParallelismOuterwhere
ParallelismOuter: Default,
impl<'de> Deserialize<'de> for ParallelismOuterwhere
ParallelismOuter: 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
impl Eq for ParallelismOuter
Source§impl JsonSchema for ParallelismOuter
impl JsonSchema for ParallelismOuter
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ParallelismOuter
impl PartialEq for ParallelismOuter
Source§fn eq(&self, other: &ParallelismOuter) -> bool
fn eq(&self, other: &ParallelismOuter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ParallelismOuter
impl Serialize for ParallelismOuter
impl StructuralPartialEq for ParallelismOuter
Auto Trait Implementations§
impl Freeze for ParallelismOuter
impl RefUnwindSafe for ParallelismOuter
impl Send for ParallelismOuter
impl Sync for ParallelismOuter
impl Unpin for ParallelismOuter
impl UnsafeUnpin for ParallelismOuter
impl UnwindSafe for ParallelismOuter
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