mirror of
https://github.com/facefusion/facefusion.git
synced 2026-11-21 17:31:00 +01:00
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:
1 parent
aa53201f6e
commit
e7d8899c13
1 file changed
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user