Spaces:
Running on Zero
Running on Zero
Remove 'spaces' from requirements: pre-installed by HF ZeroGPU runtime
Browse filesInstalling spaces from PyPI overwrites the pre-installed ZeroGPU version
and breaks the @spaces.GPU GPU proxy (RuntimeError: Found no NVIDIA driver).
HF pre-installs the correct ZeroGPU-aware version in the base image.
Also bump cache-bust to 7 to force fresh Docker layer.
- requirements.txt +2 -2
requirements.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
-
# HuggingFace ZeroGPU Space — Gradio SDK [cache-bust:
|
| 2 |
-
spaces
|
| 3 |
numpy>=2
|
| 4 |
|
| 5 |
# Git-pinned installs
|
|
|
|
| 1 |
+
# HuggingFace ZeroGPU Space — Gradio SDK [cache-bust: 7]
|
| 2 |
+
# spaces: pre-installed by HF ZeroGPU runtime; DO NOT reinstall from PyPI (breaks GPU proxy)
|
| 3 |
numpy>=2
|
| 4 |
|
| 5 |
# Git-pinned installs
|