view the rest of the comments
LocalLLaMA
Welcome to LocalLLaMA! Here we discuss running and developing machine learning models at home. Lets explore cutting edge open source neural network technology together.
Get support from the community! Ask questions, share prompts, discuss benchmarks, get hyped at the latest and greatest model releases! Enjoy talking about our awesome hobby.
As ambassadors of the self-hosting machine learning community, we strive to support each other and share our enthusiasm in a positive constructive way.
Rules:
Rule 1 - No harassment or personal character attacks of community members. I.E no namecalling, no generalizing entire groups of people that make up our community, no baseless personal insults.
Rule 2 - No comparing artificial intelligence/machine learning models to cryptocurrency. I.E no comparing the usefulness of models to that of NFTs, no comparing the resource usage required to train a model is anything close to maintaining a blockchain/ mining for crypto, no implying its just a fad/bubble that will leave people with nothing of value when it burst.
Rule 3 - No comparing artificial intelligence/machine learning to simple text prediction algorithms. I.E statements such as "llms are basically just simple text predictions like what your phone keyboard autocorrect uses, and they're still using the same algorithms since <over 10 years ago>.
Rule 4 - No implying that models are devoid of purpose or potential for enriching peoples lives.
Okay, so that VRAM Vs RAM recommendation is a bit of BS. You absolutely do not need more than the base 512MB assigned to the GPU, as thanks to UMA and GTT, the GPU can actually access and utilise system RAM.
I personally didn't splurge for 395 with 128GB RAM, instead have two nodes:
Lemonade runs quite well in Docker, allowing for much cleaner updates - and the ability to use a barebones OS if need be - and as the Lemonade SDK guys went out of their way to provide API compatibility with llamacpp, OpenAI, Ollama and even Anthropic, plus an MCP server, it is now incredibly easy to hook it up to any downstream wrapper - say, OmniRoute, or Home Assistant, or direct into VSCode.
Practically any modern runtime is better than Ollama at this point. Ollama is an expensive wrapper around llamacpp. Lemonade uses a bunch of runtimes - llamacpp, vLLM, FastFlowLM, plus ROCm environments for audiovisual genAI (TTS, STT, image, video and sound generation) - to provide you an all in one solution regardless what model you want to run.
One drawback is that dependency updates can be slow at times - meaning if a new model drops that requires a super recent runtime, you’re SOL.
But then again, it contains everything needed to start deploying LLMs - all you need is a base OS with a relatively recent kernel, AMD drivers and Linux-firmware packages, plus of course Docker. I’ve actually been utilising self hosted models to keep my Docker compose setup up to date - to research changes between versions, update the config accordingly, and verify any further one-shot upgrade needs.
The NPU doesn’t really need any extra setup if you run Lemonade in Docker. The Linux kernel ships with up to date amdxdna base drivers since 6.19, and the rest is in the firmware and ROCm runtime, which can be updated separately. An up to date Ubuntu or Debian server, and the latest Lemonade docker image should have it working - all you need to do is pass through the right device
/dev/accel. Then download the NPU runtimes in the Lemonade web interface, download FLM models (regular GGUF doesn’t work, so you’re limited to models converted to what FastFlowLM expects), and you’re golden.FLM models in my experience are a bit less performant (about 20% slower tpks, haven’t measured other metrics like TTFT etc), but at the time use a fraction of power compared to the GPU or CPU - 1-2W compared to the up to ~60W max TDP of the latter two combined… and it might be placebo but I’ve also noticed that the same model FLM vs GGUF, FLM tends to have slightly higher quality responses.