NATTEN icon indicating copy to clipboard operation
NATTEN copied to clipboard

XLA support

Open nom opened this issue 1 year ago • 1 comments

Hi, fantastic work with NATTEN. Is support for XLA on your roadmap? It would be great to enable neighborhood attention on TPUs and other non-Nvidia GPUs.

nom avatar Feb 14 '24 19:02 nom

Hello and thank you for your interest.

We definitely foresee expanding NATTEN to more backends and frameworks, and recent changes to the API reduce the dependency on torch to ease that process.

While our top priority at the moment is feature completeness for our CUDA backend, we definitely will consider other backends directly first (we would attempt to port or rewrite our kernels for other accelerators such as Apple Silicon and AMD GPUs), but depending on demand, we might consider higher-level platforms such as XLA and Triton.

alihassanijr avatar Feb 14 '24 19:02 alihassanijr