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.
☆92Updated 2 years ago
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:
- A place to store reusable transformer components of my own creation or found on the interwebs☆60Updated 2 weeks ago
- Collection of autoregressive model implementation☆86Updated 4 months ago
- ML/DL Math and Method notes☆63Updated last year
- Various transformers for FSDP research☆38Updated 2 years ago
- Implementation of the Llama architecture with RLHF + Q-learning☆166Updated 7 months ago
- ☆87Updated last year
- LoRA and DoRA from Scratch Implementations☆211Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- experiments with inference on llama☆104Updated last year
- ☆168Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆124Updated last year
- Code for NeurIPS LLM Efficiency Challenge☆59Updated last year
- ☆48Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Updated last year
- Experiment of using Tangent to autodiff triton☆81Updated last year
- ☆134Updated last year
- A really tiny autograd engine☆94Updated 3 months ago
- ☆82Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆87Updated last year
- Minimal sharded dataset loaders, decoders, and utils for multi-modal document, image, and text datasets.☆158Updated last year
- ☆88Updated last year
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆83Updated last year
- Minimal example scripts of the Hugging Face Trainer, focused on staying under 150 lines☆197Updated last year
- A set of scripts and notebooks on LLM finetunning and dataset creation☆110Updated 11 months ago
- ☆49Updated last year
- Implementation of Infini-Transformer in Pytorch☆111Updated 8 months ago
- 👷 Build compute kernels☆136Updated this week
- ☆94Updated last year
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆256Updated last year