DeMoriarty / TorchPQLinks
Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda
☆226Updated last year
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☆267Updated 3 years ago
- This is a pytorch implementation of k-means clustering algorithm☆316Updated 5 months ago
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆251Updated 2 years ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆225Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆214Updated 2 years ago
- ☆378Updated last year
- Fully featured implementation of Routing Transformer☆297Updated 3 years ago
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Efficient reservoir sampling implementation for PyTorch☆106Updated 3 years ago
- An implementation of local windowed attention for language modeling☆470Updated 2 weeks ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆486Updated 4 years ago
- Sequence modeling with Mega.☆297Updated 2 years ago
- DiffQ performs differentiable quantization using pseudo quantization noise. It can automatically tune the number of bits used per weight …☆236Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆184Updated 2 years ago
- ☆163Updated 2 years ago
- ☆208Updated 2 years ago
- Fast Block Sparse Matrices for Pytorch☆548Updated 4 years ago
- Implementation of Linformer for Pytorch☆294Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆379Updated 2 years ago
- Implementation of https://arxiv.org/abs/1904.00962☆376Updated 4 years ago
- Beyond Straight-Through☆100Updated 2 years ago
- Named tensors with first-class dimensions for PyTorch☆332Updated 2 years ago
- Slicing a PyTorch Tensor Into Parallel Shards☆299Updated last month
- A PyTorch implementation of Perceiver, Perceiver IO and Perceiver AR with PyTorch Lightning scripts for distributed training☆486Updated last year
- A small demonstration of using WebDataset with ImageNet and PyTorch Lightning☆75Updated last year
- Block-sparse primitives for PyTorch☆157Updated 4 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
- Implementation of a Transformer, but completely in Triton☆273Updated 3 years ago
- A better PyTorch implementation of image local attention which reduces the GPU memory by an order of magnitude.☆141Updated 3 years ago
- Demystify RAM Usage in Multi-Process Data Loaders☆196Updated 2 years ago