[Essay] Actually, humans are also an LLM, and they also need KVCache
Lately I have felt that people are increasingly like an LLM, and these articles on the official account seem to form a very good KV cache. They can not only be used by yourself, but also as a Prefix-Cache for everyone.
This started because in recent years I have often been working on several projects at the same time: some related to CIPU chips, some to GPU microarchitecture, some to large-model architecture, and some to algorithms. Often, while the Agent is still writing RTL, I switch to another desktop to work on algorithms.
Recently I have been doing some new chip-related research, and at the same time I plan to spend some time carefully analyzing Off-policy LLM-RL algorithms, but after not touching them for several months I have almost completely forgotten everything. Fortunately, I had once casually recorded a special feature:"Large Model Reinforcement Learning"
Today I casually had the Agent make a website version and put it on GitHub Pages, and also make a shorter summary; I guess this also counts as some kind of session compaction? The link is below:
https://zartbot.github.io/blog/algo/llm\_rl/
On the other hand, I discovered something interesting. People who used to shout every day that Lossless RDMA/RoCE was necessary, and also shouted that OpenAI was using PFC, seem to have mostly gone quiet. In contrast, the entire industry has started showing off performance under Lossy RDMA, finally moving from Lossless to Lossy.
- AMD claimed at Hot Chips400Gbps's NIC could achieve1%when packet loss occurs160Gbps, Goodput-ratio 40%
- a certain domestic company400Gbps a slightly better NIC could reach48%
Even Meta claims that at 1% packet loss, Goodput can86%, so that means there is still10% of the bandwidth was wrongly retransmitted
And CIPU eRDMA was already90% Goodput at a 5% packet loss rate3 years ago.. And now CIPU’s next-generation bandwidth has already surpassed Nvidia’s latest CX9 and BlueField-4 by 2x, reaching 1.6Tbps...
What I want to say is that all of these are key technologies needed to achieve stable training at the 100k-card to 500k-card scale. They were being discussed several years ago, and many years ago people were already proposing a business metric:
- Collective communication can ensure more than 95% Fabric utilization
- When the packet loss rate is 5%, it can still ensure 90% Goodput
- Without needing any advanced switch features, the NIC implements multipath and congestion control
- At ultra-large scale (128K QPs), and it supports multipath forwarding on all QPs.
- Compatible with RDMA RC Verbs; offline RDMA applications can run directly without code changes.
- In scenarios like Incast 128-to-1, the maximum bandwidth difference between QPs is only 100Kbps.
- Fully OS-transparent live migration
- Comprehensive RDMA virtualization support
Unfortunately, after several years, I don’t know which company has really caught up. Thinking back to when CIPU 2.0 was sent for tape-out three years ago, at the end of 2023, we had already completely predicted that MoE models would become mainstream, and had cleanly solved the All-to-All incast problem. Yet even today, I still hear about various failures on some platforms caused by incast-triggered PFC... I really don’t know what the industry has been doing....
It’s time to read this special topic carefully 《RDMA》