31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
fastapi>=0.109.0
|
|
uvicorn[standard]>=0.27.0
|
|
rapidfuzz>=3.0.0
|
|
Pillow>=10.0.0
|
|
|
|
# --- GPU-specific installs (mcrn: RTX 3080, CUDA toolkit 12.8) ---
|
|
#
|
|
# torch: must be installed from the PyTorch index, NOT from PyPI.
|
|
# cu126 is the closest build to CUDA 12.8 (no cu128 wheel yet; cu126 is forward-compatible).
|
|
# Install with:
|
|
# uv pip install --reinstall torch torchvision --index-url https://download.pytorch.org/whl/cu126
|
|
#
|
|
# ultralytics pulls torch as a dependency — reinstall torch after ultralytics to ensure
|
|
# the correct CUDA build. Mixing the PyPI torch with CUDA 12.8 causes NCCL symbol errors.
|
|
ultralytics>=8.0.0
|
|
|
|
# paddlepaddle-gpu: NOT available on PyPI. Install from PaddlePaddle's package index.
|
|
# cu126 build works on CUDA 12.8.
|
|
# Install with:
|
|
# uv pip install paddlepaddle-gpu==3.0.0 -i https://www.paddlepaddle.org.cn/packages/stable/cu126/
|
|
paddleocr>=3.0.0
|
|
|
|
# VLM (moondream2) — uses torch (already installed above)
|
|
# Pinned <5: transformers 5.x broke moondream2's custom model code
|
|
# (all_tied_weights_keys API change). Also needs accelerate for device_map.
|
|
transformers>=4.40.0,<5
|
|
accelerate>=0.27.0
|
|
|
|
# Preprocessing (phase 12)
|
|
opencv-python-headless>=4.8.0
|