this post was submitted on 29 May 2024
43 points (85.2% liked)

Selfhosted

40218 readers
922 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've a minipc running an AMD 5700U where I host some services, including ollama and openwebui.

Unfortunately the support of rocm isn't quite there yet and not to mention that of mobile GPUs.

Surprisingly the prompts work when configured to use the CPU, but the speed is just... well, not good.

So, what'd be a cheap and energy efficient setup to run sone kind of LLM for personal use, but still get decent speed?

I was thinking about getting an e-gpu case, but I'm not sure about how solid this would end up.

you are viewing a single comment's thread
view the rest of the comments
[–] exu@feditown.com 5 points 5 months ago

You can use OpenCL instead of ROCm for GPU offloading. In my tests with llama.cpp that improved performance massively.

Definitely do benchmarks for how many layers you can offload to the GPU. You'll see when it's too many, as performance will crater.

By launching llama.cpp as a server you'll actually be able to continue to use openwebui as you currently have.