mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-29 18:51:37 +00:00
Various bug fixes
This commit is contained in:
@@ -10,7 +10,7 @@ def load_vae(vae_path, dtype):
|
||||
except Exception as e:
|
||||
try:
|
||||
vae = AutoencoderKL.from_pretrained(
|
||||
vae_path.vae_path,
|
||||
vae_path,
|
||||
subfolder="vae",
|
||||
torch_dtype=dtype,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user