Skip to content

Pin qwen-image-layered's VAE config for the seam guard, and check coverage in Backend CI - #12843

Merged
danielhanchen merged 1 commit into
mainfrom
ci/vae-seam-qwen-image-layered
Oct 6, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
ci/vae-seam-qwen-image-layered

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Problem

The VAE seam guard (studio-vae-seam-guard.yml, studio/backend/tests/test_vae_tile_geometry.py) fails on main bcdede6:

AssertionError: families without a VAE config in vae_tile_configs.json: ['qwen-image-layered'].
KeyError: 'qwen-image-layered'

#12766 added the guard at 05:16 UTC. #12775 and #12777 added the qwen-image-layered family at 05:23 and 05:47 UTC, with no entry in tests/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: add qwen-image-layered from Qwen/Qwen-Image-Layered vae/config.json at revision 8f0ca708dfff6ba1dd5f2d85d78f8c108a040bcf. That is the family's base_repo and the VAE sd_cpp_vae points at: AutoencoderKLQwenImage with input_channels: 4 (RGBA). It is placed next to the other Qwen-Image entries. The diff only adds that entry.
  • New studio/backend/tests/test_vae_tile_fixture_coverage.py: test_vae_tile_geometry.py calls importorskip on 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:
    • kind is image or video;
    • a repo is named;
    • the revision is a 40-hex sha;
    • the config has a diffusers _class_name.

Verification

  • Seam guard, run as the workflow installs it (CPU torch, studio.txt, diffusers-pin.txt, then diffusers-main.txt):
    • main: 2 failed;
    • this branch: 27 passed. The layered VAE's tile geometry clears the seam floor.
  • New guard: 22 passed. With main's fixture, test_every_registry_family_has_a_pinned_vae_config fails.
  • tests/test_formatter_fixed_point.py passes.

…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.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-06T10:13:27.330490Z 89235be Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 89235be60e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

@unslothai unslothai deleted a comment from chatgpt-codex-connector Bot Oct 6, 2026
@danielhanchen
danielhanchen merged commit 192fe85 into main Oct 6, 2026
@danielhanchen
danielhanchen deleted the ci/vae-seam-qwen-image-layered branch October 6, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant