Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +14 -6
requirements.txt
CHANGED
@@ -1,18 +1,21 @@
|
|
1 |
-
|
2 |
torch # Latest CUDA-enabled version
|
3 |
torchvision
|
4 |
torchaudio
|
5 |
transformers>=4.36.0
|
6 |
sentence-transformers
|
7 |
-
faiss-gpu==1.7.2
|
8 |
accelerate>=0.26.0
|
9 |
bitsandbytes>=0.41.0
|
10 |
numpy<2.0 # Downgrade for compatibility with FAISS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
gradio
|
12 |
-
tqdm
|
13 |
-
python-dotenv
|
14 |
-
langchain
|
15 |
-
langchain-community
|
16 |
|
17 |
# Machine Learning dependencies
|
18 |
tf-keras
|
@@ -31,3 +34,8 @@ pandas
|
|
31 |
pytest
|
32 |
sentencepiece
|
33 |
protobuf
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Core Libraries
|
2 |
torch # Latest CUDA-enabled version
|
3 |
torchvision
|
4 |
torchaudio
|
5 |
transformers>=4.36.0
|
6 |
sentence-transformers
|
7 |
+
faiss-gpu==1.7.2 # Use GPU-optimized FAISS
|
8 |
accelerate>=0.26.0
|
9 |
bitsandbytes>=0.41.0
|
10 |
numpy<2.0 # Downgrade for compatibility with FAISS
|
11 |
+
|
12 |
+
# Hugging Face and LangChain
|
13 |
+
huggingface_hub>=0.12.0 # Specify version for compatibility
|
14 |
+
langchain>=0.2.0 # Ensure latest compatible version
|
15 |
+
langchain-community>=0.2.0 # Align with updated imports
|
16 |
+
|
17 |
+
# Gradio for Interface
|
18 |
gradio
|
|
|
|
|
|
|
|
|
19 |
|
20 |
# Machine Learning dependencies
|
21 |
tf-keras
|
|
|
34 |
pytest
|
35 |
sentencepiece
|
36 |
protobuf
|
37 |
+
ipython # Required for IPython display
|
38 |
+
|
39 |
+
# Utilities
|
40 |
+
python-dotenv
|
41 |
+
tqdm
|