lucidrains / ring-attention-pytorch
Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
β476Updated 3 weeks ago
Related projects β
Alternatives and complementary repositories for ring-attention-pytorch
- Transformers with Arbitrarily Large Contextβ641Updated 3 months ago
- Ring attention implementation with flash attentionβ585Updated last week
- Helpful tools and examples for working with flex-attentionβ469Updated 3 weeks ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β193Updated this week
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ353Updated this week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorchβ293Updated 5 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β483Updated 3 weeks ago
- This repository contains the experimental PyTorch native float8 training UXβ211Updated 3 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β214Updated 3 months ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β647Updated last month
- Triton-based implementation of Sparse Mixture of Experts.β185Updated last month
- Official PyTorch implementation of QA-LoRAβ117Updated 8 months ago
- Microsoft Automatic Mixed Precision Libraryβ525Updated last month
- Annotated version of the Mamba paperβ457Updated 8 months ago
- Some preliminary explorations of Mamba's context scaling.β191Updated 9 months ago
- Pipeline Parallelism for PyTorchβ726Updated 2 months ago
- Explorations into some recent techniques surrounding speculative decodingβ211Updated last year
- Code for the paper "QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models".β262Updated last year
- Official repository for LightSeq: Sequence Level Parallelism for Distributed Training of Long Context Transformersβ195Updated 3 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationβ305Updated 3 months ago
- Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ335Updated last week
- β132Updated last year
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ373Updated 2 weeks ago
- Scalable toolkit for efficient model alignmentβ620Updated this week
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inferenceβ357Updated this week
- β199Updated 5 months ago
- Understand and test language model architectures on synthetic tasks.β162Updated 6 months ago
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"β350Updated 8 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ256Updated last week
- Scaling Data-Constrained Language Modelsβ321Updated last month