lucidrains / pytorch-custom-utilsLinks
Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new AI research
☆123Updated last year
Alternatives and similar repositories for pytorch-custom-utils
Users that are interested in pytorch-custom-utils are comparing it to the libraries listed below
Sorting:
- Implementation of Infini-Transformer in Pytorch☆113Updated 9 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆99Updated last year
- Implementation of the proposed Adam-atan2 from Google Deepmind in Pytorch☆129Updated last week
- Attempt to make multiple residual streams from Bytedance's Hyper-Connections paper accessible to the public☆91Updated 4 months ago
- Implementation of Agent Attention in Pytorch☆91Updated last year
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆119Updated last year
- A practical implementation of GradNorm, Gradient Normalization for Adaptive Loss Balancing, in Pytorch☆110Updated last month
- Implementation of the Llama architecture with RLHF + Q-learning☆167Updated 8 months ago
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆102Updated 10 months ago
- Exploration into the proposed "Self Reasoning Tokens" by Felipe Bonetto☆57Updated last year
- Implementation of a Light Recurrent Unit in Pytorch☆49Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Implementation of fused cosine similarity attention in the same style as Flash Attention☆217Updated 2 years ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆90Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆222Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Updated last year
- Implementation of a multimodal diffusion transformer in Pytorch☆106Updated last year
- Official implementation of the paper: "ZClip: Adaptive Spike Mitigation for LLM Pre-Training".☆135Updated last week
- ☆91Updated last year
- Pytorch implementation of the PEER block from the paper, Mixture of A Million Experts, by Xu Owen He at Deepmind☆129Updated last year
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆206Updated 2 years ago
- The Gaussian Histogram Loss (HL-Gauss) proposed by Imani et al. with a few convenient wrappers for regression, in Pytorch☆66Updated 2 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆221Updated last year
- The AdEMAMix Optimizer: Better, Faster, Older.☆186Updated last year
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Simple implementation of muP, based on Spectral Condition for Feature Learning. The implementation is SGD only, dont use it for Adam☆85Updated last year
- Scalable and Performant Data Loading☆311Updated this week
- Efficient optimizers☆274Updated last week
- Train vision models using JAX and 🤗 transformers☆99Updated last month
- Implementation of the proposed Spline-Based Transformer from Disney Research☆104Updated 11 months ago