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☆83Updated last month
- ☆76Updated 8 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 7 months ago
- A place to store reusable transformer components of my own creation or found on the interwebs☆48Updated last week
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆58Updated last month
- ☆49Updated last year
- Triton Implementation of HyperAttention Algorithm☆47Updated last year
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆81Updated last year
- experiments with inference on llama☆104Updated 9 months ago
- ☆79Updated 11 months ago
- NeurIPS Large Language Model Efficiency Challenge: 1 LLM + 1GPU + 1Day☆255Updated last year
- Utilities for Training Very Large Models☆58Updated 5 months ago
- Experiment of using Tangent to autodiff triton☆78Updated last year
- Implementation of Infini-Transformer in Pytorch☆109Updated 2 months ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆122Updated 11 months ago
- ☆60Updated last year
- Train, tune, and infer Bamba model☆86Updated 2 months ago
- ☆67Updated 8 months ago
- ML/DL Math and Method notes☆58Updated last year
- Prune transformer layers☆68Updated 9 months ago
- ☆95Updated 9 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- Implementation of the Llama architecture with RLHF + Q-learning☆163Updated last month
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆98Updated 3 months ago
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated 2 years ago
- Repo hosting codes and materials related to speeding LLMs' inference using token merging.☆35Updated 10 months ago
- ☆47Updated 6 months ago
- Official repository for the paper "Approximating Two-Layer Feedforward Networks for Efficient Transformers"☆36Updated last year
- ☆53Updated last year