mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-05-01 03:31:21 +00:00
feat: cpu for medvram_sdxl
This commit is contained in:
@@ -226,7 +226,8 @@ class AfterDetailerScript(scripts.Script):
|
|||||||
if platform.system() == "Darwin":
|
if platform.system() == "Darwin":
|
||||||
return ""
|
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 "cpu"
|
||||||
|
|
||||||
return ""
|
return ""
|
||||||
|
|||||||
Reference in New Issue
Block a user