lxxue / prefix_sumLinks
A PyTorch wrapper of parallel exclusive scan in CUDA
☆12Updated 2 years ago
Alternatives and similar repositories for prefix_sum
Users that are interested in prefix_sum are comparing it to the libraries listed below
Sorting:
- ☆40Updated 2 years ago
- Parallel Associative Scan for Language Models☆18Updated 2 years ago
- Accelerated First Order Parallel Associative Scan☆196Updated 3 weeks ago
- Efficient PScan implementation in PyTorch☆17Updated 2 years ago
- Code implementing "Efficient Parallelization of a Ubiquitious Sequential Computation" (Heinsen, 2023)☆98Updated last year
- ☆62Updated last year
- Sequence Modeling with Multiresolution Convolutional Memory (ICML 2023)☆127Updated 2 years ago
- Experiment of using Tangent to autodiff triton☆82Updated 2 years ago
- ☆32Updated 2 years ago
- Implementations of various linear RNN layers using pytorch and triton☆54Updated 2 years ago
- ☆33Updated last year
- Blog post☆17Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- ☆45Updated 7 years ago
- Expanding linear RNN state-transition matrix eigenvalues to include negatives improves state-tracking tasks and language modeling without…☆19Updated 10 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated last year
- A library for unit scaling in PyTorch☆133Updated 6 months ago
- ☆44Updated 3 months ago
- ☆35Updated last year
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆46Updated last year
- Pytorch implementation of preconditioned stochastic gradient descent (Kron and affine preconditioner, low-rank approximation precondition…☆191Updated 3 weeks ago
- ☆51Updated 2 years ago
- Sequence Modeling with Structured State Spaces☆67Updated 3 years ago
- Parallelizing non-linear sequential models over the sequence length☆56Updated 7 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆92Updated last year
- ☆83Updated 2 years ago
- Experiments on the impact of depth in transformers and SSMs.☆40Updated 3 months ago
- CUDA implementation of autoregressive linear attention, with all the latest research findings☆46Updated 2 years ago
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆70Updated last year
- Supporting code for the blog post on modular manifolds.☆115Updated 4 months ago