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
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆183Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆320Updated last year
- A library to inspect and extract intermediate layers of PyTorch models.☆472Updated 2 years ago
- Implementation of a Transformer, but completely in Triton☆263Updated 3 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- ☆186Updated last week
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Accelerate PyTorch models with ONNX Runtime☆359Updated 2 months ago
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆116Updated 3 years ago
- Fast Block Sparse Matrices for Pytorch☆545Updated 4 years 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…☆180Updated 4 months ago
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆251Updated 2 years ago
- Library for 8-bit optimizers and quantization routines.☆716Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Prune a model while finetuning or training.☆402Updated 2 years ago
- graftr: an interactive shell to view and edit PyTorch checkpoints.☆112Updated 4 years ago
- Torch Distributed Experimental☆115Updated 8 months ago
- Amos optimizer with JEstimator lib.☆82Updated 11 months ago
- MONeT framework for reducing memory consumption of DNN training☆173Updated 3 years ago
- Recipes are a standard, well supported set of blueprints for machine learning engineers to rapidly train models using the latest research…☆312Updated last week
- gpu tester detects broken and slow gpus in a cluster☆69Updated 2 years ago
- Implementation of Flash Attention in Jax☆206Updated last year
- Sequence modeling with Mega.☆294Updated 2 years ago
- A library that contains a rich collection of performant PyTorch model metrics, a simple interface to create new metrics, a toolkit to fac…☆230Updated 3 months ago
- Framework for writing deep learning training loops. Lightweight, and retaining full freedom to design as you see fits. It handles checkpo…☆110Updated last year
- Online Normalization for Training Neural Networks (Companion Repository)☆81Updated 4 years ago
- A GPU performance profiling tool for PyTorch models☆506Updated 3 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☆203Updated last year
- A small demonstration of using WebDataset with ImageNet and PyTorch Lightning☆74Updated last year