CHIME: A Case for Efficient Long-Context Attention-FC Disaggregated Inference with DIMM-PIM
This paper proposes CHIME, the first Attention-FC Disaggregated inference system leveraging DIMM-PIM accelerators with bubble-free pipelining and hybrid-grained re-layout to balance memory capacity and bandwidth constraints, achieving up to 5.15× speedup over state-of-the-art HBM-PIM solutions.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to bake the world's biggest, most complex cake. You have a super-fast, high-tech oven (the GPU) that can mix ingredients and bake layers in a flash, but it's tiny and can only hold a few trays at once. Then, you have a massive, slow-moving pantry (the memory) where you keep all the flour, sugar, and eggs. If you try to bake a cake that requires a mountain of ingredients, your oven runs out of space to hold the trays, or it spends all its time waiting for the pantry to hand over the next batch of flour. This is exactly the problem facing modern "Large Language Models" (LLMs)—the super-smart AI chatbots that write code, tell stories, and solve math problems. As these models try to understand longer and longer conversations (like reading a whole novel in one go), they get stuck waiting for data to move from the pantry to the oven.
To fix this, scientists came up with a clever idea called "disaggregation." Instead of forcing the oven and the pantry to live in the same tiny box, they split the work. They let the oven handle the heavy lifting of mixing and baking (the math), while sending the massive pile of ingredients to a separate, giant pantry that has special helpers (called PIM, or Processing-in-Memory) to sort and fetch them quickly. The hope was that by splitting the team, the whole operation would speed up. But here's the twist: just giving the pantry more helpers or faster shelves didn't always make the cake bake faster. Sometimes, the pantry got so big it ran out of room, and other times, it was so fast that the oven just sat there waiting, bored.
This is where a team of researchers from Shanghai Jiao Tong University stepped in with a new system called CHIME. They realized that the old way of splitting the work was missing a crucial rule: you can't just make one part of the team super strong; you have to make sure the weakest link isn't holding everyone back. They discovered that in these split systems, the speed is limited by whichever resource is scarcer—either the pantry's storage space or how fast it can hand things over. If you have a pantry with infinite speed but only a cup of flour, you're stuck. If you have a warehouse full of flour but a snail-paced delivery truck, you're also stuck.
The paper proposes CHIME as a solution that balances both. Instead of using expensive, tiny, super-fast pantries (like the ones currently attached to high-end graphics cards), CHIME uses standard, massive computer memory sticks (DIMMs) that have been upgraded with little helpers right inside them. This gives the system a huge amount of storage and a good amount of speed, without breaking the bank. But simply plugging these new memory sticks in wasn't enough; the researchers had to invent a new way to organize the data so the helpers didn't trip over each other, and a new scheduling system to make sure the oven and the pantry are always working at the same time, never waiting for the other to catch up.
Through detailed computer simulations, the authors found that this new approach could make the AI up to 5.15 times faster than the current best methods using those tiny, expensive pantries. They also showed that simply making the pantry faster or bigger on its own doesn't work; you have to grow both at the same time to see real gains. In short, CHIME is a smarter, more balanced way to run these giant AI brains, ensuring that no part of the team is left standing around doing nothing while the rest of the kitchen is in chaos.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.