TGViewer
Artem Ryblov’s Data Science Weekly Artem Ryblov’s Data Science Weekly @data_science_weekly · 684 subscribers
Post #74 631
Machine Learning Engineering Online Book by Stas Bekman

An open collection of methodologies to help with successful training of large language models and multi-modal models.

This is a technical material suitable for LLM/VLM training engineers and operators. That is the content here contains lots of scripts and copy-n-paste commands to enable you to quickly address your needs.

This repo is an ongoing brain dump of my experiences training Large Language Models (LLM) (and VLMs); a lot of the know-how Stas acquired while training the open-source BLOOM-176B model in 2022 and IDEFICS-80B multi-modal model in 2023. Currently, he is working on developing/training open-source Retrieval Augmented models at Contextual.AI.

Table of Contents
Part 1. Insights
- The AI Battlefield Engineering - What You Need To Know
Part 2. Key Hardware Components
- Accelerator - the work horses of ML - GPUs, TPUs, IPUs, FPGAs, HPUs, QPUs, RDUs (WIP)
- Network - intra-node and inter-node connectivity, calculating bandwidth requirements
- IO - local and distributed disks and filesystems
- CPU - cpus, affinities (WIP)
- CPU Memory - how much CPU memory is enough - the shortest chapter ever.
Part 3. Performance
- Fault Tolerance
- Performance
- Multi-Node networking
- Model parallelism
Part 4. Operating
- SLURM
- Training hyper-parameters and model initializations
- Instabilities
Part 5. Development
- Debugging software and hardware failures
- And more debugging
- Reproducibility
- Tensor precision / Data types
- HF Transformers notes - making small models, tokenizers, datasets, and other tips
Part 6. Miscellaneous
- Resources - LLM/VLM chronicles

Link: https://github.com/stas00/ml-engineering

Navigational hashtags: #armknowledgesharing #armbooks #armrepo
General hashtags: #llm #gpt #gpt3 #gpt4 #ml #engineering #mlsystemdesign #systemdesign #reproducibility #performance

@data_science_weekly
  • 👍 2
More from @data_science_weekly
  1. Sep 27, 2026How to Make Learning as Addictive as Social Media by Luis von Ahn, TED2023 When building D…
  2. Sep 20, 2026Reliable Machine Learning: Applying SRE Principles to ML in Production by Cathy Chen, Nial…
  3. Sep 13, 2026A Short Note on P-Value Hacking by Nassim Nicholas Taleb The paper works out the exact pro…
  4. Sep 6, 2026SQLBolt — Learn SQL with simple, interactive exercises Every lesson runs a database in the…
  5. Aug 16, 2026Machine Learning by Neetcode Solve ML problems from scratch, from gradient descent to a wo…
  6. Aug 9, 2026CS 224V Conversational Virtual Assistants with Deep Learning by Stanford University Genera…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →