Skip to content

Conversation

@martinobettucci
Copy link

No description provided.

Doggettx and others added 14 commits September 5, 2022 09:26
Run attention in a loop to allow for much higher resolutions (over 1920x1920 on a 3090)
Correction to comment
Better memory handling for model.decode_first_stage so it doesn't crash anymore after 100% rendering
Old version gave incorrect free memory results causing in crashes on edge cases.
Set model to half in txt2img and img2img for less memory usage.
Forgot to comment out debug info
Technically you could run at higher steps as long as the resolution is dividable by the steps but you're going to run into memory issues later on anyhow.
Improves performance and is no longer needed.
Significant performance boost at higher resolutions when running in auto_cast or half mode

on 3090 went from 1.13it/s to 1.63it/s at 1024x1024

Will also allow for higher resolutions due to sigmoid fix and using half memory
Performance boost and fix sigmoid for higher resolutions
@martinobettucci martinobettucci merged commit e6bb37f into P2Enjoy:main Oct 25, 2022
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