Skip to content

Conversation

avik-pal
Copy link
Collaborator

@avik-pal avik-pal commented Oct 4, 2025

fixes #1145

@avik-pal avik-pal requested a review from wsmoses October 4, 2025 00:42
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

EnzymeJAX Benchmarks

Benchmark suite Current: dd43ec3 Previous: 9b689ed Ratio
scatter_sum / JaX / cpu / Primal 0.000004302511992864311 s 0.000004480150900781155 s 0.96
scatter_sum / JaXPipe / cpu / Primal 0.0000041834400035440925 s 0.000004280475992709399 s 0.98
scatter_sum / JaX / tpu / Primal 0.0001507411580998 s 0.0001693931275978 s 0.89
scatter_sum / JaXPipe / tpu / Primal 0.0001594547959975 s 0.0001651718516135 s 0.97

This comment was automatically generated by workflow using github-action-benchmark.


auto lhs = otherIsLHS ? nextOtherArg : pad.getOperand();
auto rhs = otherIsLHS ? pad.getOperand() : nextOtherArg;
if (!areValidDotGeneralInputs(lhs, rhs, op.getDotDimensionNumbersAttr()))
Copy link
Member

Choose a reason for hiding this comment

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

this feels like the wrong solution. shouldn't we just slice the inputs properly here?

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.

Long (perhaps quadratic) whiledeadresult elimination
2 participants