Lurker News
Sam said yesterday that chatgpt handles ~700M weekly users. Meanwhile, I can't even run a single GPT-4-class model locally without insane VRAM or painfully slow speeds.

Sure, they have huge GPU clusters, but there must be more going on - model optimizations, sharding, custom hardware, clever load balancing, etc.
What engineering tricks make this possible at such massive scale while keeping latency low?
Curious to hear insights from people who've built large-scale ML systems.

Comments (365) 85 threads

Earlier comments
pinter69#
Your question is very interesting.

Going over the comments the only plausible explanation I could see is KV cache being extremely useful - don't know if this is really just the case.
Would love to know the true answer to the question.

guluarte1 reply#
Simple answer: they are throwing billions of dollars at infrastructure (GPU) and losing money with every user.
teamonkey#
You’re not losing money if money flows in faster than it flows out
randomNumber7#
Once you have enough GPUs to have your whole model available in GPU RAM you can do inference pretty fast.

As soon as you have enough users you can let your GPUs burn with a high load constantly, while your home solution would idle most of the time and therefore be way too expensive compared to the value.

Load more comments