pub struct QuantizedLinear4BitPlannerEvidence {Show 19 fields
pub in_dim: u32,
pub out_dim: u32,
pub group_size: u32,
pub group_count: u32,
pub packed_weight_bytes: u64,
pub dequantized_weight_bytes: u64,
pub sidecar_bytes: u64,
pub bias_bytes: u64,
pub output_bytes: u64,
pub dequant_bytes_elided: u64,
pub matmul_m: u32,
pub matmul_k: u32,
pub matmul_n: u32,
pub matmul_tile: u32,
pub matmul_selected_path: &'static str,
pub matmul_candidate_path: Option<&'static str>,
pub matmul_fallback_reason: Option<&'static str>,
pub tensor_core_eligible: bool,
pub output_drift_abs_tolerance: f32,
}Expand description
Planner evidence for fused grouped INT4 linear versus dequantized matmul.
Fields§
§in_dim: u32Input feature dimension.
out_dim: u32Output feature dimension.
group_size: u32Quantization group size.
group_count: u32Number of quantization groups.
packed_weight_bytes: u64Packed INT4 weight bytes.
dequantized_weight_bytes: u64Bytes that a materialized f32 dequantized weight matrix would require.
sidecar_bytes: u64Scale plus zero-point sidecar bytes.
bias_bytes: u64Bias bytes.
output_bytes: u64Output bytes.
dequant_bytes_elided: u64Dequantized weight bytes avoided by the fused path.
matmul_m: u32Equivalent matmul planner M dimension.
matmul_k: u32Equivalent matmul planner K dimension.
matmul_n: u32Equivalent matmul planner N dimension.
matmul_tile: u32Equivalent matmul planner K tile.
matmul_selected_path: &'static strSelected shared matmul planner path.
matmul_candidate_path: Option<&'static str>Candidate tensor-core path from the shared matmul planner, when any.
matmul_fallback_reason: Option<&'static str>Shared matmul planner fallback reason, when the selected path is cooperative.
tensor_core_eligible: boolWhether the shared matmul planner selected a tensor-core path.
output_drift_abs_tolerance: f32Maximum absolute output drift accepted by evidence tests.
Trait Implementations§
Source§impl Clone for QuantizedLinear4BitPlannerEvidence
impl Clone for QuantizedLinear4BitPlannerEvidence
Source§fn clone(&self) -> QuantizedLinear4BitPlannerEvidence
fn clone(&self) -> QuantizedLinear4BitPlannerEvidence
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl StructuralPartialEq for QuantizedLinear4BitPlannerEvidence
Auto Trait Implementations§
impl Freeze for QuantizedLinear4BitPlannerEvidence
impl RefUnwindSafe for QuantizedLinear4BitPlannerEvidence
impl Send for QuantizedLinear4BitPlannerEvidence
impl Sync for QuantizedLinear4BitPlannerEvidence
impl Unpin for QuantizedLinear4BitPlannerEvidence
impl UnsafeUnpin for QuantizedLinear4BitPlannerEvidence
impl UnwindSafe for QuantizedLinear4BitPlannerEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more