mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-03-13 17:30:01 +00:00
feat: cpu for medvram_sdxl
This commit is contained in:
@@ -226,7 +226,8 @@ class AfterDetailerScript(scripts.Script):
|
||||
if platform.system() == "Darwin":
|
||||
return ""
|
||||
|
||||
if any(getattr(cmd_opts, vram, False) for vram in ["lowvram", "medvram"]):
|
||||
vram_args = ["lowvram", "medvram", "medvram_sdxl"]
|
||||
if any(getattr(cmd_opts, vram, False) for vram in vram_args):
|
||||
return "cpu"
|
||||
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user