pub struct Nf4ProjectionOptions {
pub input_features: usize,
pub output_features: usize,
pub block_size: usize,
pub tile_rows: usize,
pub use_tensor_core: bool,
}Expand description
Explicit original geometry and execution choices; no quantizer or model family is inferred.
Fields§
§input_features: usizeActual logical input width.
output_features: usizeActual logical output width, with [output,input] packed row-major storage.
block_size: usizeOriginal positive even flat block size, including partial final blocks.
tile_rows: usizeMaximum decoded output-row tile on the explicitly tiled path.
use_tensor_core: boolHalf/BF16 uses the original fused cooperative kernel when true. FP32 remains tiled. Failed fused calls never select the tiled path as recovery.
Trait Implementations§
Source§impl Clone for Nf4ProjectionOptions
impl Clone for Nf4ProjectionOptions
Source§fn clone(&self) -> Nf4ProjectionOptions
fn clone(&self) -> Nf4ProjectionOptions
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 Nf4ProjectionOptions
Source§impl Debug for Nf4ProjectionOptions
impl Debug for Nf4ProjectionOptions
impl Eq for Nf4ProjectionOptions
Source§impl PartialEq for Nf4ProjectionOptions
impl PartialEq for Nf4ProjectionOptions
impl StructuralPartialEq for Nf4ProjectionOptions
Auto Trait Implementations§
impl Freeze for Nf4ProjectionOptions
impl RefUnwindSafe for Nf4ProjectionOptions
impl Send for Nf4ProjectionOptions
impl Sync for Nf4ProjectionOptions
impl Unpin for Nf4ProjectionOptions
impl UnsafeUnpin for Nf4ProjectionOptions
impl UnwindSafe for Nf4ProjectionOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.