shivance / minbpe.c
a Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization in pure C.
☆21Updated 2 months ago
Related projects: ⓘ
- Collection of autoregressive model implementation☆62Updated 2 weeks ago
- Small scale distributed training of sequential deep learning models, built on Numpy and MPI.☆88Updated 11 months ago
- Make triton easier☆39Updated 3 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆73Updated last month
- ☆27Updated 2 months ago
- ☆68Updated 2 months ago
- Jax like function transformation engine but micro, microjax☆24Updated 3 weeks ago
- ☆42Updated 3 weeks ago
- Simple and fast low-bit matmul kernels in CUDA☆48Updated this week
- This code repository contains the code used for my "Optimizing Memory Usage for Training LLMs and Vision Transformers in PyTorch" blog po…☆84Updated last year
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆94Updated 2 weeks ago
- A place to store reusable transformer components of my own creation or found on the interwebs☆43Updated 3 weeks ago
- ML/DL Math and Method notes☆56Updated 9 months ago
- ☆50Updated last month
- ☆124Updated 7 months ago
- LLM training in simple, raw C/CUDA☆79Updated 4 months ago
- Experiment of using Tangent to autodiff triton☆66Updated 7 months ago
- ☆17Updated 4 months ago
- A byte-level decoder architecture that matches the performance of tokenized Transformers.☆57Updated 4 months ago
- A single repo with all scripts and utils to train / fine-tune the Mamba model with or without FIM☆46Updated 5 months ago
- ☆29Updated 3 weeks ago
- ☆29Updated 2 weeks ago
- Gpu benchmark☆35Updated 2 weeks ago
- Explorations into the proposal from the paper "Grokfast, Accelerated Grokking by Amplifying Slow Gradients"☆82Updated 3 weeks ago
- ☆26Updated this week
- Andrej Kapathy's micrograd implemented in c☆26Updated last month
- Custom kernels in Triton language for accelerating LLMs☆14Updated 5 months ago
- ring-attention experiments☆89Updated 5 months ago
- Prune transformer layers☆60Updated 3 months ago
- ☆48Updated 6 months ago