mirror of
https://github.com/s0md3v/roop.git
synced 2025-09-26 20:31:16 +08:00
Limit default threads for ROCM
This commit is contained in:
@@ -117,7 +117,7 @@ def suggest_execution_threads() -> int:
|
||||
if 'DmlExecutionProvider' in roop.globals.execution_providers:
|
||||
return 1
|
||||
if 'ROCMExecutionProvider' in roop.globals.execution_providers:
|
||||
return 2
|
||||
return 1
|
||||
return 8
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user