File size: 2,317 Bytes
9fd6d94
f79242c
 
1feca1e
 
 
 
 
e822c1e
f79242c
1feca1e
 
 
f79242c
aa673de
f79242c
 
 
 
bcad0bb
f79242c
9fd6d94
1feca1e
f79242c
aa673de
 
 
1feca1e
f79242c
1feca1e
f79242c
1feca1e
 
f79242c
1feca1e
 
 
 
f79242c
1feca1e
 
 
f79242c
1feca1e
 
f79242c
1feca1e
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# requirements.txt — Enterprise Lens V4 (rebuild: omegaconf)

--extra-index-url https://download.pytorch.org/whl/cpu

# ── Web framework ────────────────────────────────────────────────
fastapi==0.115.6
uvicorn[standard]==0.32.1
python-multipart==0.0.20
fvcore
# ── PyTorch CPU-only ─────────────────────────────────────────────
torch==2.4.1+cpu
torchvision==0.19.1+cpu

# ── HuggingFace stack ─────────────────────────────────────────────
# transformers unpinned — let pip resolve to avoid conflicts with ultralytics
transformers
huggingface_hub>=0.26.0
safetensors>=0.4.0
tokenizers>=0.20.0
sentencepiece
accelerate>=1.1.0
omegaconf

# ── InsightFace — SCRFD + ArcFace-R100 ───────────────────────────
# insightface 0.7.3 has no pre-built wheel → pip tries to compile C++
# and fails without g++. Using 0.7.3 with g++ now added to Dockerfile.
# onnxruntime provides CPU ONNX inference for InsightFace models.
insightface==0.7.3
onnxruntime==1.19.2

# ── YOLO — object segmentation ───────────────────────────────────
ultralytics==8.3.27

# ── Computer vision ───────────────────────────────────────────────
opencv-python-headless==4.10.0.84
Pillow==11.0.0
numpy==1.26.4

# ── Vector DB + CDN ──────────────────────────────────────────────
pinecone==5.4.1
cloudinary==1.41.0

# ── Async HTTP ───────────────────────────────────────────────────
aiohttp==3.11.9

# ── Utilities ────────────────────────────────────────────────────
loguru==0.7.2
inflect==7.4.0
python-dotenv==1.0.1