scorevision: push artifact
Browse files- chute_config.yml +32 -0
chute_config.yml
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Production chute config for the SN44 public track.
|
| 2 |
+
#
|
| 3 |
+
# shutdown_after_seconds is THE critical field. Challenges arrive roughly
|
| 4 |
+
# once per hour; the stock example_miner config uses 300 (5 min), so the
|
| 5 |
+
# chute would sleep between every challenge. A cold chute returns 503, the
|
| 6 |
+
# validator then tries to warm it and CRASHES with
|
| 7 |
+
# FileNotFoundError: [Errno 2] No such file or directory: 'chutes'
|
| 8 |
+
# (its warmup path shells out to a `chutes` binary it does not have), so the
|
| 9 |
+
# miner is scored 0. Observed live on SBD-fire1: 15 of 19 recent challenges
|
| 10 |
+
# zeroed this way, despite scoring 0.5467 whenever it happened to be warm.
|
| 11 |
+
# 30+ zeros also triggers the PERMANENT inactive-miners delisting.
|
| 12 |
+
#
|
| 13 |
+
# Every serious competitor on the lane uses 288000 (3.3 days). So do we.
|
| 14 |
+
Image:
|
| 15 |
+
from_base: parachutes/python:3.12
|
| 16 |
+
run_command:
|
| 17 |
+
- pip install --upgrade setuptools wheel
|
| 18 |
+
- pip install 'numpy>=1.23' 'onnxruntime-gpu>=1.16' 'opencv-python>=4.7' 'pillow>=9.5' 'huggingface_hub>=0.19.4' 'pydantic>=2.0' 'pyyaml>=6.0' 'aiohttp>=3.9'
|
| 19 |
+
- pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128
|
| 20 |
+
|
| 21 |
+
NodeSelector:
|
| 22 |
+
gpu_count: 1
|
| 23 |
+
min_vram_gb_per_gpu: 16
|
| 24 |
+
max_hourly_price_per_gpu: 2
|
| 25 |
+
|
| 26 |
+
Chute:
|
| 27 |
+
timeout_seconds: 900
|
| 28 |
+
concurrency: 4
|
| 29 |
+
max_instances: 5
|
| 30 |
+
scaling_threshold: 0.5
|
| 31 |
+
shutdown_after_seconds: 288000 # NEVER lower this - see header
|
| 32 |
+
tee: true
|