lucidrains / ring-attention-pytorch
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β492Updated 2 months ago
Alternatives and similar repositories for ring-attention-pytorch:
Users that are interested in ring-attention-pytorch are comparing it to the libraries listed below
- Large Context Attentionβ670Updated 5 months ago
- Ring attention implementation with flash attentionβ645Updated 3 weeks ago
- Helpful tools and examples for working with flex-attentionβ583Updated this week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β215Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β505Updated 2 months ago
- Triton-based implementation of Sparse Mixture of Experts.β192Updated last month
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ297Updated 7 months ago
- This repository contains the experimental PyTorch native float8 training UXβ219Updated 5 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β219Updated last month
- Explorations into some recent techniques surrounding speculative decodingβ229Updated 3 weeks ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ368Updated 2 months ago
- Annotated version of the Mamba paperβ469Updated 10 months ago
- LLM KV cache compression made easyβ303Updated this week
- Official PyTorch implementation of QA-LoRAβ122Updated 10 months ago
- Microsoft Automatic Mixed Precision Libraryβ549Updated 3 months ago
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inferenceβ400Updated 2 weeks ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β687Updated 3 months ago
- Pipeline Parallelism for PyTorchβ736Updated 4 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β376Updated last month
- Efficient LLM Inference over Long Sequencesβ344Updated 2 weeks ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β286Updated 8 months ago
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"β358Updated 10 months ago
- β212Updated 7 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationβ325Updated 5 months ago
- Minimalistic 4D-parallelism distributed training framework for education purposeβ644Updated this week
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decodingβ1,179Updated 3 months ago
- β304Updated 2 weeks ago
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ417Updated 2 months ago
- β180Updated this week
- Official repository for LightSeq: Sequence Level Parallelism for Distributed Training of Long Context Transformersβ204Updated 4 months ago