Repository navigation
Tests: skip the VAE canvas cases that build the MiniMax-H3 VAE when diffusers is missing - #17685
Conversation
…iffusers is missing
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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 Summary: ❌ FailedThis 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. Delightful! 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". |
Summary
(Python 3.13, a-f)fails on main and on every PR based on it since #17595 (seen on the staging runs for #15275 and #16707): 25 tests instudio/backend/tests/test_diffusion_vae_canvas.py, for examplevae_class()returns diffusers'AutoencoderKLMiniMaxH3Imageor, failing that, the vendored copy instudio/backend/vendor/diffusers_minimax_h3_image/. The vendored file builds on diffusers' own base classes (from diffusers.configuration_utils import ConfigMixin,diffusers.models.attention, ...), so without diffusers both paths fail. The Studio backend CI shards do not install diffusers.The product code is fine: Studio only reaches this VAE when diffusers is installed. Only the test assumed diffusers was there. One test in the file already guards on it (
pytest.importorskip("diffusers")at line 439).Reproduced on main with
diffusersblocked: 25 failed, 3 passed, 2 skipped.Change
_image_vae_cls(), the helper every VAE-building test goes through, callspytest.importorskip("diffusers")first. The tests that do not build the VAE (the bad-output probe and the graph race bookkeeping) still run without diffusers. Test-only change.Testing
diffusersblocked: 3 passed, 27 skipped. main: 25 failed.