Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +10 -6
requirements.txt
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Core LangChain and LangGraph packages
|
| 2 |
langgraph>=0.2.0
|
| 3 |
langchain-core>=0.3.0
|
|
@@ -7,12 +12,9 @@ langchain-huggingface>=0.1.0
|
|
| 7 |
# UI Framework
|
| 8 |
gradio>=4.44.0
|
| 9 |
|
| 10 |
-
#
|
| 11 |
-
torch>=2.0.0
|
| 12 |
-
transformers>=4.41.2
|
| 13 |
-
accelerate>=0.30.0
|
| 14 |
bitsandbytes>=0.43.0
|
| 15 |
-
flash-attn
|
| 16 |
|
| 17 |
# Utilities
|
| 18 |
python-dotenv>=1.0.0
|
|
@@ -30,5 +32,7 @@ langsmith
|
|
| 30 |
# Optional: OpenAI integration if needed
|
| 31 |
# langchain-openai
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
| 34 |
# pip install -r requirements.txt
|
|
|
|
| 1 |
+
# Core ML/AI packages (install these first)
|
| 2 |
+
torch>=2.0.0
|
| 3 |
+
transformers>=4.41.2
|
| 4 |
+
accelerate>=0.30.0
|
| 5 |
+
|
| 6 |
# Core LangChain and LangGraph packages
|
| 7 |
langgraph>=0.2.0
|
| 8 |
langchain-core>=0.3.0
|
|
|
|
| 12 |
# UI Framework
|
| 13 |
gradio>=4.44.0
|
| 14 |
|
| 15 |
+
# Optional performance optimization (install separately if needed)
|
|
|
|
|
|
|
|
|
|
| 16 |
bitsandbytes>=0.43.0
|
| 17 |
+
# flash-attn>=2.5.0 # Install manually after torch
|
| 18 |
|
| 19 |
# Utilities
|
| 20 |
python-dotenv>=1.0.0
|
|
|
|
| 32 |
# Optional: OpenAI integration if needed
|
| 33 |
# langchain-openai
|
| 34 |
|
| 35 |
+
flash-attn
|
| 36 |
+
|
| 37 |
+
# Installation commands:
|
| 38 |
# pip install -r requirements.txt
|