erfanzar / jax-flash-attn2
A flexible and efficient implementation of Flash Attention 2.0 for JAX, supporting multiple backends (GPU/TPU/CPU) and platforms (Triton/Pallas/JAX).
☆23Updated 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
- Minimal but scalable implementation of large language models in JAX☆34Updated 5 months ago
- (EasyDel Former) is a utility library designed to simplify and enhance the development in JAX☆27Updated this week
- Machine Learning eXperiment Utilities☆46Updated 10 months ago
- Parallel Associative Scan for Language Models☆18Updated last year
- ☆76Updated 9 months ago
- ☆20Updated last year
- ☆98Updated this week
- If it quacks like a tensor...☆58Updated 5 months ago
- Triton Implementation of HyperAttention Algorithm☆47Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆72Updated last year
- ☆51Updated 10 months ago
- Inference code for LLaMA models in JAX☆117Updated 10 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 5 months ago
- LoRA for arbitrary JAX models and functions☆136Updated last year
- A simple library for scaling up JAX programs☆134Updated 5 months ago
- Code and Configs for Asynchronous RLHF: Faster and More Efficient RL for Language Models☆45Updated 2 weeks ago
- ☆30Updated 4 months ago
- Custom triton kernels for training Karpathy's nanoGPT.☆18Updated 5 months ago
- A set of Python scripts that makes your experience on TPU better☆50Updated 9 months ago
- Unofficial but Efficient Implementation of "Mamba: Linear-Time Sequence Modeling with Selective State Spaces" in JAX☆83Updated last year
- Transformer with Mu-Parameterization, implemented in Jax/Flax. Supports FSDP on TPU pods.☆30Updated 4 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆123Updated 11 months ago
- ☆46Updated last year
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆65Updated 8 months ago
- ☆37Updated last year
- JAX implementation of the Mistral 7b v0.2 model☆35Updated 9 months ago
- A MAD laboratory to improve AI architecture designs 🧪☆109Updated 3 months ago
- JAX bindings for Flash Attention v2☆89Updated 8 months ago
- Train a SmolLM-style llm on fineweb-edu in JAX/Flax with an assortment of optimizers.☆17Updated 3 weeks ago