Skip to content

Conversation

@zjgarvey
Copy link
Collaborator

The newer direct lowering for backward conv is directly accumulating lower precision types like bf16. This patch adds a check for the default accumulator type. If this type doesn't match the result types for the op, it will also introduce a downcasting elementwise op (post-convolution and pre-collapsing for groups).

@zjgarvey zjgarvey requested review from IanWood1 and a-sidorova and removed request for a-sidorova December 15, 2025 21:31
Copy link
Collaborator

@a-sidorova a-sidorova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zjgarvey thank you for quick fix!

Copy link
Contributor

@IanWood1 IanWood1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@zjgarvey zjgarvey enabled auto-merge (squash) December 16, 2025 19:28
@zjgarvey zjgarvey merged commit 68e74f1 into main Dec 16, 2025
3 checks passed
@zjgarvey zjgarvey deleted the users/zjgarvey/upcast_accum_conv_bwd branch December 16, 2025 19:35
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.

4 participants