24 GB VRAM: A Reality Check for Local LLMs

2 min read

I recently stumbled upon a project that required a local LLM with a 16 GB VRAM requirement. This got me thinking about the actual VRAM needs of local LLMs, and whether they're as straightforward as they seem.

Wayne Lay's article on Dev.to highlights the complexity of this issue. He cites several examples of popular LLMs and their corresponding VRAM requirements, but notes that these numbers often don't reflect the models' actual usage patterns.

To give you a better idea, here's a chart showing the VRAM requirements of various popular LLMs:

LLM VRAM Requirements
Langflow4GBMake16GBDify8GBn8n12GB
Data from the sources listed below.

One thing that struck me is the wide range of VRAM requirements among local LLMs. While some models, like Langflow, require only 4 GB of VRAM, others, like Make, need a whopping 16 GB. But what does this mean for developers looking to build their own local LLMs?

My take is that the current state of local LLMs is more nuanced than many people realize. While some models may be relatively lightweight, others can be much more demanding. This is why it's essential for developers to carefully evaluate their specific needs and choose an LLM that fits within their budget.

For instance, if you're working on a project that requires a high level of accuracy, you may need to opt for a more advanced model like Make, which requires 16 GB of VRAM. However, if you're looking for a more lightweight option, Langflow may be a better choice, despite its lower accuracy.

Ultimately, the choice of LLM depends on the specific use case and requirements of the project. By understanding the actual VRAM requirements of popular LLMs, developers can make informed decisions and build more efficient and effective local LLMs.

Try this

bash
# Check your system's VRAM requirements
nvidia-smi -i 0 --query-gpu=memory.total --format=csv
# Check the VRAM requirements of a specific LLM
pip install langflow
langflow --help

Sources