facebookresearch / diffq
DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight or group of weights, in order to achieve a given trade-off between model size and accuracy.
☆235Updated last year
Alternatives and similar repositories for diffq:
Users that are interested in diffq are comparing it to the libraries listed below
- Implementation of a Transformer, but completely in Triton☆260Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆211Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆321Updated last year
- A library to inspect and extract intermediate layers of PyTorch models.☆472Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Fast Block Sparse Matrices for Pytorch☆546Updated 4 years ago
- Sequence modeling with Mega.☆295Updated 2 years ago
- Accelerate PyTorch models with ONNX Runtime☆358Updated last month
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆126Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆182Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Recipes are a standard, well supported set of blueprints for machine learning engineers to rapidly train models using the latest research…☆310Updated last week
- Implementation of Flash Attention in Jax☆206Updated last year
- ☆184Updated last month
- Amos optimizer with JEstimator lib.☆81Updated 10 months ago
- Prune a model while finetuning or training.☆400Updated 2 years ago
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆116Updated 3 years ago
- Framework for writing deep learning training loops. Lightweight, and retaining full freedom to design as you see fits. It handles checkpo…☆108Updated last year
- ☆343Updated 11 months ago
- torch::deploy (multipy for non-torch uses) is a system that lets you get around the GIL problem by running multiple Python interpreters i…☆178Updated 3 months ago
- Library for 8-bit optimizers and quantization routines.☆717Updated 2 years ago
- Blazing fast training of 🤗 Transformers on Graphcore IPUs☆84Updated last year
- ☆290Updated this week
- ☆235Updated last week
- Customized matrix multiplication kernels☆53Updated 3 years ago
- graftr: an interactive shell to view and edit PyTorch checkpoints.☆111Updated 4 years ago
- Configuration classes enabling type-safe PyTorch configuration for Hydra apps☆212Updated 2 years ago
- Torch Distributed Experimental☆115Updated 7 months ago
- Online Normalization for Training Neural Networks (Companion Repository)☆81Updated 3 years ago