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:
- ML/DL Math and Method notes☆66Updated 2 years ago
- Collection of autoregressive model implementation☆85Updated this week
- A place to store reusable transformer components of my own creation or found on the interwebs☆71Updated last week
- Various transformers for FSDP research☆38Updated 3 years ago
- ☆92Updated last year
- Code for NeurIPS LLM Efficiency Challenge☆59Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆170Updated 11 months ago
- A collection of lightweight interpretability scripts to understand how LLMs think☆88Updated this week
- Minimal sharded dataset loaders, decoders, and utils for multi-modal document, image, and text datasets.☆160Updated last year
- ☆48Updated last year
- experiments with inference on llama☆103Updated last year
- Experiment of using Tangent to autodiff triton☆81Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆126Updated last year
- ☆82Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆103Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- ☆71Updated last year
- Utilities for Training Very Large Models☆58Updated last year
- Genalog is an open source, cross-platform python package allowing generation of synthetic document images with custom degradations and te…☆44Updated last year
- ☆91Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Updated last year
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆86Updated 2 years ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆83Updated 2 years ago
- ☆178Updated last year
- some common Huggingface transformers in maximal update parametrization (µP)☆87Updated 3 years ago
- ☆52Updated last year
- Make triton easier☆50Updated last year
- Functional local implementations of main model parallelism approaches☆95Updated 2 years ago
- A really tiny autograd engine☆99Updated 7 months ago