~/talk

torchtune: Easy and Accessible Finetuning in Native PyTorch

links:none on file
slides:none on file

Shows a working finetuning pipeline for Llama 3 AP on a single A100 that reduces peak GPU memory from >80 GB (naive bf16) to ~58 GB with 8-bit AdamW, to ~48 GB with chunked cross-entropy, then down to ~16 GB by combining nf4 quantization + layerwise compile equals true, and to ~8–40 GB depending on packing and checkpointing choices. Reports throughput from ~2,200 tokens/s baseline to ~5,000 tokens/s and end-to-end training time cuts from ~6 hours to as low as 36 minutes on real datasets.

AI-written summary · about

  1. 0:00Introduction to torchtune
  2. 1:24Design philosophy of torchtune
  3. 4:14Memory efficiency case study
  4. 9:50Training speed with torch compile
  5. 12:21Performance on real datasets
  6. 15:34Long context techniques
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.