| Image: | |
| from_base: parachutes/python:3.12 | |
| run_command: | |
| - pip install --upgrade setuptools wheel | |
| # Minimal runtime deps (SAM + OpenCV). | |
| # NOTE: Miner runtime has egress disabled; do NOT download weights at runtime. | |
| - pip install 'torch<2.6' opencv-python-headless numpy | |
| # If you're using Meta Segment Anything (SAM), install the package. | |
| # (If this fails on Chutes, replace with a pinned wheel in your repo or a different SAM implementation.) | |
| - pip install segment-anything | |
| set_workdir: /app | |
| NodeSelector: | |
| gpu_count: 1 | |
| min_vram_gb_per_gpu: 16 | |
| exclude: | |
| - "5090" | |
| - b200 | |
| - h200 | |
| - h20 | |
| - mi300x | |
| Chute: | |
| timeout_seconds: 300 | |
| concurrency: 4 | |
| max_instances: 5 | |
| scaling_threshold: 0.5 | |