Spaces:
Running on Zero
Running on Zero
Space requirements: torch 2.9.1 only
Browse files- requirements.txt +5 -5
requirements.txt
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
#
|
| 2 |
-
torch
|
| 3 |
-
|
| 4 |
-
#
|
| 5 |
-
torch==2.9.1
|
| 6 |
# Last 4.x. Transformers 5 needs Python 3.11+ and torch 2.6+, so it can't run on Intel Macs,
|
| 7 |
# and one version everywhere means the Space runs what was tested locally.
|
| 8 |
transformers==4.57.6
|
|
|
|
| 1 |
+
# Linux (including the Hugging Face Space), Apple Silicon Macs and Windows. Intel Macs use
|
| 2 |
+
# requirements-intel-mac.txt instead: ZeroGPU rejects any torch below 2.8 in this file, even behind a
|
| 3 |
+
# platform marker, so the Intel Mac pins can't live here.
|
| 4 |
+
# ZeroGPU supports torch 2.8 and later.
|
| 5 |
+
torch==2.9.1
|
| 6 |
# Last 4.x. Transformers 5 needs Python 3.11+ and torch 2.6+, so it can't run on Intel Macs,
|
| 7 |
# and one version everywhere means the Space runs what was tested locally.
|
| 8 |
transformers==4.57.6
|