Skip to content

Conversation

@coryMosaicML
Copy link
Collaborator

This PR adds an option to set scheduler_shift_resolution to SD2 and SDXL models to account for differing train resolutions using the technique from https://arxiv.org/abs/2301.11093

Copy link
Contributor

@jazcollins jazcollins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had one qq about why we choose base_dim=32 as default. I also wish we could infer the shift resolution from some other place (instead of having to set it explicitly, bc I can imagine forgetting to set that in an eval run and using the wrong resolution or something) but I don't see how that is possible, so this makes sense! Overall looks good to me!

@coryMosaicML coryMosaicML merged commit 0b79104 into mosaicml:main Jul 8, 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.

3 participants