ArthurSword commited on
Commit
4e258db
·
verified ·
1 Parent(s): 7ea9ac2

scorevision: push artifact

Browse files
Files changed (1) hide show
  1. chute_config.yml +36 -0
chute_config.yml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # deploy/chute_config.yml — SN44 road-signs miner (tatjr13/rs1) Chutes runtime config.
2
+ #
3
+ # This file is UPLOADED INTO THE HF REPO alongside weights.onnx + miner.py (01_hf_push.sh
4
+ # stages it). The turbovision chute template loads it FROM the HF repo snapshot at deploy
5
+ # time (turbovision_chute.py.j2: CHUTE_CONFIG_FILENAME = "chute_config.yml";
6
+ # load_chute_config_from_hf_repo(...)) and feeds the three sections to
7
+ # chutes.image.Image / chutes.chute.NodeSelector / chutes.chute.Chute via
8
+ # safe_instantiate() — unknown keys are silently dropped, so keep names exact.
9
+ #
10
+ # Mirrored VERBATIM from the live car-wash winner Realfencer/ScoreVision@d2b7d836
11
+ # (same runtime class the current road-signs winner uses: onnxruntime-gpu image,
12
+ # 1x GPU >= 16 GB, pro_6000 node, tee: true) — fetched + verified 2026-08-25.
13
+ # Only difference vs Realfencer: none (config is model-file agnostic; our repo/file
14
+ # names live in the HF repo + template variables, not here).
15
+
16
+ Image:
17
+ from_base: parachutes/python:3.12
18
+ run_command:
19
+ - pip install --upgrade setuptools wheel
20
+ - pip install 'numpy>=1.23' 'onnxruntime-gpu[cuda,cudnn]>=1.16' 'opencv-python>=4.7' 'pillow>=9.5' 'huggingface_hub>=0.19.4' 'pydantic>=2.0' 'pyyaml>=6.0' 'aiohttp>=3.9'
21
+ - pip install torch torchvision
22
+
23
+ NodeSelector:
24
+ gpu_count: 1
25
+ min_vram_gb_per_gpu: 16
26
+ max_hourly_price_per_gpu: 2
27
+ include:
28
+ - pro_6000
29
+
30
+ Chute:
31
+ timeout_seconds: 900
32
+ concurrency: 4
33
+ max_instances: 5
34
+ scaling_threshold: 0.5
35
+ shutdown_after_seconds: 288000
36
+ tee: true