remove OMP_NUM_THREADS pin

Benchmarks on master and v4 (cuda, bella.mp4, 300 frames) show no
measurable difference between OMP_NUM_THREADS=1 and the default; the
historical pin buys nothing for this workload.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014Tsq4PPbu13EpTbRVtDLp4
This commit is contained in:
henryruhsandClaude Opus 4.8 committed 2026-09-22 22:21:39 +02:00
1 parent aa53201f6e
commit e7d8899c13
1 file changed
-2
-2
View File
@@ -11,7 +11,6 @@ def setup() -> None:
if not environment_ready:
if is_linux():
os.environ['OMP_NUM_THREADS'] = '1'
os.environ['MALLOC_ARENA_MAX'] = '4'
os.environ['ENVIRONMENT_READY'] = '1'
@@ -32,7 +31,6 @@ def setup() -> None:
os.execv(sys.executable, [ sys.executable ] + sys.argv)
if is_windows():
os.environ['OMP_NUM_THREADS'] = '1'
os.environ['ENVIRONMENT_READY'] = '1'
if conda_prefix: