Skip to content

Fix Unit test failure for JAX/Flax version update#262

Closed
susanbao wants to merge 9 commits intomainfrom
sanbao/qwix_error
Closed

Fix Unit test failure for JAX/Flax version update#262
susanbao wants to merge 9 commits intomainfrom
sanbao/qwix_error

Conversation

@susanbao
Copy link
Copy Markdown
Collaborator

@susanbao susanbao commented Oct 7, 2025

The newer version of JAX 0.7.2 and Flax 0.12.0 now strictly requires a mesh to be defined whenever you initialize parameters with sharding rules, even in a single-device unit test environment. Our unit tests failed for this. Now fix them.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 7, 2025

@susanbao susanbao requested a review from coolkp October 7, 2025 23:30
coolkp
coolkp previously approved these changes Oct 9, 2025
Comment thread src/maxdiffusion/tests/wan_transformer_test.py Outdated
@coolkp
Copy link
Copy Markdown
Collaborator

coolkp commented Oct 9, 2025

@susanbao looks like somehow other tests were passing earlier but now same issue is surfacing. Do you mind adding the mesh context to others as well?

@susanbao susanbao changed the title fix qwix unit test Fix Unit test failure for JAX/Flax version update Oct 9, 2025
@susanbao susanbao closed this Oct 9, 2025
@susanbao susanbao deleted the sanbao/qwix_error branch October 13, 2025 05:41
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.

2 participants