Limit default threads for ROCM

This commit is contained in:
henryruhs
2023-06-20 15:34:01 +02:00
parent c554884c90
commit 3929d87845

View File

@@ -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