What it does
This is a free, open book about AI infrastructure: the hardware and systems that make AI models run and train. It explains how to reason about memory, speed, cost and networking from first principles.
It covers topics such as model architecture, accelerators, inference and training systems, and how to estimate the resources a task needs.
It is available to read online or download as a PDF or e-book, in Chinese with community translations into English and other languages.
Who it's for
Engineers, researchers and students who want to understand the systems that power AI models.
Can I use it without coding?
Yes. It is a book you read online or download; some chapters use Python examples. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
- Privacy
- Sends what you give it to an online service
- API key
- Not needed
Try it
- Read the book online, or download the PDF or e-book from its releases page.
- Start with the early chapters on models and workloads, then pick topics that interest you.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page or the official download page above. Copies with similar names exist for many popular projects.
- License (Apache-2.0): Permissive: free to use, change and share, including for business.
- What you type or upload is sent to an online service. Avoid sharing private or sensitive information.
- More on staying safe