Skip to content

HazyResearch/train-tk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Training with ThunderKittens

This repo provides example code to train with the ThunderKittens attention kernels.

Structure:

PyTorch Lightning

  • ./train/ includes PyTorch Lightning training code, the README there describes how to get started
  • ./tktrainer/ includes the corresponding PyTorch modules with the implementations To set this up:
python setup.py install

Sample command, which will is controlled by the yaml config at: train/configs/experiments/tk:

cd train/
python run.py experiment=tk/owt_tk_gpts trainer.devices=1

nanoGPT

  • ./nano-train/ includes nanoGPT training code, the README there describes how to get started

About

train with kittens!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%