DeMoriarty / TorchPQLinks
Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda
☆228Updated 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☆269Updated 4 years ago
- This is a pytorch implementation of k-means clustering algorithm☆325Updated 7 months ago
- Official PyTorch Implementation of Long-Short Transformer (NeurIPS 2021).☆227Updated 3 years ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆216Updated 2 years ago
- An implementation of local windowed attention for language modeling☆479Updated 2 months ago
- [Prototype] Tools for the concurrent manipulation of variably sized Tensors.☆251Updated 2 years ago
- Implementation of Linformer for Pytorch☆299Updated last year
- Fully featured implementation of Routing Transformer☆298Updated 3 years ago
- ☆382Updated last year
- TF/Keras code for DiffStride, a pooling layer with learnable strides.☆124Updated 3 years ago
- Sequence modeling with Mega.☆300Updated 2 years ago
- Is the attention layer even necessary? (https://arxiv.org/abs/2105.02723)☆486Updated 4 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 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
- ☆164Updated 2 years ago
- Efficient reservoir sampling implementation for PyTorch☆106Updated 4 years ago
- Fast Block Sparse Matrices for Pytorch☆547Updated 4 years ago
- Implementation of a Transformer, but completely in Triton☆275Updated 3 years ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆207Updated 2 years ago
- Memory Efficient Attention (O(sqrt(n)) for Jax and PyTorch☆183Updated 2 years ago
- Slicing a PyTorch Tensor Into Parallel Shards☆301Updated 3 months ago
- Demystify RAM Usage in Multi-Process Data Loaders☆201Updated 2 years ago
- A LARS implementation in PyTorch☆352Updated 5 years ago
- Simple and efficient RevNet-Library for PyTorch with XLA and DeepSpeed support and parameter offload☆129Updated 3 years ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆798Updated last year
- Named tensors with first-class dimensions for PyTorch☆332Updated 2 years ago
- Block-sparse primitives for PyTorch☆160Updated 4 years ago
- Beyond Straight-Through☆101Updated 2 years ago
- Adaptive Gradient Clipping☆149Updated 3 years ago
- Implementation of Fast Transformer in Pytorch☆177Updated 4 years ago