Live data from Hacker News

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

geek.sg

81–90 of 94 posts

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

#81

Can you use a selfhosted LLM that fits in 12 GB VRAM as a reasonable substitute for copilot in VSCode? And if so, can you give it documentation and other code repositories to make it better at a particular language and platform?

Technically, yes, but will yield poor results. We did it internally at big corp n+1 and it, frankly, blows. Other than menial tasks, it's good for nothing but a scout badge.

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

#83
post #51

Earlier quoted context omitted.

Or Tailscale, which is pretty cool piece of tech.

Tailscale is wireguard with advertising, a convenient UI, and a STUN/TURN server.

I'm aware they wrap OSS, but they made it very, very easy to adopt and maintain for a large chunk of potential users. This requires significant effort and should not be undervalued, in my opinion.

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

#84

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.

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.

I think the OP meant once the resource was cached by Cloudflare. The first time served is not snappy.

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

#85
post #81

Can you use a selfhosted LLM that fits in 12 GB VRAM as a reasonable substitute for copilot in VSCode? And if so, can you give it documentation and other code repositories to make it better at a particular language and platform?

Technically, yes, but will yield poor results. We did it internally at big corp n+1 and it, frankly, blows. Other than menial tasks, it's good for nothing but a scout badge.

Is that really that much worse than full copilot, though? When we tried it this past spring, it was really cool but not quite useful enough to actually stick with.

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

#86
post #50
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…

You could also use openVPN or wireguard and not have a man in the middle for no reason. I have a VPN on a raspberry pi and with that I can connect to my self hosted cloud, dev/staging servers for projects, gitlab and etc when I’m not on my home network.

That requires opening a firewall port on router. For some people, that might not be possible. Either due to ISP restrictions such as CGNAT. In those cases, they're better off using something like Tailscale.

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

#87

Earlier quoted context omitted.

So 8b is really smart enough to write scripts for you? How often does it fail?

> So 8b is really smart enough to write scripts for you? Depends on the model, but in general, no. ...but it's fine for simple 1 liner commands like "how do I revert my commit?" or "rename these files to camelcase". > How often does it fail? Immediately and constantly if you ask anything hard. An 8b model is not chat-gpt. The 3B model in the OP post is not chat-gpt. The capability compared to sonnet/4o is like a pota…

> Search for 'LLM Leaderboard' and you can see for yourself. The 8b models do not even rank.

This is not true. On benchmarks, maybe, but I find the LLM Arena more accurately accounts for the subjective experience of using these things, and Llama 3.1 8B ranks relatively high, outperforming GPT-3.5 and certain iterations of 4.

Where the 8Bs do struggle is that they don't have as deep a repository of knowledge, so using them without some form of RAG won't get you as good results as using a plain larger model. But frankly I'm not convinced that RAG-free chat is the future anyway, and 8B models are extremely fast and cheap to run. Combined with good RAG they can do very well.

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

#88
post #44
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…

Is the NAS exposed to the whole internet? Or did you find a clever way to get CloudFlare in front of it despite it just being local?

I've used Tailscale funnel which works quite well for this.

https://tailscale.com/kb/1223/funnel

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

#89
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.

They are much more flexible, you can e.g. edit the system's own responses rather than waste context on telling it a correction.

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

#90

Earlier quoted context omitted.

> So 8b is really smart enough to write scripts for you? Depends on the model, but in general, no. ...but it's fine for simple 1 liner commands like "how do I revert my commit?" or "rename these files to camelcase". > How often does it fail? Immediately and constantly if you ask anything hard. An 8b model is not chat-gpt. The 3B model in the OP post is not chat-gpt. The capability compared to sonnet/4o is like a pota…

I really hope we can get sonnet like performance down to single consumer level GPU someone soon. Maybe the hardware will get there before the models.

Well considering it probably takes several hundred GBs of VRAM to run inference for Claude its going to be a while.

But yes, like the guy above said it's really only helpful for one line commands. Like if I forgot some sort flag thats available for a certain type of command. Or random things I don't work with often enough to memorize their little build commands etc. It's not helpful for programming just simple commands.

It also can help with unstructured or messy data to make it more readable, although there's potential to hallucinate if the context is at all large.

Post reply on HN