Skip to main content

inspect_tensors

Function inspect_tensors 

Source
pub fn inspect_tensors(path: &Path) -> Result<()>
Expand description

Shared inspect-tensors implementation: print every tensor’s name, shape, and dtype from a local checkpoint file. Format is auto-detected — works whether the model’s raw download is safetensors (most models), a raw PyTorch pickle .ckpt (lag_llama, tirex), or a GGUF file, via the same format-agnostic loader zsfm convert/zsfm inspect use.