pub enum ParallelMode {
Pipeline,
Tensor,
}Expand description
Which parallelism strategy the run uses. Pipeline splits the model by layer; tensor splits within each layer. (Only pipeline is wired into the coordinator today; tensor parallel is future work.)
Variants§
Trait Implementations§
Source§impl Clone for ParallelMode
impl Clone for ParallelMode
Source§fn clone(&self) -> ParallelMode
fn clone(&self) -> ParallelMode
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 moreimpl Copy for ParallelMode
Source§impl Debug for ParallelMode
impl Debug for ParallelMode
impl Eq for ParallelMode
Source§impl PartialEq for ParallelMode
impl PartialEq for ParallelMode
Source§fn eq(&self, other: &ParallelMode) -> bool
fn eq(&self, other: &ParallelMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParallelMode
Auto Trait Implementations§
impl Freeze for ParallelMode
impl RefUnwindSafe for ParallelMode
impl Send for ParallelMode
impl Sync for ParallelMode
impl Unpin for ParallelMode
impl UnsafeUnpin for ParallelMode
impl UnwindSafe for ParallelMode
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