Kal1510 commited on
Commit
a37a821
·
verified ·
1 Parent(s): c24a548

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +15 -16
requirements.txt CHANGED
@@ -1,27 +1,26 @@
1
- # Use prebuilt CPU wheel for llama-cpp-python
2
  --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
3
- llama-cpp-python
4
 
5
- # Core ML dependencies
6
- torch
7
  transformers
8
- accelerate
9
 
10
- # LangChain & embeddings
 
 
 
11
  langchain
12
  langchain-community
13
- langchain-huggingface
14
- langchain-prompty
15
  sentence-transformers
16
- faiss-cpu
17
 
18
- # Utility
 
 
19
  openpyxl
20
  pacmap
21
- PyPDF2
22
- gradio
23
 
24
- # Optional - comment out if not using
25
- # bitsandbytes # Not supported on Spaces (GPU only)
26
- # langchain-groq # Only if using Groq API
27
- # ragatouille # Only if actually used
 
1
+ --prefer-binary # Force pip to use pre-built wheels where possible
2
  --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
 
3
 
4
+ # Core ML
5
+ # Specify a version to avoid conflicts
6
  transformers
 
7
 
8
+ # Quantized LLaMA (prebuilt CPU wheel)
9
+ llama-cpp-python # Pin version for stability
10
+
11
+ # LangChain & Embeddings
12
  langchain
13
  langchain-community
 
 
14
  sentence-transformers
15
+ faiss-cpu # Prebuilt, no compilation needed
16
 
17
+ # Gradio & Utilities
18
+ gradio
19
+ PyPDF2
20
  openpyxl
21
  pacmap
 
 
22
 
23
+ # Optional (comment if unused)
24
+ # bitsandbytes>=0.43.0 # Spaces GPU only
25
+ # langchain-groq>=0.1.0 # Groq API dependency
26
+ # ragatouille>=0.0.4 # ColBERT (requires build)