News for hackers. Stuff that matters.
Re:Ask HN: How can ChatGPT serve 700M users when I can't run... by saagarjha on Saturday August 09, 2025 @05:02AM (#44845053)
mmap is not free. It just moves bandwidth around.
Re:Ask HN: How can ChatGPT serve 700M users when I can't run... by zozbot234 on Saturday August 09, 2025 @07:15AM (#44845616)
Using mmap for model parameters allows you to run vastly larger models for any given amount of system RAM. It's especially worthwhile when you're running MoE models and parameters for unused "experts" can just be evicted from RAM, leaving room for more relevant data. But of course this applies more generally to, e.g. single model layers, etc.