Skip to content

Conversation

@keshavvinayak01
Copy link
Contributor

@keshavvinayak01 keshavvinayak01 commented Nov 27, 2025

Following the discussion from #22441

Depending on the backend, certain computations may benefit from directly using exp instead of exp2, since there might be accuracy losses due to FP-reassociation. It's helpful to add flag incase the user tracks losses to this particular computation and might favour directly using exp.

The use_exp2 flag is mostly unused in dialect conversions and passes, I presume it's used as a KernelOption. The changes here will not modify the default behavior.

@keshavvinayak01 keshavvinayak01 changed the title [LinalgExt] Added toggle for using useexp2 for onlineAttention Decomposition [LinalgExt] Added toggle for using useExp2 for onlineAttention Decomposition Nov 27, 2025
Signed-off-by: Keshav Vinayak Jha <[email protected]>
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.

1 participant