stas00/ml-engineering
Machine Learning Engineering Open Book
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
This is an open collection of methodologies, tools and step by step instructions to help with successful training and fine-tuning of large language models and multi-modal models and their inference. 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 I acquired while training the open-source BLOOM-176B model in 2022 and IDEFICS-80B multi-modal model in 2023, and RAG models at Contextual.AI in 2024. I've been compiling this information mostly for myself so that I could quickly find solutions I have already researched in the past and which have worked, but as usual I'm happy to share these notes with the wider ML community. Part 1. Insights…
Read the full README ↗ · Preview checked 2026-11-20T12:49:32.061Z
Inside the original README — Document outline
- Machine Learning Engineering Open Book
- Table of Contents
- Updates
- Ebook versions of the book
- Skills for AI agents
- Courses
- Lectures/Talks
- Discussions
- Key comparison tables
- Shortcuts
- Gratitude
- Contributing
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
- When Is It Worth Upgrading GPUs?
- Training
- Inference
- SKILL.md
- Lessons Learned from Training LLMs
- Theoretical accelerator TFLOPS
- Accelerator memory size and speed
- Theoretical inter-node speed
- Theoretical intra-node speed
- make tiny models/datasets/tokenizers
- LLM/VLM chronicles collection
- Attribution-ShareAlike 4.0 International
Documentation belongs to its respective authors. Reported project/model license: CC-BY-SA-4.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
Machine Learning Engineering Open Book
Repository facts
- Owner
- stas00
- Primary language
- Python
- Stars
- 19,735
- Forks
- 1,305
- Open issues + pull requests
- 0
- License
- CC-BY-SA-4.0
- Archived
- No
- Default branch
- master
- Created
- 2020-09-02T19:23:01.000Z
- Last push
- 2026-11-20T03:54:14.000Z
Topics and intended use
Owner-supplied topics: ai, debugging, gpus, inference, large-language-models, llm, machine-learning, machine-learning-engineering, mlops, network, pytorch, scalability, slurm, storage, training, transformers
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-11-20T12:31:14.448Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.
Related repositories
EbookFoundation/free-programming-books
donnemartin/system-design-primer