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.
☆92Updated 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
- ☆88Updated last year
- Collection of autoregressive model implementation☆85Updated 2 weeks ago
- ML/DL Math and Method notes☆60Updated last year
- Load compute kernels from the Hub☆115Updated 2 weeks ago
- ☆181Updated 2 months ago
- ☆78Updated 10 months ago
- ☆155Updated last year
- Experiment of using Tangent to autodiff triton☆78Updated last year
- ☆87Updated last year
- ☆81Updated last year
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆60Updated 3 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 9 months ago
- LoRA and DoRA from Scratch Implementations☆203Updated last year
- ☆103Updated 11 months ago
- Triton Implementation of HyperAttention Algorithm☆47Updated last year
- PB-LLM: Partially Binarized Large Language Models☆152Updated last year
- A place to store reusable transformer components of my own creation or found on the interwebs☆55Updated this week
- Various transformers for FSDP research☆37Updated 2 years ago
- Utilities for Training Very Large Models☆58Updated 7 months ago
- Implementation of Infini-Transformer in Pytorch☆110Updated 4 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.☆36Updated last year
- Minimal example scripts of the Hugging Face Trainer, focused on staying under 150 lines☆198Updated last year
- Code for NeurIPS LLM Efficiency Challenge☆57Updated last year
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆123Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆164Updated 3 months ago
- Comprehensive analysis of difference in performance of QLora, Lora, and Full Finetunes.☆82Updated last year
- This repository contains the experimental PyTorch native float8 training UX☆224Updated 9 months ago
- experiments with inference on llama☆104Updated 11 months ago
- ☆49Updated last year