hf-mem
A short Hugging Face skill for estimating how much memory a model on the Hub needs for inference before downloading it.
What the skill teaches
A short Hugging Face skill for estimating how much memory a model on the Hub needs for inference before downloading it. The agent runs the hf-mem tool through uvx with a model id, and the tool reads the Safetensors or GGUF weight metadata over HTTP range requests, optionally adding an estimate for the KV cache, so no weights are fetched or loaded locally. It is meant for questions such as whether a model fits on a given GPU. It needs uv installed, and a Hugging Face token only for gated or private models.
Capabilities
- Estimate inference memory for a Hub model
- Include KV cache in the estimate
- Check whether a model fits a GPU without downloading it
About
- Publisher
- Hugging Face
- Tool
- Hugging Face
Works with
Install
- Run this to add it to Any client:
hf skills add hf-mem
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Hugging Face | |
| Publisher | Hugging Face | source |
| Official status | OfficialHugging Face Hub docs link to the huggingface/skills repository | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex, Gemini CLI | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202611,334 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from Hugging Face
1 server · 26 skills
- hf-mcp (Skill)
- hf-cli (Skill)
- huggingface-best (Skill)
- huggingface-community-evals (Skill)
- huggingface-datasets (Skill)
- hf-cloud-python-env-setup (Skill)
Badge for your README
Maintain this project? Add a badge that links to this page.
[](https://kitbay.app/skills/huggingface-hf-mem/)
Sources
- README (README.md)github.com/huggingface/skills · Backs: AI clientsNov 13, 2026
- Skill file (SKILL.md)github.com/huggingface/skillsNov 10, 2026
- Licence file (LICENSE)github.com/huggingface/skills · Backs: LicenceNov 13, 2026
- Web pagehuggingface.co · Backs: Official statusNov 13, 2026
- GitHub repositorygithub.com/huggingface/skills · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (hf-mem)github.com/huggingface/skills · Backs: Includes scriptsNov 10, 2026