Skip to content

[docs] add KVAE-Audio-Stereo support notice - #15437

Open
ivnvalex wants to merge 2 commits into
huggingface:mainfrom
ivnvalex:docs/autoencoder/kvae-audio
Open

ivnvalex wants to merge 2 commits into
huggingface:mainfrom
ivnvalex:docs/autoencoder/kvae-audio

Conversation

@ivnvalex

@ivnvalex ivnvalex commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

We have just released stereo model weights for KVAE-Audio.
AutoencoderKLKVAEAudio already 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_channels and codebook_dim were 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)

Path:line Likely-dead / Used Reason
— — The diff only changes docs and docstrings. No new code path.

Summary

READY.

The three edits describe the two released checkpoints of the existing AutoencoderKLKVAEAudio class.

  • docs/source/en/api/models/autoencoder_kl_kvae_audio.md:18-20 says KVAE-Audio is mono with 64 latent channels and KVAE-Audio-Stereo has 128.
  • src/diffusers/models/autoencoders/autoencoder_kl_kvae_audio.py:252-254 says the same.
  • autoencoder_kl_kvae_audio.py:275 says num_channels is 1 for mono and 2 for stereo.
  • scripts/convert_kvae_audio_to_diffusers.py:22-23 says the converter accepts both checkpoints.

That matches references/models.md: support only what released checkpoints use, and both of these are released. Per references/code_style.md, the docstrings state the expected channel count rather than adding a fallback. The constructor default for codebook_dim stays 64, which is still the mono default.

Fix before submitting: nothing.

Leave for the actual review: nothing.

Before submitting

  • Did you use an AI agent (Claude Code, Codex, Cursor, etc.) to help with this PR? If so:
    • Did you read the Coding with AI agents guide?
    • Did you run the self-review skill on the diff?
    • Did you share the final self-review notes in the PR description or a comment?
  • Did you read the contributor guideline?
  • Did you read our philosophy doc? (important for complex PRs)
  • Was this discussed/approved via a GitHub issue or GitHub Discussions? Please add a link to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?
  • Are you the author (or part of the team we work with) of the model/pipeline this PR relates to?

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!

@github-actions github-actions Bot added documentation Improvements or additions to documentation models size/S PR with diff < 50 LOC labels Nov 30, 2026

@yiyixuxu yiyixuxu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

thanks

@ivnvalex

ivnvalex commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

thanks

thank you more 🤝

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation models size/S PR with diff < 50 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants