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
+4
View File
@@ -9,3 +9,7 @@ def test_parse_cameras_list():
def test_default_beamform_mode_auto():
assert Config().beamform_mode == "auto"
def test_torch_num_threads_default_one():
assert Config().torch_num_threads == 1