Spaces:
Running
Running
rdmlx Claude Opus 4.6 commited on
Commit ·
de3e29e
1
Parent(s): 5763d3f
Use CPU-only PyTorch to fix HF Spaces build timeouts
Browse filesThe full PyTorch package (~2GB) was causing builds to hang on
free-tier cpu-basic hardware. CPU-only wheel is ~200MB.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- requirements.txt +1 -0
requirements.txt
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
fastapi>=0.109.0
|
| 2 |
uvicorn[standard]>=0.27.0
|
|
|
|
| 3 |
torch>=2.0.0
|
| 4 |
transformers>=4.37.0
|
| 5 |
numpy>=1.24.0
|
|
|
|
| 1 |
fastapi>=0.109.0
|
| 2 |
uvicorn[standard]>=0.27.0
|
| 3 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 4 |
torch>=2.0.0
|
| 5 |
transformers>=4.37.0
|
| 6 |
numpy>=1.24.0
|