# -------------------------------------------------------------------------- # Server-only requirements for the HuggingFace Space deployment. # Training-only deps (torch, transformers, trl, peft, accelerate, unsloth, # wandb, matplotlib) are intentionally NOT installed here -- they bloat the # image to ~6GB and trigger OOM on the free Space. # Use `pyproject.toml` extras (`pip install -e .[train]`) when training. # -------------------------------------------------------------------------- fastapi>=0.115.0 uvicorn[standard]>=0.31.0 uvloop>=0.20.0; platform_system != "Windows" httptools>=0.6.1 pydantic>=2.9.2 datasets>=2.21.0 httpx>=0.27.2 numpy>=1.26.0 orjson>=3.10.7 python-dotenv>=1.0.1 redis>=5.1.1