A CLI to estimate inference memory requirements for Hugging Face models, written in Python.
Skill
1
Star
958
License
MIT
Last commit
Dec 1, 2026
Skills in this repo1
---
name: hf-mem
description: Estimate the GPU memory needed to run a Hugging Face model (weights, KV cache and inference overhead) and whether it fits on given GPUs, without downloading it. Use when asked how much VRAM a model needs, whether it fits on a GPU, the longest context that fits, or which GGUF quantization to pick.