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☆251Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆322Updated last year
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆210Updated last year
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆116Updated 3 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…☆179Updated last month
- Fast Block Sparse Matrices for Pytorch☆547Updated 3 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆125Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆181Updated 2 years ago
- A library to inspect and extract intermediate layers of PyTorch models.☆470Updated 2 years ago
- Various transformers for FSDP research☆34Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆184Updated 2 years ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆84Updated last year
- Accelerate PyTorch models with ONNX Runtime☆358Updated 4 months ago
- Framework for writing deep learning training loops. Lightweight, and retaining full freedom to design as you see fits. It handles checkpo…☆106Updated 9 months ago
- Configuration classes enabling type-safe PyTorch configuration for Hydra apps☆209Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆250Updated 2 years ago
- ☆232Updated 3 weeks ago
- Torch Distributed Experimental☆115Updated 5 months ago
- Prune a model while finetuning or training.