Support tiled encode/decode for AutoencoderTiny#4627
Merged
Conversation
AutoencoderTiny
sayakpaul
reviewed
Aug 16, 2023
sayakpaul
reviewed
Aug 16, 2023
sayakpaul
approved these changes
Aug 16, 2023
sayakpaul
left a comment
Member
There was a problem hiding this comment.
Nice this looks good! Thank you!
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
Member
|
Let's make sure the CI is green before merging :-) |
Contributor
Author
|
I think the CI should be green this time. Can you approve the worflows? @sayakpaul |
Member
|
Thanks for your amazing contribution! |
keturn
added a commit
to invoke-ai/InvokeAI
that referenced
this pull request
Sep 13, 2023
…port. Now available in diffusers 0.21: huggingface/diffusers#4627
yoonseokjin
pushed a commit
to yoonseokjin/diffusers
that referenced
this pull request
Dec 25, 2023
* Impl tae slicing and tiling * add tae tiling test * add parameterized test * formatted code * fix failed test * style docs
15 tasks
AmericanPresidentJimmyCarter
pushed a commit
to AmericanPresidentJimmyCarter/diffusers
that referenced
this pull request
Apr 26, 2024
* Impl tae slicing and tiling * add tae tiling test * add parameterized test * formatted code * fix failed test * style docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
AutoencoderTinyThough
taesdreduce VRAM cost compared with vae, it still cost large amount VRAM for encode/decode extremely large image since memory scales linearly with size of the latents.According to my test, tiled-tae decoding only costs 1.2G VRAM with 64x64 tile.
The tile encode/decode are modified from the code presented in madebyollin/taesd#8.
Who can review?
Can you take a look at this? @sayakpaul