Remix.run Logo
▲ jacquesm 3 hours ago

We did the same thing, on much less powerful hardware but it has served us very well and we don't need to worry at all about the question whether or not the suppliers of inference services can be trusted long term with our data. The answer to that question in my opinion is 'absolutely not'.

▲krona 2 hours ago | parent | next [-]

How do security conscious self-hosters sandbox their runtimes?

▲jacquesm 2 hours ago | parent | next [-]

By pulling the plug. This box simply has no pathway to the internet. I do pretend I have one and it's interesting to see what it tries to do. For instance, Qwen tends to try to hit ali related URLs for websearch and is very disappointed when the mothership is not responding. I've yet to catch a model on an exfiltration attempt, either they are so good at this that it escapes my scrutiny (possible but unlikely) or they are simply not doing it. I would bet on the last one. Just don't say you're working for the Tibet Liberation Frontier or the Keep Taiwan Independent movement.

▲dannyw 2 hours ago | parent | prev | next [-]

Your inference server is just an inference server that spits out tokens. You can use the same harness, etc. you’re basically just changing the API base URL.

▲embedding-shape 35 minutes ago | parent | prev [-]

Why would you sandbox the runtime? The harness is where things go awry when it does, when the agents have access to more than they should and start deleting stuff. People aren't expecting the weights themselves to be "infected by malware" or whatever.

▲mkesper 3 hours ago | parent | prev [-]

Can you share some details about your setup? Would probably be interesting for a lot of people.

▲jacquesm 3 hours ago | parent [-]

Sure:

https://jacquesmattheij.com/local-inference-with-large-langu...

If you have more questions feel free to mail or ask here in the thread and I'll do my best to answer.

The hardware related parts are near the end of the article.

▲notpublic 2 hours ago | parent | next [-]

Your sites SSL certificate just expired..

▲jacquesm 2 hours ago | parent [-]

Thank you, I'll fix it right away.

Edit: ok, should be good again. For some reason on that box running Python from cron jobs is unpredictable, usually it works but every now and then it does not and I've yet to find out why.

▲t_mahmood 2 hours ago | parent | prev [-]

That was a good read!

▲jacquesm an hour ago | parent [-]

Thank you. That was a lot of work to put it all together.

It's basically the document I wished I had when I started all this.