lucidrains / pytorch-custom-utils
Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new AI research
☆117Updated 3 months ago
Related projects ⓘ
Alternatives and complementary repositories for pytorch-custom-utils
- Implementation of Infini-Transformer in Pytorch☆104Updated last month
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆94Updated 2 weeks ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆111Updated 2 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆156Updated 10 months ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆108Updated 3 weeks ago
- Explorations into the recently proposed Taylor Series Linear Attention☆89Updated 2 months ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆53Updated 5 months ago
- Efficient CUDA kernels for training convolutional neural networks with PyTorch.☆33Updated last week
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆112Updated 6 months ago
- Implementation of a multimodal diffusion transformer in Pytorch☆97Updated 4 months ago
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆84Updated 2 months ago
- ☆72Updated 4 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆207Updated last year
- ☆116Updated this week
- Implementation of GateLoop Transformer in Pytorch and Jax☆86Updated 4 months ago
- Implementation of a Light Recurrent Unit in Pytorch☆46Updated last month
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆242Updated 6 months ago
- WIP☆88Updated 2 months ago
- ☆76Updated 5 months ago
- Implementation of Agent Attention in Pytorch☆86Updated 3 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆83Updated last week
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated 10 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 6 months ago
- Implementation of the proposed MaskBit from Bytedance AI☆58Updated 2 weeks ago
- ☆133Updated 9 months ago
- ☆76Updated 6 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆224Updated 2 months ago
- Implementation of the Kalman Filtering Attention proposed in "Kalman Filtering Attention for User Behavior Modeling in CTR Prediction"☆57Updated last year
- Simple implementation of muP, based on Spectral Condition for Feature Learning. The implementation is SGD only, dont use it for Adam☆69Updated 3 months ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆79Updated 7 months ago