yuezhouhu / 2by4-pretrain
Efficient 2:4 sparse training algorithms and implementations
☆54Updated 4 months ago
Alternatives and similar repositories for 2by4-pretrain:
Users that are interested in 2by4-pretrain are comparing it to the libraries listed below
- Code for "Accelerating Transformer Pre-training with 2:4 Sparsity"☆23Updated 4 months ago
- XAttention: Block Sparse Attention with Antidiagonal Scoring☆140Updated 3 weeks ago
- ☆40Updated 9 months ago
- A sparse attention kernel supporting mix sparse patterns☆192Updated 2 months ago
- 16-fold memory access reduction with nearly no loss☆90Updated 3 weeks ago
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Training☆184Updated this week
- SKVQ: Sliding-window Key and Value Cache Quantization for Large Language Models☆19Updated 6 months ago
- An algorithm for weight-activation quantization (W4A4, W4A8) of LLMs, supporting both static and dynamic quantization☆127Updated 2 months ago
- [EMNLP 2024] RoLoRA: Fine-tuning Rotated Outlier-free LLMs for Effective Weight-Activation Quantization☆33Updated 6 months ago
- 🔥 A minimal training framework for scaling FLA models☆107Updated last week
- ☆19Updated 3 months ago
- Patch convolution to avoid large GPU memory usage of Conv2D☆86Updated 2 months ago
- [ICML 2024 Oral] This project is the official implementation of our Accurate LoRA-Finetuning Quantization of LLMs via Information Retenti…☆64Updated last year
- [ICML 2024] Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference☆270Updated 5 months ago
- ☆19Updated last month
- Quantized Attention on GPU☆45Updated 5 months ago
- [ICML 2024] SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models☆20Updated 10 months ago
- [NeurIPS 2024 Oral🔥] DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMs.☆156Updated 6 months ago
- Code implementation of GPTQv2 (https://arxiv.org/abs/2504.02692)☆29Updated this week
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆36Updated 8 months ago
- The code repository of "MBQ: Modality-Balanced Quantization for Large Vision-Language Models"☆37Updated last month
- SliM-LLM: Salience-Driven Mixed-Precision Quantization for Large Language Models☆29Updated 8 months ago
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆51Updated 9 months ago
- ☆48Updated 4 months ago
- [ICLR'25] ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation☆77Updated last month
- PoC for "SpecReason: Fast and Accurate Inference-Time Compute via Speculative Reasoning" [arXiv '25]☆27Updated this week
- ☆68Updated 2 months ago
- GEAR: An Efficient KV Cache Compression Recipefor Near-Lossless Generative Inference of LLM☆159Updated 9 months ago
- Code Repository of Evaluating Quantized Large Language Models☆121Updated 7 months ago
- ☆50Updated 11 months ago