Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WA] fix reduce layouts errors to reland 67ea999 #3062

Merged
merged 3 commits into from
Dec 28, 2024

Conversation

quintinwang5
Copy link
Contributor

@quintinwang5 quintinwang5 commented Dec 23, 2024

Part of #2975.

Please do not squash and merge this PR.

quintinwang5 and others added 3 commits December 27, 2024 22:00
…#5468)

I found a counterexample where `invertAndCompose` was giving an
incorrect result. Thanks for @lezcano for pointing out a possible
solution: if input dim 0 and 4 are identity dimensions, then they are
added back to the reduced inverse as dimensions 3 and 4. Them reshaping
the result will assign the wrong bases to the wrong dimensions. Use a
transpose instead to order the input and output dimensions correctly
instead.
@whitneywhtsang whitneywhtsang force-pushed the quintin/wa_fix_reduce_layouts branch from ef28237 to 18b8b75 Compare December 28, 2024 03:00
@whitneywhtsang whitneywhtsang merged commit 18b8b75 into main Dec 28, 2024
5 checks passed
@whitneywhtsang whitneywhtsang deleted the quintin/wa_fix_reduce_layouts branch December 28, 2024 06:05
@quintinwang5 quintinwang5 linked an issue Dec 30, 2024 that may be closed by this pull request
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.

Reland upstream commit 67ea999
3 participants