File size: 743 Bytes
45f7cd2 |
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 |
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
|