You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/hub/spaces-zerogpu.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,20 +71,20 @@ Note: The `@spaces.GPU` decorator is designed to be effect-free in non-ZeroGPU e
71
71
72
72
## Duration Management
73
73
74
-
For functions expected to exceed the default 60-second runtime, specify a custom duration:
74
+
For functions expected to exceed the default 60-second of GPU runtime, you can specify a custom duration:
75
75
76
76
```python
77
77
@spaces.GPU(duration=120)
78
78
defgenerate(prompt):
79
79
return pipe(prompt).images
80
80
```
81
81
82
-
This sets the maximum function runtime to 120 seconds. Specifying shorter durations for quicker functions can improve queue priority for Space visitors.
82
+
This sets the maximum function runtime to 120 seconds. Specifying shorter durations for quicker functions will improve queue priority for Space visitors.
83
83
84
-
## Limitations
84
+
## Hosting Limitations
85
85
86
-
-**Personal accounts (PRO subscribers)**: Maximum of 10 ZeroGPU Spaces.
87
-
-**Organization accounts (Enterprise Hub)**: Maximum of 50 ZeroGPU Spaces.
86
+
-**Personal accounts ([PRO subscribers](https://huggingface.co/subscribe/pro))**: Maximum of 10 ZeroGPU Spaces.
87
+
-**Organization accounts ([Enterprise Hub](https://huggingface.co/enterprise))**: Maximum of 50 ZeroGPU Spaces.
88
88
89
89
By leveraging ZeroGPU, developers can create more efficient and scalable Spaces, maximizing GPU utilization while minimizing costs.
0 commit comments