What hardware does a local AI need?
It depends on the task and the model: usually the deciding factor is the graphics card memory, which has to be enough for the model, concurrent requests and the length of the texts. We first check what your existing hardware can do.
Background
Language models usually run on a graphics card. Its own memory is the most common limit. It has to hold three things: the weights of the model, whose size depends on the number of parameters and the numeric precision, the intermediate results for concurrent requests, and a cache that grows with the length of the processed texts.
It follows that a model which runs well for a single short question can reach its limit with long documents or several users at once. If the memory is not enough, processing stops. High utilisation within the memory, on the other hand, is not a problem. Memory requirement and utilisation therefore have to be measured separately.
Not every task needs the same equipment. Speech recognition, a search across documents and writing drafts place different demands. Smaller models are enough for some tasks and not for others. That only becomes clear in a test with your examples.
Then there is the licence. Model licences govern what a model may be used for, and not every freely downloadable model is permitted for every purpose in a company. For the service AI on your premises we therefore check hardware, tasks and the licence of each model. We first check what your existing hardware can do and then present the options.
What this means for you
Do not buy hardware on speculation. Write down typical tasks, sample data and your existing equipment; with that it can be checked whether it is enough or what would have to be added.
Limits and prerequisites
- A blanket recommendation for models or hardware without a test on your tasks is not reliable.
- Purchase of hardware and operation are agreed separately.