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).
☆20Updated last month
Alternatives and similar repositories for jax-flash-attn2:
Users that are interested in jax-flash-attn2 are comparing it to the libraries listed below
- paralleled/unparalleled computational with FJFormer☆24Updated last month
- Minimal but scalable implementation of large language models in JAX☆28Updated 2 months ago
- ☆20Updated last year
- A fast implementation of T5/UL2 in PyTorch using Flash Attention☆75Updated this week
- Triton Implementation of HyperAttention Algorithm☆46Updated last year
- ☆51Updated 8 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆67Updated 2 months ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆121Updated 9 months ago
- ☆75Updated 6 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆66Updated 9 months ago
- A set of Python scripts that makes your experience on TPU better☆44Updated 6 months ago
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆81Updated last year
- ☆46Updated 11 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆78Updated 2 years ago
- ☆83Updated 7 months ago
- Accelerate, Optimize performance with streamlined training and serving options with JAX.☆218Updated this week
- ☆37Updated 9 months ago
- Yet another random morning idea to be quickly tried and architecture shared if it works; to allow the transformer to pause for any amount…☆52Updated last year
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆25Updated 9 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆56Updated 2 months ago
- Parallel Associative Scan for Language Models☆18Updated last year
- ☆44Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.