Skip to content

Conversation

causten
Copy link
Collaborator

@causten causten commented Aug 31, 2022

Add jit layernorm fusion (#1301)
Add pass to rewrite gelu as fast gelu (#1299)
Improve horizontal fusion of contiguous (#1292)
Improvements to handling and add constant passed to dot operator (#1280)

pfultz2 and others added 4 commits August 31, 2022 08:25
This will rewrite dot operators like X(Y + b) to XY + Xb when b is constant as we can fold the add away.
This improves handling pointwise with broadcasted operators, this helps improves const propagation.
Improve gemm fusion with a mul_add
Improve support for broadcast shapes in gemm
Rewrite_gelu pass replaces the gelu formula of x * (1/2) * (1 + erf(x/sqrt(2))) with the sigmoid approximation of x * Sigmoid(x * 1.702)
@causten causten requested review from pfultz2 and turneram August 31, 2022 16:53
@causten causten merged commit a85b183 into release/rocm-rel-5.3 Aug 31, 2022
@causten causten deleted the perf_improvements branch August 31, 2022 21:37
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.

3 participants