facebookresearch / diffqLinks
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.
☆237Updated 2 years ago
Alternatives and similar repositories for diffq
Users that are interested in diffq are comparing it to the libraries listed below
Sorting:
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆219Updated 2 years ago
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆117Updated 3 years ago
- Implementation of a Transformer, but completely in Triton☆278Updated 3 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆131Updated 3 years ago
- graftr: an interactive shell to view and edit PyTorch checkpoints.☆114Updated 5 years ago
- Make TFRecord Usable Again☆90Updated 2 years ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆189Updated 3 years ago
- Adaptive Gradient Clipping☆153Updated 3 years ago
- PyTorch implementation of L2L execution algorithm☆109Updated 2 years ago
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆250Updated 3 years ago
- Accelerate PyTorch models with ONNX Runtime☆368Updated 3 weeks ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 3 years ago
- Online Normalization for Training Neural Networks (Companion Repository)☆86Updated 4 years ago
- Amos optimizer with JEstimator lib.☆82Updated last year
- Framework for writing deep learning training loops. Lightweight, and retaining full freedom to design as you see fits. It handles checkpo…☆117Updated last year
- Named tensors with first-class dimensions for PyTorch☆332Updated 2 years ago
- A case study of efficient training of large language models using commodity hardware.☆68Updated 3 years ago
- This repository contains example code to build models on TPUs☆30Updated 2 years ago
- Implementation of Fast Transformer in Pytorch☆177Updated 4 years ago
- Contrastive Language-Audio Pretraining☆88Updated 3 years ago
- A library to inspect and extract intermediate layers of PyTorch models.☆475Updated 3 years ago
- Fast Block Sparse Matrices for Pytorch☆550Updated 4 years ago
- Efficient, check-pointed data loading for deep learning with massive data sets.☆211Updated 2 years ago
- A small demonstration of using WebDataset with ImageNet and PyTorch Lightning☆75Updated 2 years ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆83Updated 2 years ago
- Implementation of Flash Attention in Jax☆223Updated last year
- ☆191Updated 3 weeks ago