rasbt / pytorch-memory-optimLinks
This code repository contains the code used for my "Optimizing Memory Usage for Training LLMs and Vision Transformers in PyTorch" blog post.
☆91Updated last year
Alternatives and similar repositories for pytorch-memory-optim
Users that are interested in pytorch-memory-optim are comparing it to the libraries listed below
Sorting:
- Collection of autoregressive model implementation☆85Updated last month
- ☆88Updated last year
- ☆78Updated 11 months ago
- ☆157Updated last year
- ML/DL Math and Method notes☆61Updated last year
- A place to store reusable transformer components of my own creation or found on the interwebs☆56Updated 3 weeks ago
- Experiment of using Tangent to autodiff triton☆79Updated last year
- ☆47Updated 9 months ago
- ☆47Updated 7 months ago
- ☆80Updated last year
- Code for NeurIPS LLM Efficiency Challenge☆58Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 10 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆62Updated 4 months ago
- Various transformers for FSDP research☆37Updated 2 years ago
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- ☆132Updated last year
- ☆40Updated last year
- DPO, but faster 🚀☆42Updated 5 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆165Updated 4 months ago
- ☆108Updated last year
- Memory-Efficient CUDA kernels for training ConvNets with PyTorch.☆41Updated 3 months ago
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆82Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 8 months ago
- ☆49Updated last year
- A set of scripts and notebooks on LLM finetunning and dataset creation☆111Updated 8 months ago
- Utilities for Training Very Large Models☆58Updated 8 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆70Updated last year
- ☆188Updated 3 months ago
- LoRA and DoRA from Scratch Implementations☆203Updated last year
- Prune transformer layers☆69Updated last year