jdesiree commited on
Commit
0c423c7
·
verified ·
1 Parent(s): 6953aaf

Updated for ZeroGPU

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -10
requirements.txt CHANGED
@@ -1,8 +1,10 @@
1
- # Core ML/AI packages (install these first)
2
- transformers==4.41.2
3
- torch==2.3.1
4
- accelerate==0.31.0
5
- # flash-attn>=2.5.0 # Install manually after torch
 
 
6
 
7
  # Core LangChain and LangGraph packages
8
  langgraph>=0.2.0
@@ -11,7 +13,7 @@ langchain-community>=0.3.0
11
  langchain-huggingface>=0.1.0
12
 
13
  # UI Framework
14
- gradio>=4.44.0
15
 
16
  # Utilities
17
  python-dotenv>=1.0.0
@@ -27,7 +29,4 @@ scipy>=1.10.0
27
  langsmith
28
 
29
  # Optional: OpenAI integration if needed
30
- # langchain-openai
31
-
32
- # Installation commands:
33
- # pip install -r requirements.txt
 
1
+ # ZeroGPU compatibility - DO NOT specify torch versions
2
+ spaces
3
+
4
+ # Core ML/AI packages
5
+ transformers>=4.41.0
6
+ accelerate>=0.31.0
7
+ # torch will be provided by ZeroGPU environment
8
 
9
  # Core LangChain and LangGraph packages
10
  langgraph>=0.2.0
 
13
  langchain-huggingface>=0.1.0
14
 
15
  # UI Framework
16
+ gradio==5.44.1
17
 
18
  # Utilities
19
  python-dotenv>=1.0.0
 
29
  langsmith
30
 
31
  # Optional: OpenAI integration if needed
32
+ # langchain-openai