meaculpitt commited on
Commit
ede3cc8
·
verified ·
1 Parent(s): e159d1c

scorevision: push artifact

Browse files
Files changed (1) hide show
  1. chute_config.yml +34 -0
chute_config.yml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Image:
2
+ from_base: parachutes/python:3.12
3
+ run_command:
4
+ - pip install --upgrade setuptools wheel
5
+ - >-
6
+ pip install 'numpy>=1.23' 'onnxruntime-gpu>=1.16'
7
+ 'opencv-python-headless>=4.7' 'pillow>=9.5'
8
+ 'huggingface_hub>=0.19.4' 'pydantic>=2.0'
9
+ 'pyyaml>=6.0' 'aiohttp>=3.9'
10
+ - >-
11
+ python3 -c "
12
+ import os, nvidia.cudnn, nvidia.cublas;
13
+ cudnn=os.path.join(os.path.dirname(nvidia.cudnn.__file__),'lib');
14
+ cublas=os.path.join(os.path.dirname(nvidia.cublas.__file__),'lib');
15
+ open('/etc/ld.so.conf.d/nvidia-ort.conf','w').write(cudnn+chr(10)+cublas+chr(10))
16
+ " && ldconfig
17
+
18
+ NodeSelector:
19
+ gpu_count: 1
20
+ min_vram_gb_per_gpu: 16
21
+ include:
22
+ - 4090
23
+ - a100
24
+ - a100_sxm
25
+ - h100
26
+ - h100_sxm
27
+ - l40s
28
+ - a40
29
+
30
+ Chute:
31
+ timeout_seconds: 300
32
+ concurrency: 4
33
+ max_instances: 5
34
+ scaling_threshold: 0.5