核心优化是最大化计算与通信之比
有意思的是,上次我们谈到跨多芯片的推理时,高层面上要优化的核心就是提高每单位内存带宽(也就是每单位通信)所对应的计算量。这里也一样,我们是在提高实际乘加运算相对于寄存器到逻辑单元的信息传输量。两种情况都是在最大化计算相对于通信的比例。
English original
It’s interesting to me that when we were talking last time about inference across many chips, the big high-level thing we’re trying to optimize for is increasing the amount of compute per memory bandwidth, that is to say, per communication. Here also, we’re trying to increase the amount of actual multiplies or additions relative to transporting information from registers to the logic. In both cases, you’re trying to maximize compute relative to communication.
在Dwarkesh播客与Reiner Pope对话中
报道摘要
Working up from basic logic gates to why GPUs, TPUs, FPGAs, and the human brain each look the way they do.
dwarkesh.com