please give option to joint ZeroGPU

#54
by BeastHF - opened
Files changed (1) hide show
  1. README.md +15 -44
README.md CHANGED
@@ -6,38 +6,23 @@ colorTo: indigo
6
  sdk: static
7
  pinned: false
8
  ---
9
- <div style="height: 15px;"></div>
10
 
11
  # ZeroGPU Spaces
12
 
13
- <div class="not-prose bg-gradient-to-r from-gray-50-to-white text-gray-900 border" style="border-radius: 8px; padding: 0.5rem 1rem; margin-bottom: 10px;">
14
- <span style="font-weight: 600;">🚨 This page is out of date:</span> for up-to-date information, see <a class="underline" target="_blank" href="https://huggingface.co/docs/hub/spaces-zerogpu" style="color: inherit;">the documentation</a>.
15
  </div>
16
 
17
- <div class="not-prose bg-gradient-to-r from-gray-50-to-white text-gray-900 border" style="border-radius: 8px; padding: 0.5rem 1rem; margin-bottom: 10px;">
18
- <span style="font-weight: 600;">NEW - Setember 2024 Update</span>: check what's new in this <a class="underline" target="_blank" href="https://huggingface.co/spaces/zero-gpu-explorers/README/discussions/107" style="color: inherit;">discussion</a>.
19
  </div>
20
 
21
- <div class="not-prose bg-gradient-to-r from-gray-50-to-white text-gray-900 border" style="border-radius: 8px; padding: 0.5rem 1rem;">
22
- <span style="font-weight: 600;">ZeroGPU is currently in beta:</span>
23
- <ul class="list-disc list-inside pl-8">
24
- <li>It's available for everyone to use for free: <a class="underline" target="_blank" href="https://huggingface.co/spaces/enzostvs/zero-gpu-spaces">Browse dedicated Spaces list</a>.</li>
25
- <li>Hosting ZeroGPU Spaces is available for <a class="underline" target="_blank" href="https://huggingface.co/subscribe/pro">PRO</a> users or <a class="underline" target="_blank" href="https://huggingface.co/enterprise">Enterprise</a> organizations.</li>
26
- <li><a class="underline" target="_blank" href="https://huggingface.co/subscribe/pro">PRO</a> users also get x5 more daily usage quota and highest priority in GPU queues when using any ZeroGPU Spaces.</li>
27
- </ul>
28
  </div>
29
 
30
- <div class="not-prose bg-gradient-to-r from-gray-50-to-white text-gray-900 border" style="border-radius: 8px; padding: 0.5rem 1rem; margin-top: 10px;">
31
- <span style="font-weight: 600;">Please share your feedback about ZeroGPU</span> in the <a class="underline" target="_blank" href="https://huggingface.co/spaces/zero-gpu-explorers/README/discussions" style="color: inherit;">Community tab</a>.
32
- </div>
33
-
34
- <div class="not-prose bg-gradient-to-r from-gray-50-to-white text-gray-900 border" style="border-radius: 8px; padding: 0.5rem 1rem; margin-top: 10px;">
35
- <span style="font-weight: 600;">ZeroGPU works great with Dev Mode.</span> Learn more about <a target="_blank" href="https://huggingface.co/spaces/dev-mode-explorers/README" class="underline">Dev Mode</a>.
36
- </div>
37
 
38
-
39
-
40
- <img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/cAlvAOu9QC547zrmRVpS5.gif" style="width: 100%; max-width:950px"/>
41
 
42
 
43
  *ZeroGPU* is a new kind of hardware for Spaces.
@@ -54,7 +39,7 @@ ZeroGPU uses _Nvidia A100_ GPU devices under the hood (40GB of vRAM are availabl
54
  <img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/naVZI-v41zNxmGlhEhGDJ.gif" style="width: 100%; max-width:550px"/>
55
 
56
 
57
- ## Compatibility
58
 
59
  *ZeroGPU* Spaces should mostly be compatible with any PyTorch-based GPU Space.<br>
60
  Compatibility with high level HF libraries like `transformers` or `diffusers` is slightly more guaranteed<br>
@@ -64,10 +49,10 @@ Also, for now, ZeroGPU Spaces only works with the **Gradio SDK**
64
 
65
  Supported versions:
66
  - Gradio: 4+
67
- - PyTorch: `2.0.1`, `2.1.2`, `2.2.2` and `2.4.0` (2.3.x is not supported due to a PyToch [bug](https://github.com/pytorch/pytorch/issues/122085))
68
  - Python: `3.10.13`
69
 
70
- ## Usage
71
 
72
  In order to make your Space work with ZeroGPU you need to **decorate** the Python functions that actually require a GPU with `@spaces.GPU`<br>
73
  During the time when a decorated function is invoked, the Space will be attributed a GPU, and it will release it upon completion of the function.<br>
@@ -106,30 +91,16 @@ def generate(prompt):
106
  return pipe(prompt).images
107
  ```
108
 
109
- It will set the maximum duration of your function call to 120s.
110
- You can also specify a duration if you know that your function will take far less than the 60s default.
111
- The lower the duration, the higher priority your Space visitors will have in the queue
112
-
113
- ## Getting Started
114
-
115
- To **explore and use existing ZeroGPU Spaces**, browse the following list: https://huggingface.co/spaces/enzostvs/zero-gpu-spaces
116
-
117
- To **create and host your own ZeroGPU Spaces**:
118
 
119
- - For personal accounts:
120
- - <a href="https://huggingface.co/settings/billing/subscription" target="_blank">Subscribe to PRO</a>. Once subscribed, ZeroGPU will appear in the hardware list on <a href="https://huggingface.co/new-space" target="_blank">New Space page</a> when you select the Gradio SDK.
121
- - For organizations:
122
- - <a href="https://huggingface.co/enterprise" target="_blank">Subscribe to the Enterprise Hub</a>. This will enable you to host and collaborate on ZeroGPU Spaces with all your organization members.
123
 
 
124
 
125
- ## Limitations
126
-
127
- **Personal accounts** (PRO subscribers) can host up to 10 ZeroGPU Spaces.
128
-
129
- **Organization accounts** subscribed to the Enterprise Hub can host up to 50 ZeroGPU Spaces.
130
 
 
131
 
132
- <div style="height: 35px;"></div>
133
  <style>
134
  :root {
135
  --bg-color-light: rgba(255, 255, 255, 0.3);
 
6
  sdk: static
7
  pinned: false
8
  ---
 
9
 
10
  # ZeroGPU Spaces
11
 
12
+ <div style="background-color: rgba(255, 255, 255, 0.5); color: rgba(0, 0, 0, 0.87); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 8px; padding: 0.5rem 1rem;">
13
+ <span style="font-weight: 600;">ZeroGPU is currently in beta.</span> It's available to use for everyone and <a target="_blank" href="https://huggingface.co/subscribe/pro" style="color: inherit;">PRO</a> users can host their own ZeroGPU Spaces.
14
  </div>
15
 
16
+ <div style="background-color: rgba(255, 255, 255, 0.5); color: rgba(0, 0, 0, 0.87); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 8px; padding: 0.5rem 1rem; margin-top: 10px;">
17
+ <span style="font-weight: 600;">Please share your feedback about ZeroGPU</span> in the <a target="_blank" href="https://huggingface.co/spaces/zero-gpu-explorers/README/discussions" style="color: inherit;">Community tab</a>.
18
  </div>
19
 
20
+ <div style="background-color: rgba(255, 255, 255, 0.5); color: rgba(0, 0, 0, 0.87); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 8px; padding: 0.5rem 1rem; margin-top: 10px;">
21
+ <span style="font-weight: 600;">Browse ZeroGPU Spaces</span> here: <a target="_blank" href="https://huggingface.co/spaces/enzostvs/zero-gpu-spaces" style="color: inherit;">Dedicated list</a>.
 
 
 
 
 
22
  </div>
23
 
 
 
 
 
 
 
 
24
 
25
+ <img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/cAlvAOu9QC547zrmRVpS5.gif" style="width:100%;"/>
 
 
26
 
27
 
28
  *ZeroGPU* is a new kind of hardware for Spaces.
 
39
  <img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/naVZI-v41zNxmGlhEhGDJ.gif" style="width: 100%; max-width:550px"/>
40
 
41
 
42
+ # Compatibility
43
 
44
  *ZeroGPU* Spaces should mostly be compatible with any PyTorch-based GPU Space.<br>
45
  Compatibility with high level HF libraries like `transformers` or `diffusers` is slightly more guaranteed<br>
 
49
 
50
  Supported versions:
51
  - Gradio: 4+
52
+ - PyTorch: All versions from `2.0.0` to `2.2.0`
53
  - Python: `3.10.13`
54
 
55
+ # Usage
56
 
57
  In order to make your Space work with ZeroGPU you need to **decorate** the Python functions that actually require a GPU with `@spaces.GPU`<br>
58
  During the time when a decorated function is invoked, the Space will be attributed a GPU, and it will release it upon completion of the function.<br>
 
91
  return pipe(prompt).images
92
  ```
93
 
94
+ It will set the maximum duration of your function call to 120s.
 
 
 
 
 
 
 
 
95
 
96
+ You can also specify a duration if you know that your function will take far less than the 60s default.
 
 
 
97
 
98
+ The lower the duration, the higher priority your Space visitors will have in the queue
99
 
100
+ # Early access
 
 
 
 
101
 
102
+ Feel free to join this organization if you want to try ZeroGPU as a Space author. βœ‹ We should accept you shortly after checking your HF profile
103
 
 
104
  <style>
105
  :root {
106
  --bg-color-light: rgba(255, 255, 255, 0.3);