pub struct CompressedTensorsFormat {
pub format: String,
pub ignore: IgnoreList,
}Expand description
2026-09-25: A compressed-tensors checkpoint.
Fields§
§format: String2026-09-25: The config’s format string; nothing in this module reads
it.
ignore: IgnoreList2026-09-30: The modules that ship unquantized, matched as the format specifies.
Implementations§
Trait Implementations§
Source§impl Debug for CompressedTensorsFormat
impl Debug for CompressedTensorsFormat
Source§impl QuantFormat for CompressedTensorsFormat
impl QuantFormat for CompressedTensorsFormat
Source§fn base_variant(&self) -> Nvfp4Variant
fn base_variant(&self) -> Nvfp4Variant
2026-09-25: The
Nvfp4Variant this layout maps to.Source§fn is_ignored(&self, module_path: &str) -> bool
fn is_ignored(&self, module_path: &str) -> bool
2026-09-30: Whether the ignore list names the module
module_path (a module path,
not a tensor name: no .weight), under the format’s own matching (IgnoreList).Source§fn variant_for(&self, module_path: &str) -> Nvfp4Variant
fn variant_for(&self, module_path: &str) -> Nvfp4Variant
2026-09-25:
Bf16Raw for an ignored module, else Self::base_variant.Auto Trait Implementations§
impl Freeze for CompressedTensorsFormat
impl RefUnwindSafe for CompressedTensorsFormat
impl Send for CompressedTensorsFormat
impl Sync for CompressedTensorsFormat
impl Unpin for CompressedTensorsFormat
impl UnwindSafe for CompressedTensorsFormat
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