ScaleLLM icon indicating copy to clipboard operation
ScaleLLM copied to clipboard

is there any way or chance to use flash_attn 1.x ? to support more gpus

Open dalamudx opened this issue 2 years ago • 2 comments

i think it depend on flash_attn 2.x,will ouput runtime error with unsupport gpus.

dalamudx avatar Mar 07 '24 09:03 dalamudx

Yes, you are correct. Currently, we only support Ampere or newer architecture. The flash_attn1 implementation does indeed work for Turing GPUs. At the moment, we don't have plans to integrate flash_attn1, but we do intend to extend support to more GPUs. One of our ongoing efforts is to integrate flashinfer as an attention implementation, which supports Turing gpu and shows promising perf results. thanks, stay tuned.

guocuimi avatar Mar 07 '24 20:03 guocuimi

Yes, you are correct. Currently, we only support Ampere or newer architecture. The flash_attn1 implementation does indeed work for Turing GPUs. At the moment, we don't have plans to integrate flash_attn1, but we do intend to extend support to more GPUs. One of our ongoing efforts is to integrate flashinfer as an attention implementation, which supports Turing gpu and shows promising perf results. thanks, stay tuned.

that would be great!thanks for your work😀

dalamudx avatar Mar 07 '24 21:03 dalamudx