stas00 / ml-ways
ML/DL Math and Method notes
☆58Updated last year
Alternatives and similar repositories for ml-ways:
Users that are interested in ml-ways are comparing it to the libraries listed below
- Experiment of using Tangent to autodiff triton☆76Updated last year
- Slides and recordings of talks hosted by our community☆20Updated 8 months ago
- Utilities for Training Very Large Models☆58Updated 5 months ago
- This code repository contains the code used for my "Optimizing Memory Usage for Training LLMs and Vision Transformers in PyTorch" blog po…☆87Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆67Updated 9 months ago
- Large scale 4D parallelism pre-training for 🤗 transformers in Mixture of Experts *(still work in progress)*☆81Updated last year
- Collection of autoregressive model implementation☆81Updated 2 weeks ago
- Make triton easier☆45Updated 8 months ago
- Train, tune, and infer Bamba model☆86Updated last month
- A place to store reusable transformer components of my own creation or found on the interwebs☆47Updated this week
- Jax like function transformation engine but micro, microjax☆30Updated 4 months ago
- Context Manager to profile the forward and backward times of PyTorch's nn.Module☆84Updated last year
- Learn CUDA with PyTorch☆18Updated last month
- ☆27Updated 3 months ago
- train with kittens!☆53Updated 4 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆57Updated last month
- Custom kernels in Triton language for accelerating LLMs☆17Updated 10 months ago
- ☆75Updated 7 months ago
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆43Updated 7 months ago
- NAACL '24 (Best Demo Paper RunnerUp) / MlSys @ NeurIPS '23 - RedCoast: A Lightweight Tool to Automate Distributed Training and Inference☆64Updated 2 months ago
- Train a SmolLM-style llm on fineweb-edu in JAX/Flax with an assortment of optimizers.☆17Updated 3 weeks ago
- PyTorch centric eager mode debugger☆46Updated 2 months ago
- ☆42Updated last year
- Highly commented implementations of Transformers in PyTorch☆132Updated last year
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆96Updated 2 months ago
- Proof-of-concept of global switching between numpy/jax/pytorch in a library.☆18Updated 8 months ago
- TorchFix - a linter for PyTorch-using code with autofix support☆132Updated 3 weeks ago
- ☆17Updated last year
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆120Updated 7 months ago