Skip to main content

Crate ramvamp_repack

Crate ramvamp_repack 

Source
Expand description

ramvamp-repack: streaming installer.

Downloads a pinned Hugging Face checkpoint revision through bounded HTTP range requests and repacks tensors directly into the ramvamp packed layout as bytes arrive. The full checkpoint never exists in memory or as a second copy on disk; scratch is capped at a fixed small buffer. Installs are hash-verified, resumable, and promoted atomically once manifest.json validates.

Modules§

gguf
GGUF container parsing (v3, plus read-compatible v2).
install
Streaming installer: execute a RepackPlan against a source, producing a complete .rvmp install directory.
plan
Repack planning: derive everything the executor and manifest writer need from a parsed GGUF header.
source
Byte-range access to a model source.
tokenizer_fetch
Tokenizer sidecar fetch: place the pinned Hugging Face tokenizer files into an installed .rvmp directory’s tokenizer/ subdirectory and record them in manifest.json.