Liyulingyue commited on
Commit
bfc6511
·
verified ·
1 Parent(s): 6c9ed51

Upload requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +35 -0
requirements.txt ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PaddleOCR-VL GGUF 版本依赖
2
+
3
+ # 深度学习框架
4
+ torch>=2.0.0
5
+ torchvision>=0.15.0
6
+
7
+ # Transformers 和相关库
8
+ transformers>=4.35.0
9
+ einops>=0.7.0
10
+ sentencepiece>=0.1.99
11
+
12
+ # llama.cpp Python 绑定 (核心依赖)
13
+ llama-cpp-python>=0.2.0
14
+
15
+ # Web 服务
16
+ fastapi>=0.104.0
17
+ uvicorn[standard]>=0.24.0
18
+
19
+ # 图像处理
20
+ Pillow>=10.0.0
21
+
22
+ # 其他工具
23
+ requests>=2.31.0
24
+ numpy>=1.24.0
25
+
26
+ # 可选: 性能优化
27
+ # accelerate>=0.24.0 # 加速模型加载
28
+ # bitsandbytes>=0.41.0 # 8-bit 优化
29
+
30
+ # 注意: llama-cpp-python 安装
31
+ # CPU 版本: pip install llama-cpp-python
32
+ # GPU 版本 (CUDA): CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
33
+ # GPU 版本 (Metal/Mac): CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
34
+
35
+ protobuf