Skip to main content

Module generic

Module generic 

Source
Expand description

Model-agnostic zsfm convert / zsfm inspect / zsfm pull: turn ANY supported checkpoint (safetensors, sharded-safetensors index, PyTorch pickle, npy/npz, ONNX, HDF5/Keras, GGUF) into a GGUF file with tensor names passed through unchanged, list its contents, or just fetch a HuggingFace repo’s checkpoint in whatever format it happens to be published in.

Unlike the per-model subcommands (which map tensor names to each inference engine’s schema and assume config.json + model.safetensors), this path does no renaming beyond an optional --strip-prefix and downloads whatever format a repo actually has (via zsfm_hub::download_any_format), so it works for arbitrary models.

Structs§

ConvertArgs
InspectArgs
PullArgs

Enums§

DtypeArg

Functions§

parse_meta_value 🔒
run_convert
run_inspect
run_pull
Download a repo’s checkpoint in whatever format it’s published in, without converting — for inspecting raw files, or when the target format is one zsfm convert doesn’t need to touch (already GGUF).