rasbt / pytorch-memory-optim
This code repository contains the code used for my "Optimizing Memory Usage for Training LLMs and Vision Transformers in PyTorch" blog post.
☆87Updated 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
- Collection of autoregressive model implementation☆76Updated last week
- ☆75Updated 6 months ago
- ML/DL Math and Method notes☆57Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆67Updated 7 months ago
- ☆138Updated 11 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆157Updated last year
- ☆47Updated 4 months ago
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆81Updated last year
- ☆104Updated last week
- A place to store reusable transformer components of my own creation or found on the interwebs☆44Updated 3 weeks ago
- Code for NeurIPS LLM Efficiency Challenge☆54Updated 9 months ago
- Train, tune, and infer Bamba model☆75Updated this week
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆121Updated 9 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆55Updated last month
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆119Updated 5 months ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated last year
- ☆78Updated 9 months ago
- ☆65Updated 6 months ago
- Triton Implementation of HyperAttention Algorithm☆46Updated last year
- ☆85Updated 10 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆90Updated last year
- ☆87Updated 11 months ago
- ring-attention experiments☆116Updated 3 months ago
- Make triton easier☆42Updated 7 months ago
- ☆130Updated last year
- ☆49Updated 10 months ago
- ☆53Updated 11 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆90Updated last month
- A set of scripts and notebooks on LLM finetunning and dataset creation☆99Updated 3 months ago
- PB-LLM: Partially Binarized Large Language Models☆150Updated last year