Log VQ remapping configuration through the model logger - #13939
Closed
wunianze666-netizen wants to merge 1 commit into
Closed
Log VQ remapping configuration through the model logger#13939wunianze666-netizen wants to merge 1 commit into
wunianze666-netizen wants to merge 1 commit into
Conversation
Contributor
|
Hi @wunianze666-netizen, thanks for the PR! It does not appear to link an issue it fixes. If this PR addresses an existing issue, please add a closing keyword (e.g. |
wunianze666-netizen
force-pushed
the
fix/vq-remap-logging
branch
from
August 13, 2026 06:06
23d75c4 to
08511a4
Compare
Contributor
Author
|
Closing this one-off PR in favor of the pattern-level coordination in #14479. I will wait for maintainer confirmation there, consolidate the approved scope, run the current self-review workflow, and include exact test results before opening a replacement. |
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.
Summary
VectorQuantizerremap configuration output through the model logger instead of writing directly to stdoutWhy
This message is emitted from library/model initialization code. Sending it to stdout makes it harder for downstream users to manage output, while the logger keeps the signal available without forcing terminal noise.
Validation
python -m pytest tests/models/autoencoders/test_models_vq.py -k test_vector_quantizer_logs_remap_configuration -qruff check src/diffusers/models/autoencoders/vae.py tests/models/autoencoders/test_models_vq.pyruff format --check src/diffusers/models/autoencoders/vae.py tests/models/autoencoders/test_models_vq.pypython -m py_compile src/diffusers/models/autoencoders/vae.py tests/models/autoencoders/test_models_vq.pyIssue Linkage
This is a small logging cleanup and is not tied to an existing tracked issue.