Huggingface Zerogpu
Guide for writing and debugging ML demos on ZeroGPU Gradio Spaces, covering @spaces.GPU, quota, and build constraints.
- CCM score
- 76 of 100
- skills.sh installs
- 1.5K
- GitHub stars
- 11.4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers ZeroGPU code rules: module-scope model loading,
@spaces.GPUplacement, duration tuning, and CUDA availability behavior - Includes four reference files on concurrency, worker lifecycle, quota rules, and CUDA wheel dependencies
- Enforces no
torch.compilein favor of AoTI, and warns against hardcodeddevice="cuda"and ImportError fallbacks forspaces - Designed for Gradio SDK Spaces on ZeroGPU hardware; Docker and Static Spaces are out of scope
Install
$ npx -y skills add huggingface/skills --skill huggingface-zerogpu -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Hugging Face ZeroGPU
Rules and patterns for ML demos on Hugging Face Spaces with ZeroGPU hardware. Covers @spaces.GPU, duration and quota tuning, process isolation, the CUDA availability model, concurrency safety, and CUDA build constraints.
Scope
This skill is for Gradio SDK Spaces using ZeroGPU hardware. Docker and Static Spaces cannot schedule onto ZeroGPU, and Streamlit apps now run as Docker Spaces — so this skill applies only to Gradio. For general Gradio coding (components, layouts, event listeners), see the huggingface-gradio skill in this repo. The authoritative ZeroGPU docs live at https://huggingface.co/docs/hub/spaces-zerogpu — refer to them for the current backing GPU, runtime version lists, and tier thresholds, all of which change over time.
Reference Files
Details
- Repository
- github.com/huggingface/skills
- Categories
- AI Agents & LLM Apps, Frontend & UI Code, Python
- First seen
- Jul 14, 2026
Questions
What does the huggingface-zerogpu skill do?
It gives your agent rules and patterns for ML demos on Hugging Face Spaces with ZeroGPU hardware, covering @spaces.GPU, duration and quota tuning, and process isolation. It applies to Gradio SDK Spaces using ZeroGPU and covers ZeroGPU-specific code constraints like pickle-based isolation and no torch.compile.
How do I install the huggingface-zerogpu skill?
Run npx -y skills add huggingface/skills --skill huggingface-zerogpu -y in your project. Once installed, the agent can write and review ZeroGPU Space code that uses @spaces.GPU and handle ZeroGPU-specific errors.
Who is the huggingface-zerogpu skill for?
It is for developers building Gradio SDK Spaces on ZeroGPU hardware, since Docker and Static Spaces cannot run on ZeroGPU. It also helps anyone who hits ZeroGPU errors such as PicklingError across the worker boundary, illegal duration, or flash-attn wheel-build failures.
Where does huggingface-zerogpu stand in its category?
It is in the AI Agents & LLM Apps category on Claude Marketplaces, alongside skills such as microsoft-foundry, azure-ai and google-agents-cli-adk-code. It differs from those by focusing on GPU-backed Gradio demos on Hugging Face Spaces, with rules for sizing, duration and CUDA build constraints.
More from huggingface/skills
All 20- Hugging Face Datasets367
- Hugging Face Paper Publisher245
- Hugging Face Tool Builder226
- Hugging Face Trackio226
- Gradio172
- Hf Cli3.8K
- Huggingface Datasets2.8K
- Huggingface Gradio2.6K
- Huggingface Llm Trainer2.5K
- Huggingface Papers2.4K
- Transformers Js2.3K
- Huggingface Vision Trainer2.2K
- Huggingface Local Models2.2K
- Huggingface Trackio2.1K
- Huggingface Community Evals2.1K
- Huggingface Best2K
- Huggingface Paper Publisher1.8K
- Huggingface Tool Builder1.8K
- Train Sentence Transformers1.8K
Similar to Huggingface Zerogpu
More AI Agents & LLM Appshuggingface-llm-trainerhuggingface/skills2.5K installsGuide for training and fine-tuning language and vision models with TRL or Unsloth on cloud GPUs.
pytorch-patternsaffaan-m/ecc12.3K installsPyTorch training, architecture, and data loading patterns covering device handling, reproducibility, and efficient pipelines.
deep-learningmindrally/skills995 installsPractical guidelines for neural network design, training, multi-GPU scaling, and memory optimization in PyTorch-style workflows.
huggingface-accelerateorchestra-research/ai-research-skills1.1K installsUnified distributed training API that adds multi-GPU support to PyTorch scripts in about four lines.
cuda-kernelshuggingface/kernels219 installsGuidance and benchmarks for writing ABI3-compliant CUDA kernels for diffusers and transformers on NVIDIA GPUs.