Live data from Hacker News

I Self-Hosted Llama 3.2 with Coolify on My Home Server

geek.sg

61–70 of 94 posts

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#61
post #4

I’m curious about how good the performance with local LLMs is on ‘outdated’ hardware like the author’s 2060. I have a desktop with a 2070 super that it could be fun to turn into an “AI server” if I had the time…

I've been playing with some LLMs like Llama 3 and Gemma on my 2080Ti. If it fits in GPU memory the inference speed is quite decent. However I've found quality of smaller models to be quite lacking. The Llama 3.2 3B for example is much worse than Gemma2 9B, which is the one I found performs best while fitting comfortably. Actual sentences are fine, but it doesn't follow prompts as well and it doesn't "understand" the…

Yes, gemma-2-9b-it-Q6_K_L is the one that works well for me.

I tried gemma-2-27b-it-Q4_K_L but it's not as good, despite being larger.

Using llama.cpp and models from here[1].

[1]: https://huggingface.co/bartowski

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#62
post #53
post #9

For the people who self-host LLMs at home: what use cases do you have? Personally, I have some notes and bookmarks that I'd like to scrape, then have an LLM summarize, generate hierarchical tags, and store in a database. For the notes part at least, I wouldn't want to give them to another provider; even for the bookmarks, I wouldn't be comfortable passing my reading profile to anyone.

For me at least the biggest feature of some self hosted LLMs is that you can get it then to be “uncensored”, you can get them to tell you dirty jokes or have the bias removed with controversial and politically incorrect subjects. Basically you have a freedom you won’t get from most of the main providers.

And reliability. When Azure sends you the "censored output" status code it had basically failed and no retry is gonna help. And unless you are some corp you wont get approved for lifting the censoring.

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#63
post #41

> I decided to explore self-hosting some of my non-critical applications Self-hosting static or almost-static websites is now really easy with a Cloudflare front. I just closed my account on SmugMug and published my images locally using my NAS; this costs no extra money (is basically free) since the photos were already on the NAS, and the NAS is already powered on 24-7. The NAS I use is an Asustor so it's not really…

> Cloudflare free is like magic

Cloudflare is pretty strict about the Html to media ratio and might suspend or terminate your account if you are serving too many images.

I've read far too many horror stories about this on hn only so please make sure what you're doing is allowed by their TOS.

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#65
post #41

> I decided to explore self-hosting some of my non-critical applications Self-hosting static or almost-static websites is now really easy with a Cloudflare front. I just closed my account on SmugMug and published my images locally using my NAS; this costs no extra money (is basically free) since the photos were already on the NAS, and the NAS is already powered on 24-7. The NAS I use is an Asustor so it's not really…

> Cloudflare free is like magic Cloudflare is pretty strict about the Html to media ratio and might suspend or terminate your account if you are serving too many images. I've read far too many horror stories about this on hn only so please make sure what you're doing is allowed by their TOS.

do they ever publish an actual number on this? given the size of HTML documents v.s. images, I imagine its something thats something that can be exceeded very easily without knowing..

e.g. is running a personal photography website OK?

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#66
post #23

Earlier quoted context omitted.

All the self-hosted LLM and text-to-image models come with some restrictions trained into them [1]. However there are plenty of people who have made uncensored "forks" of these models where the restrictions have been "trained away" (mostly by fine-tuning). You can find plenty of uncensored LLM models here: https://ollama.com/library [1]: I personally suspect that many LLMs are still trained on WebText, derivatives of…

My to-go test for uncensoring is to ask the LLM to write erotic novel. But I haven't yet find any "uncensored" ones (on ollama) that works. Did I miss something? (On the contrary: when ChatGPT first came out, it was trivial to jailbreak it to make it write erotica.)

I found that "Don't censor your answer" works as intended and my self-hosted llm happily delivers smut.

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#67
post #41

> I decided to explore self-hosting some of my non-critical applications Self-hosting static or almost-static websites is now really easy with a Cloudflare front. I just closed my account on SmugMug and published my images locally using my NAS; this costs no extra money (is basically free) since the photos were already on the NAS, and the NAS is already powered on 24-7. The NAS I use is an Asustor so it's not really…

> Cloudflare free is like magic Cloudflare is pretty strict about the Html to media ratio and might suspend or terminate your account if you are serving too many images. I've read far too many horror stories about this on hn only so please make sure what you're doing is allowed by their TOS.

Cloudflare removed that bit from their TOS entirely about a year ago now. Are you citing a more recent source?

PS: talking about Cloudflare being snappy when content is being served from a austore nas made me chuckle.

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#68
post #65

Earlier quoted context omitted.

> Cloudflare free is like magic Cloudflare is pretty strict about the Html to media ratio and might suspend or terminate your account if you are serving too many images. I've read far too many horror stories about this on hn only so please make sure what you're doing is allowed by their TOS.

do they ever publish an actual number on this? given the size of HTML documents v.s. images, I imagine its something thats something that can be exceeded very easily without knowing.. e.g. is running a personal photography website OK?

Cloudflare removed those restrictions from the TOS 12+ months ago.

Take a look at if Cloudflare Pages + Cloudflare R2 meets the needs of your site.

I'd also recommend using cloudflare tunnels (under Zero Trust) rather than punching a hole in your firewall. For a number of reasons.

Re: I Self-Hosted Llama 3.2 with Coolify on My Home Server

#69
post #51

Earlier quoted context omitted.

You can use CloudFlare Tunnel ( https://www.cloudflare.com/products/tunnel/ ) to connect a system to your cloudflare gateway, without exposing it to the Internet.

Or Tailscale, which is pretty cool piece of tech.

Tailscale is wireguard with advertising, a convenient UI, and a STUN/TURN server.
Post reply on HN