podman-standalone.sh: - Add HF_CACHE_DIR=/opt/turnstone/hf-cache with mkdir guard - Mount HF_HOME=/hf-cache so model weights persist across restarts - Forward all multi-agent env vars (TURNSTONE_MULTI_AGENT_DIAGNOSE, GPU_SERVER_URL, TURNSTONE_CLASSIFIER_MODEL, TURNSTONE_EMBED_*) - Add documentation comments for Daniel/Xander remote instance setup requirements.txt: - Add torch (CPU-only), transformers, sentence-transformers for the 5-stage multi-agent diagnose pipeline (classifier + suppressor stages) - Use --extra-index-url for cpu wheel to keep image ~2GB lighter - Both modules keep ImportError guards so server starts without them, but container images should ship fully capable
18 lines
558 B
Text
18 lines
558 B
Text
fastapi>=0.110.0
|
|
uvicorn[standard]>=0.27.0
|
|
pydantic>=2.0.0
|
|
pyyaml>=6.0
|
|
aiofiles>=23.0.0
|
|
python-multipart>=0.0.9
|
|
dateparser>=1.2.0
|
|
httpx>=0.27.0
|
|
paramiko
|
|
|
|
# Multi-agent diagnose pipeline — ML deps
|
|
# classifier.py and suppressor.py have ImportError guards and fall back gracefully,
|
|
# but these are included unconditionally so container images are fully capable.
|
|
# Install CPU-only torch to avoid pulling the ~2GB CUDA wheel into the image.
|
|
--extra-index-url https://download.pytorch.org/whl/cpu
|
|
torch>=2.2.0
|
|
transformers>=4.40.0
|
|
sentence-transformers>=3.0.0
|