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☆257Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆180Updated 2 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆210Updated 2 years ago
- graftr: an interactive shell to view and edit PyTorch checkpoints.☆111Updated 4 years ago
- Named tensors with first-class dimensions for PyTorch☆321Updated last year
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆126Updated 2 years ago
- Library for 8-bit optimizers and quantization routines.☆717Updated 2 years ago
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆116Updated 3 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆186Updated 2 years ago
- Configuration classes enabling type-safe PyTorch configuration for Hydra apps☆210Updated 2 years ago
- Fast Block Sparse Matrices for Pytorch☆546Updated 4 years ago
- Amos optimizer with JEstimator lib.☆81Updated 9 months ago
- A small demonstration of using WebDataset with ImageNet and PyTorch Lightning☆74Updated last year
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆84Updated last year
- Framework for writing deep learning training loops. Lightweight, and retaining full freedom to design as you see fits. It handles checkpo…☆107Updated 11 months ago
- A case study of efficient training of large language models using commodity hardware.☆68Updated 2 years ago
- Accelerate PyTorch models with ONNX Runtime☆358Updated 5 months ago
- A library to inspect and extract intermediate layers of PyTorch models.☆471Updated 2 years ago
- Pytorch Lightning Distributed Accelerators using Ray☆211Updated last year
- Prune a model while finetuning or training.☆399Updated 2 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…☆178Updated 2 months ago
- ☆182Updated 2 weeks ago
- Slicing a PyTorch Tensor Into Parallel Shards☆298Updated 3 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- Implementation of Flash Attention in Jax☆204Updated 11 months ago
- ☆338Updated 10 months ago
- ☆64Updated 5 months ago
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆253Updated 2 years ago
- Torch Distributed Experimental☆115Updated 6 months ago
- PyTorch implementation of L2L execution algorithm☆107Updated 2 years ago