https://www.cnblogs.com/menkeyi/p/18767869

1. LLM 推理阶段概述:

2. Prefill 阶段详解:

3. Decode 阶段详解:

4. 推理时间计算:

5. 资源消耗对比: