AI MOOC
✦ Grow togetherInvite 3 friends, earn 1 month of membership · Up to 12 monthsInvite friends →

Free learning library / Florence J.

AI Engineering Handbook: LLM Inference and Compression

Explore inference bottlenecks and compression trade-offs through prefill, decoding and KV cache.

Online book chapter · PDF · LLM inference and compression · Chinese and English; editions may differ

Who it is for

For developers with LLM fundamentals who want a systems view of latency, throughput and memory.

What you can learn

Distinguish prefill and decoding, compare time to first token, generation speed and throughput, then examine cache, batching and quantization trade-offs.

Try it first

For one inference-serving scenario, list input length, concurrency, memory budget and latency goal. Explain what caching and batching may improve and which side effects to measure.

Free access and conditions

The Chinese and English web chapter and author-provided chapter PDFs are free to read without an account. Validate techniques for your model and hardware; compute or cloud services may cost money.

Read the author’s chapter PDF ↗

Source and rights

No explicit commercial redistribution permission was found on the author’s site; check rights for code, illustrations and other material separately.

Source: Florence J.

Related learning resources

Continue learning: Free courses on AI MOOC

Read now