Can a SafeTensors header show a model’s inference inputs and outputs?
A checkpoint header describes stored tensors, not the inference interface. Use ONNX Model I/O Inventory for declared inputs and outputs of a separate ONNX export.
Runs in your browser. No file uploads for processing. Privacy details
Inspect a SafeTensors checkpoint’s tensor types, ranks, and declared byte ranges locally without loading weights.
Loading tool...
Inspecting a separate ONNX export instead? Check its declared inputs and outputs.
Pick an individual .safetensors file or shard. The browser reads its size prefix and JSON header without opening the weight payload.
A rank-two F32 tensor with shape [2, 3] declares six elements and 24 bytes. An empty [0, 3] tensor contributes no bytes, while a rank-zero scalar contributes one element.
The inspector checks that each range matches its declared dtype and shape, then checks whether the ranges cover the payload without gaps. Download aggregate JSON to compare two files without sharing tensor names.
The tool processes inputs in your browser. File processing and site analytics are separate.
A checkpoint header describes stored tensors, not the inference interface. Use ONNX Model I/O Inventory for declared inputs and outputs of a separate ONNX export.
No. It reads only the eight-byte header-size prefix and bounded UTF-8 JSON header, using the browser’s file size to check declared byte ranges.
Its data-type breakdown shows F16, BF16 and other supported tags declared for each tensor group. A single file can contain multiple types.
No. It only means that this inspector’s header and range checks passed. It cannot verify the source, actual weight values, model behavior, or framework compatibility.
No. It contains counts, data-type labels, rank totals and byte totals only. Tensor names, filenames and optional metadata keys or values are omitted.