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 2 years ago
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☆264Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆213Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- A library to inspect and extract intermediate layers of PyTorch models.☆473Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆320Updated last year
- ☆186Updated last week
- Official code for "Distributed Deep Learning in Open Collaborations" (NeurIPS 2021)☆116Updated 3 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆127Updated 2 years ago
- ☆297Updated last week
- Library for 8-bit optimizers and quantization routines.☆716Updated 2 years ago
- Implementation of Flash Attention in Jax☆208Updated last year
- graftr: an interactive shell to view and edit PyTorch checkpoints.☆113Updated 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
- Fast Block Sparse Matrices for Pytorch☆545Updated 4 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…☆228Updated 3 months ago
- Torch Distributed Experimental☆115Updated 9 months ago
- PyTorch implementation of L2L execution algorithm☆107Updated 2 years ago
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways - in Jax (Equinox framework)☆187Updated 2 years ago
- Implementation of the Adan (ADAptive Nesterov momentum algorithm) Optimizer in Pytorch☆251Updated 2 years ago
- A case study of efficient training of large language models using commodity hardware.☆69Updated 2 years ago
- Prune a model while finetuning or training.☆402Updated 2 years ago
- Various transformers for FSDP research☆37Updated 2 years ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆83Updated last year
- Customized matrix multiplication kernels☆54Updated 3 years ago
- Slicing a PyTorch Tensor Into Parallel Shards☆298Updated 3 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 library for unit scaling in PyTorch☆125Updated 5 months ago
- Blazing fast training of 🤗 Transformers on Graphcore IPUs☆85Updated last year
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆251Updated 2 years ago
- This repository contains the experimental PyTorch native float8 training UX☆224Updated 9 months ago