Skip to content

Add huggingface-zerogpu skill#138

Open
hysts wants to merge 3 commits intohuggingface:mainfrom
hysts:main
Open

Add huggingface-zerogpu skill#138
hysts wants to merge 3 commits intohuggingface:mainfrom
hysts:main

Conversation

@hysts
Copy link
Copy Markdown

@hysts hysts commented May 7, 2026

Adds huggingface-zerogpu: coding rules for Gradio Spaces running on ZeroGPU hardware. Covers @spaces.GPU, duration and quota tuning, the CUDA availability model (import-time monkey-patching of torch.cuda), pickle-based process isolation across the worker boundary, gr.State semantics under pickle, concurrency safety, and CUDA wheel-only build constraints.

Internal Slack: https://huggingface.slack.com/archives/C08LXQBA0AG/p1777276305030379

Coding rules for Gradio Spaces running on ZeroGPU hardware.
Covers @spaces.GPU, duration and quota tuning, the CUDA
availability model, pickle-based process isolation across the
worker boundary, gr.State semantics, concurrency safety, and
CUDA wheel-only build constraints.
Comment thread agents/AGENTS.md Outdated
Copy link
Copy Markdown
Collaborator

@burtenshaw burtenshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Would just make the description a bit more 'use case' centric.

Co-authored-by: burtenshaw <ben.burtenshaw@gmail.com>
@hysts
Copy link
Copy Markdown
Author

hysts commented May 7, 2026

Thanks for the quick review! I just applied the suggestion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants