get lowvram from sd_model (#404)

pull/444/head v1.13.1
Jabasukuriputo Wang 2024-02-18 22:47:23 -06:00 committed by GitHub
parent fe02e05d85
commit 4c3ec2e5fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class AnimateDiffMM:
AnimateDiffMM.mm_injected = False
logger.info(f"Removal finished.")
if shared.cmd_opts.lowvram:
if sd_model.lowvram:
self.unload()