Repository navigation
Pin qwen-image-layered's VAE config for the seam guard, and check coverage in Backend CI - #12843
Merged
Merged
Conversation
…erage in Backend CI #12766 added the VAE seam guard and #12775 / #12777 added the qwen-image-layered family right after it, with no entry in vae_tile_configs.json. The seam guard fails on main: test_every_family_has_a_vae_config, then a KeyError in the geometry check. Add Qwen/Qwen-Image-Layered's vae/config.json at revision 8f0ca708df (the 4-channel RGBA AutoencoderKLQwenImage). With it the full seam guard passes: 27 passed. The coverage check lives in a module that importorskips torch and diffusers, so it only ran in the path-filtered seam-guard job. A dependency-free copy now runs in Backend CI, plus a shape check on each entry.
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
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.
Problem
The VAE seam guard (
studio-vae-seam-guard.yml,studio/backend/tests/test_vae_tile_geometry.py) fails on main bcdede6:#12766 added the guard at 05:16 UTC. #12775 and #12777 added the
qwen-image-layeredfamily at 05:23 and 05:47 UTC, with no entry intests/fixtures/vae_tile_configs.json. Their PR runs predate the guard, so nothing flagged it until both were on main. #12821 is the first PR to show it.The guard is right and the family is right. The fixture is just missing the new family's VAE config.
Fix
vae_tile_configs.json: addqwen-image-layeredfromQwen/Qwen-Image-Layeredvae/config.jsonat revision8f0ca708dfff6ba1dd5f2d85d78f8c108a040bcf. That is the family'sbase_repoand the VAEsd_cpp_vaepoints at:AutoencoderKLQwenImagewithinput_channels: 4(RGBA). It is placed next to the other Qwen-Image entries. The diff only adds that entry.studio/backend/tests/test_vae_tile_fixture_coverage.py:test_vae_tile_geometry.pycallsimportorskipon torch and diffusers, so its coverage check only runs in the path-filtered seam-guard job. The new file imports just the family registries, so Backend CI catches a new family without a fixture entry on the PR that adds it. It also checks each entry:kindis image or video;_class_name.Verification
studio.txt,diffusers-pin.txt, thendiffusers-main.txt):test_every_registry_family_has_a_pinned_vae_configfails.tests/test_formatter_fixed_point.pypasses.