Skip to content

[Advanced Diffusion Training] Cache latents to avoid VAE passes for every training step #6076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

apolinario
Copy link
Collaborator

This PR adds the ability to cache the latents of the images so that redundant VAE passes are avoided

@linoytsaban
Copy link
Collaborator

LGTM!

@apolinario apolinario merged commit 466d32c into main Dec 6, 2023
donhardman pushed a commit to donhardman/diffusers that referenced this pull request Dec 18, 2023
AmericanPresidentJimmyCarter pushed a commit to AmericanPresidentJimmyCarter/diffusers that referenced this pull request Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants