Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
|
@@ -43,7 +43,7 @@ ZeroGPU uses _Nvidia A100_ GPU devices under the hood (40GB of vRAM are availabl
|
|
| 43 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/naVZI-v41zNxmGlhEhGDJ.gif" style="width: 100%; max-width:550px"/>
|
| 44 |
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
*ZeroGPU* Spaces should mostly be compatible with any PyTorch-based GPU Space.<br>
|
| 49 |
Compatibility with high level HF libraries like `transformers` or `diffusers` is slightly more guaranteed<br>
|
|
@@ -56,7 +56,7 @@ Supported versions:
|
|
| 56 |
- PyTorch: All versions from `2.0.0` to `2.2.0`
|
| 57 |
- Python: `3.10.13`
|
| 58 |
|
| 59 |
-
|
| 60 |
|
| 61 |
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>
|
| 62 |
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>
|
|
|
|
| 43 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/5f17f0a0925b9863e28ad517/naVZI-v41zNxmGlhEhGDJ.gif" style="width: 100%; max-width:550px"/>
|
| 44 |
|
| 45 |
|
| 46 |
+
## Compatibility
|
| 47 |
|
| 48 |
*ZeroGPU* Spaces should mostly be compatible with any PyTorch-based GPU Space.<br>
|
| 49 |
Compatibility with high level HF libraries like `transformers` or `diffusers` is slightly more guaranteed<br>
|
|
|
|
| 56 |
- PyTorch: All versions from `2.0.0` to `2.2.0`
|
| 57 |
- Python: `3.10.13`
|
| 58 |
|
| 59 |
+
## Usage
|
| 60 |
|
| 61 |
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>
|
| 62 |
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>
|