#[non_exhaustive]pub enum ExecutionResidency {
FullyResident,
LayerwiseHost,
DenseDiskStream,
}Expand description
Static-parameter placement used by the generalized execution engine.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FullyResident
Every module is constructed once and all rank-local parameters remain on device.
LayerwiseHost
Parameters remain on host behind bounded device windows.
DenseDiskStream
Parameters are materialized through bounded disk, host, and device caches.
Trait Implementations§
Source§impl Clone for ExecutionResidency
impl Clone for ExecutionResidency
Source§fn clone(&self) -> ExecutionResidency
fn clone(&self) -> ExecutionResidency
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 ExecutionResidency
Source§impl Debug for ExecutionResidency
impl Debug for ExecutionResidency
impl Eq for ExecutionResidency
Source§impl PartialEq for ExecutionResidency
impl PartialEq for ExecutionResidency
impl StructuralPartialEq for ExecutionResidency
Auto Trait Implementations§
impl Freeze for ExecutionResidency
impl RefUnwindSafe for ExecutionResidency
impl Send for ExecutionResidency
impl Sync for ExecutionResidency
impl Unpin for ExecutionResidency
impl UnsafeUnpin for ExecutionResidency
impl UnwindSafe for ExecutionResidency
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