pub enum PlanSource {
Undeclared,
CompressedTensors,
ModelOpt,
Fp8,
}Expand description
2026-09-28: Which quantization_config dialect the plan came from.
Variants§
Undeclared
2026-09-28: No precision declared (no block, or a block with no scheme).
CompressedTensors
2026-09-28: compressed-tensors config_groups.
ModelOpt
2026-09-28: ModelOpt (quantized_layers, config_groups or a global quant_algo).
Fp8
2026-09-28: The HF fp8 method (weight_block_size, activation_scheme).
Trait Implementations§
Source§impl Clone for PlanSource
impl Clone for PlanSource
Source§fn clone(&self) -> PlanSource
fn clone(&self) -> PlanSource
Returns a duplicate of the value. Read more
1.0.0 · 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 PlanSource
impl Debug for PlanSource
Source§impl Default for PlanSource
impl Default for PlanSource
Source§fn default() -> PlanSource
fn default() -> PlanSource
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlanSource
impl PartialEq for PlanSource
impl Copy for PlanSource
impl Eq for PlanSource
impl StructuralPartialEq for PlanSource
Auto Trait Implementations§
impl Freeze for PlanSource
impl RefUnwindSafe for PlanSource
impl Send for PlanSource
impl Sync for PlanSource
impl Unpin for PlanSource
impl UnwindSafe for PlanSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.