Skip to content
Futureware

hf-mem

by Hugging Face Verified publisher11.5K stars

Estimates the computer memory needed to run an AI model.

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.

Install it

Run this in the folder where you use Claude Code (or another agent that supports skills):

npx skills add huggingface/skills --skill hf-mem
Read the skill's instructions