mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
add job info to all jobs
This commit is contained in:
@@ -232,6 +232,8 @@ def reload_vae_weights(sd_model=None, vae_file=unspecified):
|
||||
from modules import lowvram, sd_hijack
|
||||
if not sd_model:
|
||||
sd_model = shared.sd_model
|
||||
if sd_model is None:
|
||||
return
|
||||
global checkpoint_info # pylint: disable=global-statement
|
||||
checkpoint_info = sd_model.sd_checkpoint_info
|
||||
checkpoint_file = checkpoint_info.filename
|
||||
|
||||
Reference in New Issue
Block a user