baxtos commited on
Commit
684f3a8
·
verified ·
1 Parent(s): dbc520e

v6: chute_config verbatim from working peer navierstocks/offense

Browse files

- explicit pip install torch torchvision (template imports torch; base image may no longer ship it)
- pillow>=9.5 added
- opencv-python (full) instead of -headless
- drop set_workdir: /app (peer doesn't use)
- timeout_seconds: 900 (forwards to FastAPI via **kwargs)
- concurrency: 1 -> 4 (peer)
- shutdown_after_seconds: 86400 -> 288000 (peer, 80h)
miner.py kept from v5 (eager CUDA warmup in __init__)

Files changed (1) hide show
  1. chute_config.yml +6 -5
chute_config.yml CHANGED
@@ -2,8 +2,8 @@ Image:
2
  from_base: parachutes/python:3.12
3
  run_command:
4
  - pip install --upgrade setuptools wheel
5
- - pip install 'huggingface_hub>=0.19.4' 'onnxruntime-gpu[cuda,cudnn]>=1.16' 'opencv-python-headless>=4.7' 'numpy>=1.23' 'pydantic>=2.0' 'pyyaml>=6.0' 'aiohttp>=3.9'
6
- set_workdir: /app
7
 
8
  NodeSelector:
9
  gpu_count: 1
@@ -13,8 +13,9 @@ NodeSelector:
13
  - pro_6000
14
 
15
  Chute:
16
- tee: true
17
- shutdown_after_seconds: 86400
18
- concurrency: 1
19
  max_instances: 5
20
  scaling_threshold: 0.5
 
 
 
2
  from_base: parachutes/python:3.12
3
  run_command:
4
  - pip install --upgrade setuptools wheel
5
+ - 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'
6
+ - pip install torch torchvision
7
 
8
  NodeSelector:
9
  gpu_count: 1
 
13
  - pro_6000
14
 
15
  Chute:
16
+ timeout_seconds: 900
17
+ concurrency: 4
 
18
  max_instances: 5
19
  scaling_threshold: 0.5
20
+ shutdown_after_seconds: 288000
21
+ tee: true