Implement memory estimation for AMDGPUs.

Stable.
This commit is contained in:
Seunghoon Lee
2023-04-26 17:44:32 +09:00
parent df0e89be48
commit d2d5011bd3
10 changed files with 47 additions and 53 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ def get_dml_device_string():
from modules import shared
if shared.cmd_opts.device_id is not None:
return f"privateuseone:{shared.cmd_opts.device_id}"
return "privateuseone"
return "privateuseone:0"
def get_optimal_device_name():