MIOpen icon indicating copy to clipboard operation
MIOpen copied to clipboard

Request to Add Attention Kernel to MIOpen

Open zjchen77 opened this issue 2 years ago • 4 comments

Attention mechanisms are widely used in deep learning models, particularly in large language models. And a flexible attention kernel can help users to build accelerated language models conveniently on AMD platform. I have already designed an attention kernel for variable text lengths. I believe that adding an attention kernel to MIOpen would be a valuable enhancement for the community. Thank you for considering this request.

zjchen77 avatar Jun 13 '23 06:06 zjchen77

@zjchen77 thanks! Our CK kernels https://github.com/ROCmSoftwarePlatform/Composable_kernel already supports and in the process of refining them, Indeed exposing these kernels via MIOpen might be useful in many cases.

junliume avatar Jul 06 '23 21:07 junliume

@JehandadKhan is this issue relater to multi-head attention as well?

CAHEK7 avatar Sep 15 '23 11:09 CAHEK7

@CAHEK7 That is correct.

JehandadKhan avatar Sep 18 '23 15:09 JehandadKhan

@junliume Has this request been added to MIOpen? Thanks!

ppanchad-amd avatar Apr 23 '24 17:04 ppanchad-amd