本文へスキップ
Kitbay
スキル公式

huggingface-zerogpu

Apache-2.02026年11月11日 更新11,334GitHubスター

A Hugging Face skill for writing and reviewing Gradio Spaces that run on ZeroGPU hardware.

スキルの内容

A Hugging Face skill for writing and reviewing Gradio Spaces that run on ZeroGPU hardware. It explains the @spaces.GPU decorator, the two GPU sizes, how CUDA is available only inside decorated calls, choosing call durations against quota, pickle-based process isolation between the main process and GPU workers, state handling across that boundary, concurrency, why torch.compile is replaced by ahead-of-time compilation, CUDA build constraints and dependency setup. It applies only to Gradio SDK Spaces, and reference files go deeper on concurrency, quota, how ZeroGPU works, and CUDA dependencies.

できること

  • Write Gradio Space code for ZeroGPU with @spaces.GPU
  • Tune GPU call duration against quota
  • Handle process isolation and state across GPU workers
  • Install CUDA-dependent packages for ZeroGPU