Quantize transformers to any learned arbitrary 4-bit numeric format
☆59Jul 2, 2026Updated 3 months ago
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"☆437Feb 14, 2025Updated last year
- CATransformers is a framework for joint neural network and hardware architecture search.☆24Mar 17, 2026Updated 6 months ago
- This repository contains the training code of ParetoQ introduced in our work "ParetoQ Scaling Laws in Extremely Low-bit LLM Quantization"☆135Oct 15, 2025Updated last year
- ☆194Jun 22, 2025Updated last year
- Fast Hadamard transform in CUDA, with a PyTorch interface☆352Mar 10, 2026Updated 7 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Code implementation of GPTAQ (https://arxiv.org/abs/2504.02692)☆97Jul 28, 2025Updated last year
- [NeurIPS 2025 (spotlight)] HBLLM: Wavelet-Enhanced High-Fidelity 1-Bit Quantization for LLMs☆16Dec 17, 2025Updated 9 months ago
- ☆15Apr 11, 2024Updated 2 years ago
- [ICLR25] STBLLM: Breaking the 1-Bit Barrier with Structured Binary LLMs☆19Jun 3, 2025Updated last year
- PyTorch Quantization Framework For OCP MX Datatypes.☆16May 30, 2025Updated last year
- ☆126Feb 26, 2026Updated 7 months ago
- Pytorch implementation of our paper accepted by ECCV 2022-- Fine-grained Data Distribution Alignment for Post-Training Quantization☆16Sep 13, 2022Updated 4 years ago
- [ICLR 2023] PyTorch code for DFPC: Data flow driven pruning of coupled channels without data.☆15Aug 25, 2023Updated 3 years ago
- GoldFinch and other hybrid transformer components☆47Jul 20, 2024Updated 2 years ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- 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…☆96Apr 8, 2025Updated last year
- d-Matrix DMX Compressor: A Pytorch toolkit for nn.Module transformations supporting advanced quantization, sparsity, and elementwise func…☆21Sep 24, 2026Updated 2 weeks ago
- Model Compression Toolbox for Large Language Models and Diffusion Models☆801Aug 14, 2025Updated last year
- Implementation of "RaanA: A Fast, Flexible, and Data-Efficient Post-Training Quantization Algorithm"☆18Apr 11, 2025Updated last year
- QQQ is an innovative and hardware-optimized W4A8 quantization solution for LLMs.☆160Aug 21, 2025Updated last year
- Code for Neurips24 paper: QuaRot, an end-to-end 4-bit inference of large language models.☆535Nov 26, 2024Updated last year
- Humming is a high-performance, lightweight, and highly flexible JIT (Just-In-Time) compiled GEMM kernel library specifically designed for…☆254Updated this week
- A very simple performing matrix multiplication example for CPU / CUDA / METAL using GGML / llama.cpp☆13Jul 7, 2024Updated 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.
- IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reuse☆145Mar 14, 2026Updated 7 months ago
- High-performance GPU kernels for Ads and Recsys model training, independently implemented and optimized for real-world workloads and mode…☆55Updated this week
- This repository provides the official implementation of QSVD, a method for efficient low-rank approximation that unifies Query-Key-Value …☆29May 16, 2026Updated 4 months ago
- LLM Inference with Microscaling Format☆35Nov 12, 2024Updated last year
- Adamas: Hadamard Sparse Attention for Efficient Long-context Inference☆15Oct 1, 2026Updated 2 weeks ago
- Work in progress.☆82Nov 25, 2025Updated 10 months ago
- MSLK (Meta Superintelligence Labs Kernels) is a collection of PyTorch GPU operator libraries that are designed and optimized for GenAI tr…☆155Updated this week
- QuTLASS: CUTLASS-Powered Quantized BLAS for Deep Learning☆203Sep 2, 2026Updated last month
- [ICML 2026]A framework to compare low-bit integer and float-point formats☆84May 6, 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.
- [ICML 2025] Official PyTorch implementation of "FlatQuant: Flatness Matters for LLM Quantization"☆228Nov 25, 2025Updated 10 months ago
- [ACL'26 Findings] Steering LLM Thinking with Budget Guidance☆34Feb 19, 2026Updated 7 months ago
- ☆28Jul 1, 2026Updated 3 months ago
- A general 2-8 bits quantization toolbox with GPTQ/AWQ/HQQ/VPTQ, and export to onnx/onnx-runtime easily.☆192Mar 23, 2026Updated 6 months ago
- Discovering environments with XRM☆18Dec 6, 2024Updated last year
- Unlocking Lossless Speedups in LLMs via Discrete Diffusion☆100Updated this week
- Code for the papers: “Four Over Six: More Accurate NVFP4 Quantization with Adaptive Block Scaling” and “Adaptive Block-Scaled Data Types”☆204Apr 21, 2026Updated 5 months ago