Rajhuggingface4253 commited on
Commit
b2178c5
·
verified ·
1 Parent(s): 8aa3dc8

Create requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +34 -0
requirements.txt ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # FastAPI LFM2.5-VL Vision Backend Dependencies
2
+ # CPU-friendly with ONNX Runtime and Q8 quantization
3
+
4
+ # Web Framework
5
+ fastapi>=0.109.0
6
+ uvicorn[standard]>=0.27.0
7
+
8
+ # Server-Sent Events for Streaming
9
+ sse-starlette>=2.0.0
10
+
11
+ # ONNX Runtime for fast CPU inference
12
+ onnxruntime>=1.17.0
13
+
14
+ # Transformers for processor (image + text processing)
15
+ transformers>=4.40.0
16
+ huggingface-hub>=0.21.0
17
+ tokenizers>=0.19.0
18
+ sentencepiece>=0.1.99
19
+
20
+ # Configuration
21
+ pydantic-settings>=2.1.0
22
+
23
+ # Utilities
24
+ python-multipart>=0.0.9
25
+ numpy>=1.24.0
26
+
27
+ # Image processing
28
+ pillow>=10.0.0
29
+ aiofiles>=23.0.0
30
+ aiohttp
31
+ # PyTorch CPU-only (required for processor/tokenizer compatibility)
32
+ --extra-index-url https://download.pytorch.org/whl/cpu
33
+ torch
34
+ torchvision