flashinfer icon indicating copy to clipboard operation
flashinfer copied to clipboard

Support for Volta / Turing architectures

Open tgaddair opened this issue 1 year ago • 6 comments

I saw that support for sm75 / sm70 is listed in progress (https://docs.flashinfer.ai/installation.html) but didn't see an issue to track. Is this something planned in the near-term or further out on the roadmap? Thanks!

tgaddair avatar Mar 07 '24 00:03 tgaddair

its tracked here https://github.com/flashinfer-ai/flashinfer/issues/19 but so far no movements in codebase i think

aliencaocao avatar Mar 12 '24 10:03 aliencaocao

@aliencaocao @tgaddair part of the work has been done in #128 , still some work to do to accommodate the small shared memory size of sm75.

Regarding sm70, I have made some local attempts but the performance is not good because I'm using a software simulation of ldmatrix instrinsic. My plan is to write standalone prefill/decode kernels for sm70 because it supports neither async memory copy nor native ldmatrix intrinsic.

They are still on my TODO list, I suppose I can finish sm75 support soon but it will take some effort to debug and performance tuning on sm70, will try my best..

yzh119 avatar Mar 13 '24 01:03 yzh119

Thanks for the update, looking forward to sm70.

aliencaocao avatar Mar 13 '24 01:03 aliencaocao

This would be really really great since I would love to be able to use this on my volta devices

K-Mistele avatar Mar 18 '24 21:03 K-Mistele

@aliencaocao @tgaddair part of the work has been done in #128 , still some work to do to accommodate the small shared memory size of sm75.

Regarding sm70, I have made some local attempts but the performance is not good because I'm using a software simulation of ldmatrix instrinsic. My plan is to write standalone prefill/decode kernels for sm70 because it supports neither async memory copy nor native ldmatrix intrinsic.

They are still on my TODO list, I suppose I can finish sm75 support soon but it will take some effort to debug and performance tuning on sm70, will try my best..

Can you push the local attemps for sm70? I'm curious to see, and maybe someone can help to finish it.

balcklive avatar Jul 19 '24 14:07 balcklive

This would be great.

sparsh35 avatar Jul 22 '24 17:07 sparsh35

Turing has been supported with https://github.com/flashinfer-ai/flashinfer/pull/449. Volta currently has no supported plans. Welcome to contribute!

zhyncs avatar Aug 27 '24 05:08 zhyncs