Skip to content

Add reverse-mode AD support and dimension permutation to qwix hijax. - #344

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_957377234
Aug 3, 2026
Merged

Add reverse-mode AD support and dimension permutation to qwix hijax.#344
copybara-service[bot] merged 1 commit into
mainfrom
test_957377234

Conversation

@copybara-service

Copy link
Copy Markdown

Add reverse-mode AD support and dimension permutation to qwix hijax.

This change implements Vector-Jacobian Product (VJP) for the hijax conversion primitives. It also introduces a PermuteDims primitive, along with permute_dims and transpose functions for HiQArray, including their VJP implementations. Finally, it adds unit tests to verify the backward passes and permutation operations.

@copybara-service
copybara-service Bot force-pushed the test_957377234 branch 2 times, most recently from eb6c5c0 to 5168720 Compare August 3, 2026 17:02
This change implements Vector-Jacobian Product (VJP) for the hijax conversion primitives. It also introduces a PermuteDims primitive, along with permute_dims and transpose functions for HiQArray, including their VJP implementations. Finally, it adds unit tests to verify the backward passes and permutation operations.

PiperOrigin-RevId: 958434873
@copybara-service
copybara-service Bot merged commit b45c805 into main Aug 3, 2026
@copybara-service
copybara-service Bot deleted the test_957377234 branch August 3, 2026 17:04
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