yuezhouhu / 2by4-pretrain
Efficient 2:4 sparse training algorithms and implementations
☆54Updated 5 months ago
Alternatives and similar repositories for 2by4-pretrain
Users that are interested in 2by4-pretrain are comparing it to the libraries listed below
Sorting:
- Code for "Accelerating Transformer Pre-training with 2:4 Sparsity"☆23Updated 5 months ago
- 16-fold memory access reduction with nearly no loss☆93Updated last month
- A sparse attention kernel supporting mix sparse patterns☆202Updated 3 months ago
- XAttention: Block Sparse Attention with Antidiagonal Scoring☆146Updated last month
- ☆42Updated 9 months ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆190Updated 3 weeks ago
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆66Updated 6 months ago
- SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models☆19Updated 7 months ago
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆279Updated 5 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆133Updated 3 months ago
- The code repository of "MBQ: Modality-Balanced Quantization for Large Vision-Language Models"☆38Updated last month
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆161Updated 10 months ago
- 🔥 A minimal training framework for scaling FLA models☆128Updated last week
- ☆49Updated 5 months ago
- [ICLR2025] Codebase for "ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing", built on Megatron-LM.☆71Updated 4 months ago
- Quantized Attention on GPU☆45Updated 5 months ago
- [ICLR 2025] Palu: Compressing KV-Cache with Low-Rank Projection☆108Updated 2 months ago
- ☆128Updated 3 months ago
- [ICLR2025]: OSTQuant: Refining Large Language Model Quantization with Orthogonal and Scaling Transformations for Better Distribution Fitt…☆48Updated last month
- ☆68Updated 3 months ago
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆37Updated 10 months ago
- [NeurIPS 2024 Oral🔥] DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs.☆159Updated 7 months ago
- SQUEEZED ATTENTION: Accelerating Long Prompt LLM Inference☆46Updated 5 months ago
- PyTorch bindings for CUTLASS grouped GEMM.☆89Updated 2 weeks ago
- [ICML 2024] SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models☆20Updated 11 months ago
- Code implementation of GPTQv2 (https://arxiv.org/abs/2504.02692)☆36Updated 3 weeks ago
- [ICML 2024 Oral] This project is the official implementation of our Accurate LoRA-Finetuning Quantization of LLMs via Information Retenti…☆65Updated last year
- Code for paper: [ICLR2025 Oral] FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference☆100Updated 3 weeks ago
- LongSpec: Long-Context Speculative Decoding with Efficient Drafting and Verification☆52Updated 2 months ago
- Sirius, an efficient correction mechanism, which significantly boosts Contextual Sparsity models on reasoning tasks while maintaining its…☆21Updated 8 months ago