Skip to content

Conversation

yucai-intel
Copy link
Contributor

@yucai-intel yucai-intel commented Jun 4, 2025

The shape of derivative calculation was adjusted to optimize memory access efficiency, which increased groupnorm backward kernel latency by ~80% when affine=false (e.g. latency107523ms->17823ms, shape=[32,512,256,256]).
image

@yucai-intel yucai-intel marked this pull request as ready for review June 9, 2025 02:52
@yucai-intel yucai-intel requested a review from toyxu June 10, 2025 06:02
@yucai-intel yucai-intel changed the title Group_norm backward kernel optimazation part 2 Group_norm backward kernel optimization part 2 Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant