Repository navigation
Conversation
Contributor
Author
thank you more 🤝 |
This branch has not been deployed
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?
We have just released stereo model weights for KVAE-Audio.
AutoencoderKLKVAEAudioalready loads both released checkpoints. This documents the difference:The docs page, the class docstring, and the converter docstring now say so. No model code changed. The converter already builds the module from the checkpoint config, and the stereo
num_channelsandcodebook_dimwere already applied.Self-review
Reviewed
main...HEAD(a63cd07ab) against.ai/references/review-rules.md,.ai/references/code_style.md, and.ai/references/models.md.Blocking issues
None.
Non-blocking issues
None.
Dead code (advisory)
Summary
READY.
The three edits describe the two released checkpoints of the existing
AutoencoderKLKVAEAudioclass.docs/source/en/api/models/autoencoder_kl_kvae_audio.md:18-20says KVAE-Audio is mono with 64 latent channels and KVAE-Audio-Stereo has 128.src/diffusers/models/autoencoders/autoencoder_kl_kvae_audio.py:252-254says the same.autoencoder_kl_kvae_audio.py:275saysnum_channelsis 1 for mono and 2 for stereo.scripts/convert_kvae_audio_to_diffusers.py:22-23says the converter accepts both checkpoints.That matches
references/models.md: support only what released checkpoints use, and both of these are released. Perreferences/code_style.md, the docstrings state the expected channel count rather than adding a fallback. The constructor default forcodebook_dimstays 64, which is still the mono default.Fix before submitting: nothing.
Leave for the actual review: nothing.
Before submitting
self-reviewskill on the diff?documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@sayakpaul @DN6 could you please take a look? Thanks!