Skip to main content

Module compressed_tensors_marlin_source

Module compressed_tensors_marlin_source 

Source
Expand description

Exact compressed-tensors W4 adapter for the Marlin physical ABI.

The supported checkpoint subset is intentionally narrow: pack-quantized INT4 weights, fixed group size, optional format-typed asymmetric zero points, and no activation quantization. Repacking is cold-path CPU work performed while static plan resources are initialized.

Structs§

CompressedTensorsMarlinSafetensorsSource
Mmap-backed safetensors archive with an exact compressed-tensors-to-Marlin adapter. Dense components keep the archive’s zero-copy/transcode behavior.

Constants§

COMPRESSED_TENSORS_MARLIN_INT4_FORMAT_ID
COMPRESSED_TENSORS_MARLIN_INT4_SYMMETRIC_FORMAT_ID