mars44 commited on
Commit
1d75111
·
verified ·
1 Parent(s): 9d4130b

scorevision: push artifact

Browse files
Files changed (1) hide show
  1. chute_config.yml +27 -0
chute_config.yml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Chutes runtime config, uploaded into the Hugging Face repo next to weights.onnx
2
+ # and miner.py. The turbovision chute template reads it from the repo snapshot at
3
+ # deploy time (CHUTE_CONFIG_FILENAME = "chute_config.yml") and feeds the three
4
+ # sections to chutes.image.Image / chutes.chute.NodeSelector / chutes.chute.Chute.
5
+ # Unknown keys are dropped silently, so keep the names exact.
6
+ #
7
+ # build_output_miner.py copies this into output/miner/ as part of the upload.
8
+ Image:
9
+ from_base: parachutes/python:3.12
10
+ run_command:
11
+ - pip install --upgrade setuptools wheel
12
+ - 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'
13
+ - pip install torch==2.8.0 torchvision==0.23.0 torchaudio==2.8.0 --index-url https://download.pytorch.org/whl/cu128
14
+
15
+ NodeSelector:
16
+ gpu_count: 1
17
+ min_vram_gb_per_gpu: 16
18
+ include:
19
+ - pro_6000
20
+
21
+ Chute:
22
+ timeout_seconds: 900
23
+ concurrency: 4
24
+ max_instances: 5
25
+ scaling_threshold: 0.5
26
+ shutdown_after_seconds: 288000
27
+ tee: true