← all repositories
stas00/ml-engineering

Field Notes from Training Models Most Engineers Never Touch

Field notes from training BLOOM-176B and IDEFICS-80B, shared so engineers without million-dollar clusters can learn the same hard lessons.

18.5k stars Python LearningLLMOps · Eval
ml-engineering
Velocity · 7d
+6.1
★ / day
Trend
cooling
star history

What it does

This repository is a living technical manual for training and running inference on large language and multi-modal models. It collects hardware benchmarks, orchestration recipes, debugging scripts, and network performance notes into one navigable collection. The author calls it an ongoing brain dump born from training BLOOM-176B and IDEFICS-80B, now shared so other engineers can copy-paste their way out of cluster headaches.

The interesting bit

Most educational ML content is written by people who have never actually trained a 100B+ parameter model; this is written by someone who has, repeatedly. The repository does not merely explain concepts—it offers ready-made tools like all_reduce_bench.py and mamf-finder.py to verify whether your expensive accelerators and interconnects are delivering what the vendor promised.

Key highlights

  • Covers the full stack: accelerators, storage, intra/inter-node networking, SLURM orchestration, training, inference, and PyTorch debugging
  • Includes comparison tables for theoretical accelerator TFLOPS, memory speeds, and network throughput
  • Provides copy-paste solutions for hanging or breaking distributed PyTorch applications
  • Available as compiled PDF and EPUB ebooks, not just a folder of markdown files
  • Content drawn from production work at HuggingFace and Contextual.AI

Caveats

  • The author explicitly describes the repo as an “ongoing brain dump” compiled “mostly for myself,” so the organization follows personal utility rather than a rigid curriculum
  • Some guides are framed as collections of “copy-n-paste commands” rather than deep conceptual tutorials, which is the intent, but may not suit readers looking for first principles

Verdict

Anyone responsible for LLM or VLM training infrastructure—from cluster selection to distributed debugging—should bookmark this. If you are only using small models on single GPUs or looking for high-level MLOps theory, this will be overkill.

Frequently asked

What is stas00/ml-engineering?
Field notes from training BLOOM-176B and IDEFICS-80B, shared so engineers without million-dollar clusters can learn the same hard lessons.
Is ml-engineering open source?
Yes — stas00/ml-engineering is open source, released under the CC-BY-SA-4.0 license.
What language is ml-engineering written in?
stas00/ml-engineering is primarily written in Python.
How popular is ml-engineering?
stas00/ml-engineering has 18.5k stars on GitHub and is currently cooling off.
Where can I find ml-engineering?
stas00/ml-engineering is on GitHub at https://github.com/stas00/ml-engineering.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.