Skip to content

Conversation

@copybara-service
Copy link

Allow gradients on QArray

This patch introduces a new approach to associate gradients with QArray. The outcome is we could define vjp rules for quantize and dot_general separately while ensuring a correct backward pass.

This patch introduces a new approach to associate gradients with QArray. The outcome is we could define vjp rules for `quantize` and `dot_general` separately while ensuring a correct backward pass.

PiperOrigin-RevId: 823246141
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