this post was submitted on 24 Jun 2024
-16 points (38.2% liked)

Selfhosted

40184 readers
725 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 have experience in running servers, but I would like to know if it's possible to do it, I just need a GPT 3.5 like private LLM running.

top 33 comments
sorted by: hot top controversial new old
[–] StrawberryPigtails@lemmy.sdf.org 10 points 4 months ago (2 children)

It's doable. Stick to the 7b models and it should work for the most part, but don't expect anything remotely approaching what might be called reasonable performance. It's going to be slow. But it can work.

To get a somewhat usable experience you kinda need an Nvidia graphics card or an AI accelerator.

[–] 1rre@discuss.tchncs.de 4 points 4 months ago (1 children)

Intel Arc also works surprisingly fine and consistently for ML if you use llama.cpp for LLMs or Automatic for stable diffusion, it's definitely much closer to Nvidia in terms of usability than it is to AMD

[–] Tempo@lemmy.ml 8 points 4 months ago (2 children)

They're Ryzen processors with "AI" accelerators, so an LLM can definitely run on hardware on one of those. Other options are available, like lower powered ARM chipsets (RK3588-based boards) with accelerators that might have half the performance but are far cheaper to run, should be enough for a basic LLM.

[–] exu@feditown.com 3 points 4 months ago

I don't know of any project that already supports that AI processor. You'd still be using the CPU and GPU at the moment.

[–] MasterNerd@lemm.ee 5 points 4 months ago (1 children)

Look into ollama. It shouldn't be an issue if you stick to 7b parameter models

[–] TheBigBrother@lemmy.world -4 points 4 months ago (2 children)

Yeah, I did see something related to what you mentioned and I was quite interested. What about quantized models?

[–] entropicdrift@lemmy.sdf.org 3 points 4 months ago (1 children)

Quantized with more parameters is generally better than floating point with fewer parameters. If you can squeeze a 14b parameter model down to a 4-bit int quantization it'll still generally outperform a 16-bit Floating Point 7b parameter equivalent.

[–] MasterNerd@lemm.ee 2 points 4 months ago (1 children)

I don't have any experience with them honestly so I can't help you there

[–] TheBigBrother@lemmy.world -4 points 4 months ago

Appreciate you 👍👍