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

LDSR improvements - cache / optimization / opt_channelslast #5586

Merged
merged 2 commits into from
Dec 10, 2022

Conversation

wywywywy
Copy link
Contributor

@wywywywy wywywywy commented Dec 10, 2022

The PR aims to improve the LDSR through the following means.

  1. Ability to cache the LDSR model (as an option in the Settings tab) - Good if you use LDSR to upscale often and have the RAM to store it. You won't need to reload the model every time you upscale.

  2. Apply optimization (such as Xformers) - This uses the sd_hijack logic to apply optimization to the LDSR model the same way it does to all the SD models. This may help lower-end machines.

  3. Allow Channels Last memory format - The --opt_channelslast now affects the LDSR model as well and may improve performance.

  4. Device agnostic - It should now allow CPU operation as well

@AUTOMATIC1111 AUTOMATIC1111 merged commit 685f963 into AUTOMATIC1111:master Dec 10, 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.

2 participants