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☆65Updated 2 years ago
- Various transformers for FSDP research☆38Updated 3 years ago
- Collection of autoregressive model implementation☆85Updated 8 months ago
- ☆178Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- A place to store reusable transformer components of my own creation or found on the interwebs☆63Updated 2 weeks ago
- Implementation of the Llama architecture with RLHF + Q-learning☆168Updated 10 months ago
- ☆91Updated last year
- Experiment of using Tangent to autodiff triton☆81Updated last year
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆87Updated 2 years ago
- experiments with inference on llama☆103Updated last year
- ☆48Updated last year
- Code for NeurIPS LLM Efficiency Challenge☆59Updated last year
- Minimal sharded dataset loaders, decoders, and utils for multi-modal document, image, and text datasets.☆160Updated last year
- Minimal example scripts of the Hugging Face Trainer, focused on staying under 150 lines☆196Updated last year
- A really tiny autograd engine☆96Updated 7 months ago
- ☆134Updated 2 years ago
- ☆91Updated last year
- Supercharge huggingface transformers with model parallelism.☆77Updated 5 months ago
- Utilities for Training Very Large Models☆58Updated last year
- Make triton easier☆49Updated last year
- A miniture AI training framework for PyTorch☆42Updated 10 months ago
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆46Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆132Updated last year
- A repository to unravel the language of GPUs, making their kernel conversations easy to understand☆195Updated 6 months ago
- ☆86Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆125Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated 2 years ago
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆259Updated 2 years ago
- ☆71Updated last year