please give option to joint ZeroGPU

#54
Files changed (1) hide show
  1. README.md +15 -40
README.md CHANGED
@@ -6,34 +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;">🚨 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>.
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;">
18
- <span style="font-weight: 600;">ZeroGPU is currently in beta:</span>
19
- <ul class="list-disc list-inside pl-8">
20
- <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>
21
- <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>
22
- <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>
23
- </ul>
24
  </div>
25
 
26
- <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;">
27
- <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>.
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;">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>.
32
- </div>
33
-
34
-
35
 
36
- <img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/cAlvAOu9QC547zrmRVpS5.gif" style="width: 100%; max-width:950px"/>
37
 
38
 
39
  *ZeroGPU* is a new kind of hardware for Spaces.
@@ -50,7 +39,7 @@ ZeroGPU uses _Nvidia A100_ GPU devices under the hood (40GB of vRAM are availabl
50
  <img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/naVZI-v41zNxmGlhEhGDJ.gif" style="width: 100%; max-width:550px"/>
51
 
52
 
53
- ## Compatibility
54
 
55
  *ZeroGPU* Spaces should mostly be compatible with any PyTorch-based GPU Space.<br>
56
  Compatibility with high level HF libraries like `transformers` or `diffusers` is slightly more guaranteed<br>
@@ -60,10 +49,10 @@ Also, for now, ZeroGPU Spaces only works with the **Gradio SDK**
60
 
61
  Supported versions:
62
  - Gradio: 4+
63
- - 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))
64
  - Python: `3.10.13`
65
 
66
- ## Usage
67
 
68
  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>
69
  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>
@@ -102,30 +91,16 @@ def generate(prompt):
102
  return pipe(prompt).images
103
  ```
104
 
105
- It will set the maximum duration of your function call to 120s.
106
- You can also specify a duration if you know that your function will take far less than the 60s default.
107
- The lower the duration, the higher priority your Space visitors will have in the queue
108
-
109
- ## Getting Started
110
 
111
- To **explore and use existing ZeroGPU Spaces**, browse the following list: https://huggingface.co/spaces/enzostvs/zero-gpu-spaces
112
 
113
- To **create and host your own ZeroGPU Spaces**:
114
-
115
- - For personal accounts:
116
- - <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.
117
- - For organizations:
118
- - <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.
119
-
120
-
121
- ## Limitations
122
-
123
- **Personal accounts** (PRO subscribers) can host up to 10 ZeroGPU Spaces.
124
 
125
- **Organization accounts** subscribed to the Enterprise Hub can host up to 50 ZeroGPU Spaces.
126
 
 
127
 
128
- <div style="height: 35px;"></div>
129
  <style>
130
  :root {
131
  --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);