Once configured, Tor Hidden Services also just work (you may need to use some fresh bridges in certain countries if ISPs block Tor there though). You don’t have to trust any specific third party in this case.
- 0 Posts
- 7 Comments
Audalin@lemmy.worldto
Selfhosted@lemmy.world•Any of you have a self-hosted AI "hub"? (e.g. for LLM, stable-diffusion, ...)English
5·2 years agoIf your CPU isn’t ancient, it’s mostly about memory speed. VRAM is very fast, DDR5 RAM is reasonably fast, swap is slow even on a modern SSD.
8x7B is mixtral, yeah.
Audalin@lemmy.worldto
Selfhosted@lemmy.world•Any of you have a self-hosted AI "hub"? (e.g. for LLM, stable-diffusion, ...)English
6·2 years agoMostly via terminal, yeah. It’s convenient when you’re used to it - I am.
Let’s see, my inference speed now is:
- ~60-65 tok/s for a 8B model in Q_5_K/Q6_K (entirely in VRAM);
- ~36 tok/s for a 14B model in Q6_K (entirely in VRAM);
- ~4.5 tok/s for a 35B model in Q5_K_M (16/41 layers in VRAM);
- ~12.5 tok/s for a 8x7B model in Q4_K_M (18/33 layers in VRAM);
- ~4.5 tok/s for a 70B model in Q2_K (44/81 layers in VRAM);
- ~2.5 tok/s for a 70B model in Q3_K_L (28/81 layers in VRAM).
As of quality, I try to avoid quantisation below Q5 or at least Q4. I also don’t see any point in using Q8/f16/f32 - the difference with Q6 is minimal. Other than that, it really depends on the model - for instance, llama-3 8B is smarter than many older 30B+ models.
Audalin@lemmy.worldto
Selfhosted@lemmy.world•Any of you have a self-hosted AI "hub"? (e.g. for LLM, stable-diffusion, ...)English
10·2 years agoHave been using llama.cpp, whisper.cpp, Stable Diffusion for a long while (most often the first one). My “hub” is a collection of bash scripts and a ssh server running.
I typically use LLMs for translation, interactive technical troubleshooting, advice on obscure topics, sometimes coding, sometimes mathematics (though local models are mostly terrible for this), sometimes just talking. Also music generation with ChatMusician.
I use the hardware I already have - a 16GB AMD card (using ROCm) and some DDR5 RAM. ROCm might be tricky to set up for various libraries and inference engines, but then it just works. I don’t rent hardware - don’t want any data to leave my machine.
My use isn’t intensive enough to warrant measuring energy costs.
Disabling root login and password auth, using a non-standard port and updating regularly works for me for this exact use case.
Audalin@lemmy.worldto
Selfhosted@lemmy.world•Welcome to !selfhosted@lemmy.world - What do you selfhost?English
1·3 years agoI have a MediaWiki instance on my laptop (I’ve found the features of all other wikis/mindmaps/knowledge databases decisively insufficient after having a taste of MW templates, Semantic MediaWiki and Scribunto).
Also some smaller things like pihole-standalone, Jellyfin and dictd.
It would. But it’s a good option when you have computationally heavy tasks and communication is relatively light.