lxxue / prefix_sum
A PyTorch wrapper of parallel exclusive scan in CUDA
☆10Updated last year
Alternatives and similar repositories for prefix_sum:
Users that are interested in prefix_sum are comparing it to the libraries listed below
- Parallel Associative Scan for Language Models☆18Updated last year
- Efficient PScan implementation in PyTorch☆16Updated last year
- ☆38Updated last year
- ☆30Updated 5 months ago
- Blog post☆17Updated last year
- ☆33Updated last year
- ☆52Updated 5 months ago
- ☆31Updated 11 months ago
- Experiment of using Tangent to autodiff triton☆78Updated last year
- The accompanying code for "Simplifying and Understanding State Space Models with Diagonal Linear RNNs" (Ankit Gupta, Harsh Mehta, Jonatha…☆20Updated 2 years ago
- ☆30Updated 4 months ago
- Reference implementation of "Softmax Attention with Constant Cost per Token" (Heinsen, 2024)☆24Updated 9 months ago
- ☆24Updated 6 months ago
- ☆47Updated last year
- Parallelizing non-linear sequential models over the sequence length☆51Updated 2 months ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 9 months ago
- Sequence Modeling with Multiresolution Convolutional Memory (ICML 2023)☆122Updated last year
- Implementations of various linear RNN layers using pytorch and triton☆50Updated last year
- Here we will test various linear attention designs.☆60Updated 11 months ago
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆45Updated 8 months ago
- Triton Implementation of HyperAttention Algorithm☆47Updated last year
- An implementation of the Llama architecture, to instruct and delight☆21Updated 2 months ago
- Implementation of PSGD optimizer in JAX☆29Updated 2 months ago
- HGRN2: Gated Linear RNNs with State Expansion☆53Updated 7 months ago
- A State-Space Model with Rational Transfer Function Representation.☆78Updated 10 months ago
- Expanding linear RNN state-transition matrix eigenvalues to include negatives improves state-tracking tasks and language modeling without…☆14Updated last week
- Official code for the paper "Attention as a Hypernetwork"☆25Updated 9 months ago
- Code for the paper: https://arxiv.org/pdf/2309.06979.pdf☆19Updated 7 months ago
- ☆28Updated 8 months ago
- Code implementing "Efficient Parallelization of a Ubiquitious Sequential Computation" (Heinsen, 2023)☆92Updated 3 months ago