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.
☆236Updated 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 2 years ago
- Implementation of a Transformer, but completely in Triton☆270Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆117Updated 3 years ago
- Make TFRecord Usable Again☆88Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 3 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
- Sequence modeling with Mega.☆296Updated 2 years ago
- Accelerate PyTorch models with ONNX Runtime☆362Updated 5 months ago
- PyTorch implementation of L2L execution algorithm☆107Updated 2 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆83Updated last year
- Framework for writing deep learning training loops. Lightweight, and retaining full freedom to design as you see fits. It handles checkpo…☆114Updated last year
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆251Updated 2 years ago
- graftr: an interactive shell to view and edit PyTorch checkpoints.☆113Updated 4 years ago
- Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda☆226Updated last year
- Contrastive Language-Audio Pretraining☆87Updated 3 years ago
- Online Normalization for Training Neural Networks (Companion Repository)☆82Updated 4 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆252Updated 2 years ago
- Babysit your preemptible TPUs☆86Updated 2 years ago
- Implementation of Flash Attention in Jax☆214Updated last year
- ☆187Updated last week
- gpu tester detects broken and slow gpus in a cluster☆70Updated 2 years ago
- Adaptive Gradient Clipping☆136Updated 2 years ago
- Implementation of Hourglass Transformer, in Pytorch, from Google and OpenAI☆91Updated 3 years ago
- Customized matrix multiplication kernels☆56Updated 3 years ago
- ☆163Updated 2 years ago
- A small demonstration of using WebDataset with ImageNet and PyTorch Lightning☆74Updated last year
- ☆130Updated 2 years ago