perf: cap torch threads per camera worker

Default TORCH_NUM_THREADS=1 so 14-20 workers do not each spawn a
28-thread BLAS pool.
This commit is contained in:
root
2026-08-28 06:17:33 +00:00
parent 950128deec
commit 23c2e9c4c0
6 changed files with 34 additions and 2 deletions
+1
View File
@@ -43,6 +43,7 @@ def worker_args_for(cfg, cam) -> list[str]:
"--enhance-chunk-s", str(cfg.enhance_chunk_s),
"--enhance-hop-s", str(cfg.enhance_hop_s),
"--beamform-mode", cfg.beamform_mode,
"--torch-num-threads", str(cfg.torch_num_threads),
]