erfanzar / jax-flash-attn2
Flash Attention Implementation with Multiple Backend Support and Sharding This module provides a flexible implementation of Flash Attention with support for different backends (GPU, TPU, CPU) and platforms (Triton, Pallas, JAX).
☆18Updated this week
Related projects ⓘ
Alternatives and complementary repositories for jax-flash-attn2
- Minimal but scalable implementation of large language models in JAX☆26Updated 2 weeks ago
- ☆20Updated last year
- Triton Implementation of HyperAttention Algorithm☆46Updated 11 months ago
- ☆53Updated 3 weeks ago
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆71Updated last month
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆84Updated this week
- ☆73Updated 4 months ago
- paralleled/unparalleled computational with FJFormer☆24Updated last week
- Simple and efficient pytorch-native transformer training and inference (batched)☆61Updated 7 months ago
- ☆35Updated 7 months ago
- ☆77Updated 7 months ago
- A set of Python scripts that makes your experience on TPU better☆40Updated 4 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- ☆77Updated 5 months ago
- Machine Learning eXperiment Utilities☆45Updated 5 months ago
- ☆50Updated 6 months ago
- An implementation of the Llama architecture, to instruct and delight☆21Updated 3 months ago
- ☆45Updated 9 months ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated last year
- Language models scale reliably with over-training and on downstream tasks☆94Updated 7 months ago
- Transformer with Mu-Parameterization, implemented in Jax/Flax. Supports FSDP on TPU pods.☆29Updated 2 weeks ago
- ☆62Updated 3 months ago
- ☆13Updated last month
- Efficient PScan implementation in PyTorch☆15Updated 10 months ago
- Pytorch/XLA SPMD Test code in Google TPU☆21Updated 7 months ago
- Engineering the state of RNN language models (Mamba, RWKV, etc.)☆32Updated 5 months ago
- ☆55Updated last month
- A basic pure pytorch implementation of flash attention☆16Updated 3 weeks ago