alvarobartt/hf-mem
A CLI tool that estimates memory requirements for running any model from the Hugging Face Hub by fetching Safetensors or GGUF metadata.

Velocity · 7d
+5.6
★ / day
Trend
→steady
star history
hf-mem is a lightweight Python CLI that estimates inference memory requirements for Hugging Face models without downloading them. It pulls Safetensors and GGUF weight metadata via HTTP Range requests to calculate memory needs. The tool supports Transformers, Diffusers, and Sentence Transformers models, helping users determine hardware requirements before downloading large model files.