Skip to content
Futureware

huggingface-zerogpu

by Hugging Face Verified publisher11.5K stars

AI demos and GPU compute with Gradio Spaces and Hugging Face Spaces ZeroGPU. Use when writing or reviewing code that uses `@spaces.GPU`, configuring `python_version` or `requirements.txt` for a ZeroGPU Space, or handling ZeroGPU-specific code constraints — pickle-based process isolation, `gr.State` semantics across the worker boundary, no `torch.compile` (use AoTI instead), CUDA wheel-only builds (no `nvcc` at build or runtime), large vs xlarge sizing, and dynamic duration callables. Make sure…

Install it

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

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