Skip to content

Diffusion autoopt parity: add tf32 to the Anima and Chroma default-tier rows - #16838

Merged
danielhanchen merged 1 commit into
mainfrom
autoopt-fixture-tf32-chroma-anima
Nov 5, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
autoopt-fixture-tf32-chroma-anima

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

Summary

seam-guard (studio/backend/tests/test_diffusion_autoopt_parity.py) fails on main and on every PR that runs it, for example the staging runs for #16711 and #16799:

FAILED tests/test_diffusion_autoopt_parity.py::test_autoopt_resolves_the_same_optimizations_as_before
FAILED tests/test_diffusion_autoopt_parity.py::test_legacy_sequence_still_matches_fixture
E   AssertionError: {'image|chroma|default|bfloat16|offload=0|gguf=0': {'before': {'applied': [['compiled', 'cuda_graph', 'cudnn_benchmark', 'fp16_accum']], ...

Bisected on main: 7d0c0952a0 (#16762, "TF32 matmuls on the default speed tier, not only max") is the first failing commit; its parent passes. #16762 added tf32 to the default tier and regenerated fixtures/diffusion_autoopt_parity.json, but its branch predates #16710, which added the Anima and Chroma families. Those 16 rows (2 families x 2 dtypes x offload x GGUF on the default tier) kept their pre-#16762 values, so both parity tests now see them change. The code is right; the fixture is stale for the two families that landed in between.

Change

studio/backend/tests/fixtures/diffusion_autoopt_parity.json only. The 16 image|anima|default|... and image|chroma|default|... rows are rewritten from the current resolver, in the file's existing one-row-per-line format. In every one of them the only change is tf32 appended to applied, the same change #16762 made to the other families' default-tier rows. No other row moves, and both autoopt_entry and legacy_entry produce the new rows.

Testing

  • tests/test_diffusion_autoopt_parity.py and tests/test_diffusion_speed.py: main 2 failed; this branch 236 passed.
  • 7d0c0952a0~1: the two parity tests pass; 7d0c0952a0: they fail, which is the bisect above.
  • A script check over the diff: 16 rows changed, and in each the only difference is tf32 added to applied.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 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-11-05T19:03:02.531899Z 360a279 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. Hooray!

Reviewed commit: 360a279628

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

@danielhanchen
danielhanchen merged commit 482a764 into main Nov 5, 2026
@danielhanchen
danielhanchen deleted the autoopt-fixture-tf32-chroma-anima branch November 5, 2026 19:08
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