Quantize transformers to any learned arbitrary 4-bit numeric format
☆59Jul 2, 2026Updated last month
Alternatives and similar repositories for any4
Users that are interested in any4 are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Code repo for the paper "SpinQuant LLM quantization with learned rotations"☆426Feb 14, 2025Updated last year
- CATransformers is a framework for joint neural network and hardware architecture search.☆24Mar 17, 2026Updated 4 months ago
- This repository contains the training code of ParetoQ introduced in our work "ParetoQ Scaling Laws in Extremely Low-bit LLM Quantization"☆132Oct 15, 2025Updated 10 months ago
- ☆182Jun 22, 2025Updated last year
- Fast Hadamard transform in CUDA, with a PyTorch interface☆345Mar 10, 2026Updated 5 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Code implementation of GPTAQ (https://arxiv.org/abs/2504.02692)☆94Jul 28, 2025Updated last year
- [NeurIPS 2025 (spotlight)] HBLLM: Wavelet-Enhanced High-Fidelity 1-Bit Quantization for LLMs☆16Dec 17, 2025Updated 7 months ago
- ☆15Apr 11, 2024Updated 2 years ago
- The official implementation of NOSA☆20Jun 11, 2026Updated 2 months ago
- [ICLR25] STBLLM: Breaking the 1-Bit Barrier with Structured Binary LLMs☆20Jun 3, 2025Updated last year
- PyTorch Quantization Framework For OCP MX Datatypes.☆16May 30, 2025Updated last year
- ☆117Feb 26, 2026Updated 5 months ago
- Pytorch implementation of our paper accepted by ECCV 2022-- Fine-grained Data Distribution Alignment for Post-Training Quantization☆16Sep 13, 2022Updated 3 years ago
- [ICLR 2023] PyTorch code for DFPC: Data flow driven pruning of coupled channels without data.☆15Aug 25, 2023Updated 2 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- GoldFinch and other hybrid transformer components☆46Jul 20, 2024Updated 2 years ago
- code for Towards Data Science article on prompt-loss-weight☆11Jun 4, 2025Updated last year
- [ICLR2025]: OSTQuant: Refining Large Language Model Quantization with Orthogonal and Scaling Transformations for Better Distribution Fitt…☆95Apr 8, 2025Updated last year
- d-Matrix DMX Compressor: A Pytorch toolkit for nn.Module transformations supporting advanced quantization, sparsity, and elementwise func…☆22Mar 5, 2026Updated 5 months ago
- Model Compression Toolbox for Large Language Models and Diffusion Models☆799Aug 14, 2025Updated last year
- Implementation of "RaanA: A Fast, Flexible, and Data-Efficient Post-Training Quantization Algorithm"☆18Apr 11, 2025Updated last year
- ☆191Updated this week
- QQQ is an innovative and hardware-optimized W4A8 quantization solution for LLMs.☆160Aug 21, 2025Updated 11 months ago
- Code for Neurips24 paper: QuaRot, an end-to-end 4-bit inference of large language models.☆530Nov 26, 2024Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- A very simple performing matrix multiplication example for CPU / CUDA / METAL using GGML / llama.cpp☆13Jul 7, 2024Updated 2 years ago
- High-performance GPU kernels for Ads and Recsys model training, independently implemented and optimized for real-world workloads and mode…☆36Aug 7, 2026Updated last week
- IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reuse☆132Mar 14, 2026Updated 5 months ago
- This repository provides the official implementation of QSVD, a method for efficient low-rank approximation that unifies Query-Key-Value …☆28May 16, 2026Updated 2 months ago
- LLM Inference with Microscaling Format☆35Nov 12, 2024Updated last year
- Adamas: Hadamard Sparse Attention for Efficient Long-context Inference☆15May 19, 2026Updated 2 months ago
- Work in progress.☆81Nov 25, 2025Updated 8 months ago
- MSLK (Meta Superintelligence Labs Kernels) is a collection of PyTorch GPU operator libraries that are designed and optimized for GenAI tr…☆145Updated this week
- [ICML 2025] Official PyTorch implementation of "FlatQuant: Flatness Matters for LLM Quantization"☆225Nov 25, 2025Updated 8 months ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- QuTLASS: CUTLASS-Powered Quantized BLAS for Deep Learning☆199Jul 20, 2026Updated 3 weeks ago
- [ICML 2026]A framework to compare low-bit integer and float-point formats☆82May 6, 2026Updated 3 months ago
- [ACL'26 Findings] Steering LLM Thinking with Budget Guidance☆34Feb 19, 2026Updated 5 months ago
- ☆22Jul 1, 2026Updated last month
- A general 2-8 bits quantization toolbox with GPTQ/AWQ/HQQ/VPTQ, and export to onnx/onnx-runtime easily.☆190Mar 23, 2026Updated 4 months ago
- Code for the papers: “Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scaling” and “Adaptive Block-Scaled Data Types”☆202Apr 21, 2026Updated 3 months ago
- High performance pytorch modules☆18Jan 14, 2023Updated 3 years ago