haoliuhl / ringattention
Large Context Attention
β704Updated 3 months ago
Alternatives and similar repositories for ringattention:
Users that are interested in ringattention are comparing it to the libraries listed below
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ511Updated 6 months ago
- Ring attention implementation with flash attentionβ743Updated 2 weeks ago
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decodingβ1,242Updated last month
- Microsoft Automatic Mixed Precision Libraryβ593Updated 6 months ago
- [ICLR 2024] Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningβ598Updated last year
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β240Updated last week
- USP: Unified (a.k.a. Hybrid, 2D) Sequence Parallel Attention for Long Context Transformers Model Training and Inferenceβ477Updated this week
- Official repository for DistFlashAttn: Distributed Memory-efficient Attention for Long-context LLMs Trainingβ209Updated 8 months ago
- Scalable toolkit for efficient model alignmentβ770Updated last week
- Helpful tools and examples for working with flex-attentionβ726Updated 2 weeks ago
- Memory optimization and training recipes to extrapolate language models' context length to 1 million tokens, with minimal hardware.β715Updated 6 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ391Updated 5 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationβ340Updated 8 months ago
- This repository contains the experimental PyTorch native float8 training UXβ223Updated 8 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β534Updated this week
- Triton-based implementation of Sparse Mixture of Experts.β210Updated 4 months ago
- Official PyTorch implementation of QA-LoRAβ131Updated last year
- Explorations into some recent techniques surrounding speculative decodingβ259Updated 4 months ago
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.β809Updated 7 months ago
- Tutel MoE: Optimized Mixture-of-Experts Library, Support DeepSeek FP8/FP4β803Updated this week
- β313Updated last year
- Multipack distributed sampler for fast padding-free training of LLMsβ188Updated 8 months ago
- A simple and effective LLM pruning approach.β738Updated 8 months ago
- Official Implementation of EAGLE-1 (ICML'24), EAGLE-2 (EMNLP'24), and EAGLE-3.β1,197Updated last week
- Code for paper: "QuIP: 2-Bit Quantization of Large Language Models With Guarantees"β363Updated last year
- [ICML 2024] SqueezeLLM: Dense-and-Sparse Quantizationβ686Updated 8 months ago
- Pipeline Parallelism for PyTorchβ764Updated 8 months ago
- [ICML'24] Data and code for our paper "Training-Free Long-Context Scaling of Large Language Models"β404Updated 6 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β232Updated 2 months ago
- Zero Bubble Pipeline Parallelismβ383Updated 2 weeks ago