Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +7 -5
requirements.txt
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
|
|
| 1 |
--extra-index-url https://download.pytorch.org/whl/cu118
|
| 2 |
|
| 3 |
-
# PyTorch (CUDA 11.8)
|
| 4 |
torch==2.2.2+cu118
|
| 5 |
torchvision==0.17.2+cu118
|
| 6 |
torchaudio==2.2.2+cu118
|
| 7 |
|
| 8 |
-
# Core inference
|
| 9 |
transformers==4.43.3
|
| 10 |
accelerate==0.33.0
|
| 11 |
safetensors==0.4.4
|
| 12 |
-
bitsandbytes==0.43.1
|
| 13 |
|
| 14 |
# UI & client (Gradio 4.44 requires gradio_client 1.3.0)
|
| 15 |
gradio==4.44.0
|
| 16 |
gradio_client==1.3.0
|
| 17 |
-
websockets
|
| 18 |
|
| 19 |
# Data / utils
|
| 20 |
pandas==2.2.2
|
|
@@ -22,5 +23,6 @@ numpy==1.26.4
|
|
| 22 |
regex==2024.7.24
|
| 23 |
huggingface_hub==0.24.6
|
| 24 |
|
| 25 |
-
# Tokenization
|
| 26 |
sentencepiece==0.1.99
|
|
|
|
|
|
| 1 |
+
-c constraints.txt
|
| 2 |
--extra-index-url https://download.pytorch.org/whl/cu118
|
| 3 |
|
| 4 |
+
# PyTorch (CUDA 11.8 builds, good for T4)
|
| 5 |
torch==2.2.2+cu118
|
| 6 |
torchvision==0.17.2+cu118
|
| 7 |
torchaudio==2.2.2+cu118
|
| 8 |
|
| 9 |
+
# Core inference stack
|
| 10 |
transformers==4.43.3
|
| 11 |
accelerate==0.33.0
|
| 12 |
safetensors==0.4.4
|
| 13 |
+
bitsandbytes==0.43.1 # 4-bit/8-bit quant; stable on T4
|
| 14 |
|
| 15 |
# UI & client (Gradio 4.44 requires gradio_client 1.3.0)
|
| 16 |
gradio==4.44.0
|
| 17 |
gradio_client==1.3.0
|
| 18 |
+
websockets>=12.0 # required for websockets.asyncio.*
|
| 19 |
|
| 20 |
# Data / utils
|
| 21 |
pandas==2.2.2
|
|
|
|
| 23 |
regex==2024.7.24
|
| 24 |
huggingface_hub==0.24.6
|
| 25 |
|
| 26 |
+
# Tokenization / sentencepiece models support
|
| 27 |
sentencepiece==0.1.99
|
| 28 |
+
|