scorevision: push artifact
Browse files- chute_config.yml +13 -9
chute_config.yml
CHANGED
|
@@ -2,22 +2,26 @@ Image:
|
|
| 2 |
from_base: parachutes/python:3.12
|
| 3 |
run_command:
|
| 4 |
- pip install --upgrade setuptools wheel
|
| 5 |
-
#
|
| 6 |
-
# a model saved by 8.4 will not reliably load under the template's old 8.2.40 pin.
|
| 7 |
- pip install huggingface_hub ultralytics==8.4.112 torch opencv-python-headless
|
| 8 |
set_workdir: /app
|
| 9 |
|
| 10 |
NodeSelector:
|
| 11 |
gpu_count: 1
|
| 12 |
-
#
|
| 13 |
-
# available on pro_6000 nodes:
|
| 14 |
-
# "TEE with node_selector include=['pro_6000'] is required now for
|
| 15 |
-
# integrated subnet chutes."
|
| 16 |
include:
|
| 17 |
- pro_6000
|
| 18 |
|
| 19 |
Chute:
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
concurrency: 4
|
| 22 |
-
max_instances:
|
| 23 |
-
|
|
|
|
|
|
| 2 |
from_base: parachutes/python:3.12
|
| 3 |
run_command:
|
| 4 |
- pip install --upgrade setuptools wheel
|
| 5 |
+
# must match the training env (ultralytics 8.4.x) or the weights won't load
|
|
|
|
| 6 |
- pip install huggingface_hub ultralytics==8.4.112 torch opencv-python-headless
|
| 7 |
set_workdir: /app
|
| 8 |
|
| 9 |
NodeSelector:
|
| 10 |
gpu_count: 1
|
| 11 |
+
# TEE is mandatory for integrated subnet chutes, and TEE only runs on pro_6000
|
|
|
|
|
|
|
|
|
|
| 12 |
include:
|
| 13 |
- pro_6000
|
| 14 |
|
| 15 |
Chute:
|
| 16 |
+
# Scoring windows open every 300 blocks (~60 min) at first_block + k*300.
|
| 17 |
+
# warm_scheduler.py wakes the chute ~8 min before each boundary; this value
|
| 18 |
+
# then keeps it alive ~20 min so it comfortably covers the challenge, and
|
| 19 |
+
# lets it scale to zero for the remaining ~40 min. Idling costs $1.80/h, so
|
| 20 |
+
# this roughly a third of the 24/7 bill while still answering every window.
|
| 21 |
+
# (The default 300s was too short: every challenge paid a cold start and
|
| 22 |
+
# blew the element's ~100ms latency target, which is why we scored nothing.)
|
| 23 |
+
shutdown_after_seconds: 1200
|
| 24 |
concurrency: 4
|
| 25 |
+
max_instances: 2
|
| 26 |
+
# scale up early rather than queueing behind a busy instance
|
| 27 |
+
scaling_threshold: 0.25
|