How Much Stress Can Your Server Endure if You’re Self-Hosting LLMs?

Do you need more GPUs or a modern GPU? How do you make infrastructure decisions?

Image created by the author using Dalle-E-2024

How does it feel when a group of users suddenly start using an app that only you and your dev team have used before?

That’s the million-dollar question of moving from prototype to production.

As far as LLMs are concerned, you can do a few dozen tweaks to run your app within the budget and acceptable qualities. For instance, you can choose a quantized model for lower memory usage. Or you can fine-tune a tiny model and beat the performance of giant LLMs.

You can even tweak your infrastructure to achieve better outcomes. For example, you may want to double the number of GPUs you use or choose the latest-generation GPU.

But how could you say Option A performs better than Option B and C?

This is an important question to ask ourselves at the earliest stages of going into production. All these options have their costs…