edwinbh commited on
Commit
406535b
·
verified ·
1 Parent(s): ca26019

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +25 -7
requirements.txt CHANGED
@@ -45,7 +45,9 @@ executing==2.2.1
45
  faiss-cpu==1.12.0
46
  fastapi==0.116.1
47
  fastjsonschema==2.21.2
48
- # fbgemm_gpu==1.3.0 # REMOVED - GPU only library
 
 
49
  filelock==3.19.1
50
  findspark==2.0.1
51
  flake8==7.3.0
@@ -135,7 +137,22 @@ notebook==7.4.5
135
  notebook_shim==0.2.4
136
  numba==0.61.2
137
  numpy==2.2.6
138
- # All nvidia-* packages removed - GPU only
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  oci==2.160.0
140
  openai==1.107.1
141
  opentelemetry-api==1.37.0
@@ -220,17 +237,18 @@ threadpoolctl==3.6.0
220
  tinycss2==1.4.0
221
  tokenizers==0.22.0
222
  toml==0.10.2
223
- # Replace GPU torch with CPU version
 
 
224
  torch==2.8.0
225
  torchmetrics==1.0.3
226
- torchrec==0.6.0
227
- #fbgemm-gpu==0.6.0
228
  torchvision==0.23.0
229
  tornado==6.5.2
230
  tqdm==4.67.1
231
  traitlets==5.14.3
232
  transformers==4.56.1
233
- # triton==3.4.0 # REMOVED - GPU only
234
  types-python-dateutil==2.9.0.20250822
235
  typing-inspect==0.9.0
236
  typing-inspection==0.4.1
@@ -249,4 +267,4 @@ Werkzeug==3.1.3
249
  widgetsnbextension==4.0.14
250
  xxhash==3.5.0
251
  zipp==3.23.0
252
- zstd==1.5.7.2
 
45
  faiss-cpu==1.12.0
46
  fastapi==0.116.1
47
  fastjsonschema==2.21.2
48
+ # CPU-only mode can use this instead of fbgemm_gpu
49
+ # Comment out fbgemm_gpu if you're running in CPU-only mode
50
+ fbgemm_gpu==1.3.0
51
  filelock==3.19.1
52
  findspark==2.0.1
53
  flake8==7.3.0
 
137
  notebook_shim==0.2.4
138
  numba==0.61.2
139
  numpy==2.2.6
140
+ # NVIDIA CUDA libraries - not required in CPU-only mode
141
+ # Comment these out if you're running in CPU-only mode or don't have NVIDIA drivers
142
+ nvidia-cublas-cu12==12.8.4.1
143
+ nvidia-cuda-cupti-cu12==12.8.90
144
+ nvidia-cuda-nvrtc-cu12==12.8.93
145
+ nvidia-cuda-runtime-cu12==12.8.90
146
+ nvidia-cudnn-cu12==9.10.2.21
147
+ nvidia-cufft-cu12==11.3.3.83
148
+ nvidia-cufile-cu12==1.13.1.3
149
+ nvidia-curand-cu12==10.3.9.90
150
+ nvidia-cusolver-cu12==11.7.3.90
151
+ nvidia-cusparse-cu12==12.5.8.93
152
+ nvidia-cusparselt-cu12==0.7.1
153
+ nvidia-nccl-cu12==2.27.3
154
+ nvidia-nvjitlink-cu12==12.8.93
155
+ nvidia-nvtx-cu12==12.8.90
156
  oci==2.160.0
157
  openai==1.107.1
158
  opentelemetry-api==1.37.0
 
237
  tinycss2==1.4.0
238
  tokenizers==0.22.0
239
  toml==0.10.2
240
+ # PyTorch and related libraries
241
+ # For CPU-only mode, you can use:
242
+ # pip install torch torchvision torchrec --index-url https://download.pytorch.org/whl/cpu
243
  torch==2.8.0
244
  torchmetrics==1.0.3
245
+ torchrec==0.6.0
 
246
  torchvision==0.23.0
247
  tornado==6.5.2
248
  tqdm==4.67.1
249
  traitlets==5.14.3
250
  transformers==4.56.1
251
+ triton==3.4.0
252
  types-python-dateutil==2.9.0.20250822
253
  typing-inspect==0.9.0
254
  typing-inspection==0.4.1
 
267
  widgetsnbextension==4.0.14
268
  xxhash==3.5.0
269
  zipp==3.23.0
270
+ zstd==1.5.7.2