Skip to content
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

About Loss #48

Open
joelulu opened this issue Sep 5, 2024 · 0 comments
Open

About Loss #48

joelulu opened this issue Sep 5, 2024 · 0 comments

Comments

@joelulu
Copy link

joelulu commented Sep 5, 2024

Thank you for the excellent work. I have two questions:

My understanding of distillation is that a student’s one inference step should be comparable to the teacher’s n inference steps. However, in both compute_distribution_matching_loss and compute_loss_fake, the true_unet and fake_unet only perform one-step denoising (for instance, if the generator is one step (399), the true_unet and fake_unet are also one step, assuming a random step of 540). Since the original true_unet also performs poorly with one-step denoising, why does this loss work?

I am trying to use DMD2 to distill a one-step SD cascade. Can I only use ### compute_distribution_matching_loss and compute_loss_fake?

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

No branches or pull requests

1 participant