DeMoriarty / TorchPQLinks
Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda
☆231Updated 2 years ago
Alternatives and similar repositories for TorchPQ
Users that are interested in TorchPQ are comparing it to the libraries listed below
Sorting:
- Sinkhorn Transformer - Practical implementation of Sparse Sinkhorn Attention☆269Updated 4 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆228Updated 3 years ago
- Fully featured implementation of Routing Transformer☆300Updated 4 years ago
- An implementation of local windowed attention for language modeling☆494Updated 6 months ago
- This is a pytorch implementation of k-means clustering algorithm☆339Updated 10 months ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆220Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆390Updated 2 years ago
- ☆388Updated 2 years ago
- Sequence modeling with Mega.☆302Updated 3 years ago
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆250Updated 3 years ago
- Implementation of Linformer for Pytorch☆306Updated 2 years ago
- DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight …☆237Updated 2 years ago
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆507Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 3 years ago
- ☆163Updated 3 years ago
- Fast Block Sparse Matrices for Pytorch☆550Updated 5 years ago
- Named tensors with first-class dimensions for PyTorch☆332Updated 2 years ago
- Block-sparse primitives for PyTorch☆160Updated 4 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆377Updated 5 years ago
- Slicing a PyTorch Tensor Into Parallel Shards☆300Updated 7 months ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆485Updated 4 years ago
- A LARS implementation in PyTorch☆352Updated 5 years ago
- Differentiable Sorting Networks☆125Updated 2 years ago
- A better PyTorch implementation of image local attention which reduces the GPU memory by an order of magnitude.☆142Updated 4 years ago
- Efficient reservoir sampling implementation for PyTorch☆107Updated 4 years ago
- Tiny PyTorch library for maintaining a moving average of a collection of parameters.☆444Updated last year
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆131Updated 3 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 Hourglass Transformer, in Pytorch, from Google and OpenAI☆98Updated 4 years ago