Huggingface Zerogpu

by huggingfaceabc20ae526d8No license11K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

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 to use this skill whenever the user mentions ZeroGPU, `@spaces.GPU`, or the `spaces` Python package, or hits ZeroGPU-specific code errors like `PicklingError` across the worker boundary, `illegal duration`, or `flash-attn` wheel-build failures — even when the user does not explicitly ask for ZeroGPU coding guidance. Trigger on `import spaces` or `@spaces.GPU` in code.

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
references/concurrency.md2.5 KBtext/markdown
references/cuda-and-deps.md4.7 KBtext/markdown
references/how-quota-works.md3.8 KBtext/markdown
references/how-zerogpu-works.md4.7 KBtext/markdown
SKILL.md17.8 KBtext/markdown

Source and attribution

Source:huggingface/skillsinskills/huggingface-zerogpuat commitabc20ae

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal