Repository navigation
Studio tests: the ROCm xformers parity check pins both aiter outcomes since #18924 - #18942
Merged
Merged
Conversation
Member
Author
|
@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: Didn't find any major issues. Chef's kiss. 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.
Summary
Backend tests(the(Python 3.13, rest)shard) is red onmainsince #18924:Both ROCm wheel parametrizations fail. It shows on unrelated PRs, for example the staging run for #18737, which only touches translate files.
#18924 made an explicit
aiterpick on ROCm run the auto pick when diffusers has no usable local aiter backend (_diffusers_aiter_usable()), so the pick no longer fails mid-render. That change is correct. #18924 patched_diffusers_aiter_usablein its own tests, but this older parity test still asserted thataiteris always honoured on a ROCm target. On a runner whose diffusers has no local aiter backend, which is every CI runner, that is no longer true.Fix
The test now pins both outcomes explicitly instead of depending on the runner's diffusers:
_diffusers_aiter_usablereturning True, anaiterpick on ROCm is stillaiter.aiterpick resolves to the same backend asauto.The xformers assertions the test exists for are unchanged. Only the test changes.
Testing
tests/test_xformers_stub_diffusion_parity.py: 2 failed onmain, all pass with this change.tests/test_diffusion_attention.pyandtests/test_diffusion_attention_aiter_alias.py: 193 passed.if alias == "aiter" and _is_cuda_rocm(target) and not _diffusers_aiter_usable(): alias = ATTN_AUTO) removed, the new no-aiter assertion fails for both ROCm wheels, alongside Studio: an aiter attention pick on ROCm runs the auto pick when diffusers has no local aiter backend #18924's owntest_dead_aiter_on_rocm_is_the_auto_pickcases.