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

Patch size 2 for HDiT #107

Open
yuanzhi-zhu opened this issue May 10, 2024 · 1 comment
Open

Patch size 2 for HDiT #107

yuanzhi-zhu opened this issue May 10, 2024 · 1 comment

Comments

@yuanzhi-zhu
Copy link

Is there expr of HDiT with patch size of 2?
According to DiT, a big improvement is expected from patch size 4 to 2.

@stefan-baumann
Copy link

A patch size of 2 is overkill for pixel space diffusion models. Due to the VAE, a patch size of 2 in DiT corresponds to a patch size of 16 in HDiT. Reducing it to 4 gives a substantial improvement vs. 16, but 2 is very much in the range where it'll typically not be worthwhile to go there, especially considering the substantially increased processing cost as you're effectively doubling the resolution.

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

2 participants