Skip to content

Commit

Permalink
Merge branch 'sd3' into diff_output_prsv
Browse files Browse the repository at this point in the history
  • Loading branch information
kohya-ss committed Oct 19, 2024
2 parents 2c45d97 + d8d7142 commit 09b4d1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdxl_train_control_net_lllite.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def train(args):
vae.requires_grad_(False)
vae.eval()

train_dataset_group.new_cache_latents(vae, accelerator.is_main_process)
train_dataset_group.new_cache_latents(vae, accelerator)

vae.to("cpu")
clean_memory_on_device(accelerator.device)
Expand Down

0 comments on commit 09b4d1e

Please sign in to comment.