scorevision: push artifact
Browse files- chute_config.yml +29 -0
chute_config.yml
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Image:
|
| 2 |
+
from_base: parachutes/python:3.12
|
| 3 |
+
run_command:
|
| 4 |
+
- pip install --upgrade setuptools wheel
|
| 5 |
+
# Same runtime as Score's CPU compliance re-run, so the chute and the audit produce the same boxes.
|
| 6 |
+
- pip install 'onnxruntime==1.26.0' 'numpy>=2,<3' 'opencv-python-headless>=4.8' 'pydantic>=2.0' 'pyyaml>=6.0' 'aiohttp>=3.9' 'huggingface_hub>=0.30' 'pillow>=10'
|
| 7 |
+
# The chute template imports torch; the CPU build is enough (the model runs on onnxruntime CPU).
|
| 8 |
+
- pip install torch --index-url https://download.pytorch.org/whl/cpu
|
| 9 |
+
set_workdir: /app
|
| 10 |
+
|
| 11 |
+
NodeSelector:
|
| 12 |
+
gpu_count: 1
|
| 13 |
+
min_vram_gb_per_gpu: 16
|
| 14 |
+
max_hourly_price_per_gpu: 0.26
|
| 15 |
+
include:
|
| 16 |
+
- a4000
|
| 17 |
+
- a4000_ada
|
| 18 |
+
- "3090"
|
| 19 |
+
- a5000
|
| 20 |
+
- l4
|
| 21 |
+
- a10
|
| 22 |
+
|
| 23 |
+
Chute:
|
| 24 |
+
# Tests arrive about once an hour and a cold chute scores 0 (the validator's wake-up call fails),
|
| 25 |
+
# so never shut down for idleness; a keep-warm ping also runs every few minutes.
|
| 26 |
+
shutdown_after_seconds: 86400
|
| 27 |
+
concurrency: 4
|
| 28 |
+
max_instances: 1
|
| 29 |
+
scaling_threshold: 0.75
|