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
☆119Updated 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 3 weeks ago
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆108Updated last month
- Implementation of a multimodal diffusion transformer in Pytorch☆97Updated 4 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆157Updated 10 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆90Updated 3 months ago
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆112Updated 2 months ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆53Updated 6 months ago
- Implementation of a Light Recurrent Unit in Pytorch☆46Updated last month
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆113Updated 7 months ago
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆85Updated 2 months ago
- ☆128Updated this week
- Implementation of the proposed MaskBit from Bytedance AI☆62Updated last week
- Implementation of Agent Attention in Pytorch☆86Updated 4 months ago
- ☆73Updated 4 months ago
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆207Updated last year
- Scalable and Performant Data Loading☆66Updated this week
- Implementation of GateLoop Transformer in Pytorch and Jax☆86Updated 5 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆246Updated 6 months ago
- WIP☆89Updated 3 months ago
- Efficient optimizers☆79Updated this week
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 2 months ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated 10 months ago
- This code repository contains the code used for my "Optimizing Memory Usage for Training LLMs and Vision Transformers in PyTorch" blog po…☆86Updated last year
- A practical implementation of GradNorm, Gradient Normalization for Adaptive Loss Balancing, in Pytorch☆77Updated 9 months ago
- Normalized Transformer (nGPT)☆66Updated this week
- ☆228Updated 2 months ago
- ☆76Updated 7 months ago
- Griffin MQA + Hawk Linear RNN Hybrid☆85Updated 6 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆84Updated last week