Code Project Reading

导言

来hw的这小半年成,从PTA到MM又来到DeepseekV3,接触了很多代码,但是却还是常陷入代码细节阅读困境,难以理解如天书般的垃圾代码。往往陷入代码细节,一读读几天,并且经常难以产出阶段性成果。

如何快速代码上手,

  1. 通过代码外资料(LLM介绍,流程结构图,开源完善实现),
    1. 快速理解代码背后的概念,。e.g.,MOE,EP
    2. 简单了解开源代码实现思路,亮点。
  2. 跑通最小样例,通过执行调用栈(类似VizTrace),从整体和上层来理解当前代码框架。
  3. 聚焦没有实现的代码部分,或者性能瓶颈,递归仔细分析。
Read more

Overview of Compute system

“Those who cannot remember the past are condemned to repeat it.” —George Santayana, 1905

Our technology,our machines,is part of our humanity.We created them to extend ourself,and that is what is unique about human beings. - Ray Kurzweil”

Read more