Live data from Hacker News

Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

reddit.com

21–30 of 129 posts

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#21
post #12

This uses LXC Containers. I've always heard that containers are not a replacement for a good security model. What's the risk that someone could use Vectordash to attack the host computer?

LXC unprivileged containers are actually pretty secure by design. The Canonical LXC page does a pretty great job of explaining why: https://linuxcontainers.org/lxc/security/

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#22
post #10

Earlier quoted context omitted.

According to the website ( https://vectordash.com/hosting/ ) they use a highly isolated Ubuntu image, so the person hosting the service shouldn't have access to the VM with your model or data on it. It would be nice if there was some third party audit of the software though, the models, the code, and even the training data can be pretty sensitive for researchers.

there is no way to "highly isolate" a VM from a host.

[deleted]

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#23
post #16
post #7

There's a lot of comments on that reddit thread about how awesome this would be as a service. But there's a big problem of trust with this for ML. How do I know you actually ran what I paid you for and not just generated random data that looks right in the shape I wanted it? You could farm it out to two people and if the results disagree, then payment is decided by a third. But then you've just doubled the (paid) wor…

This sort of effort has existed for a long time, e.g. SETI@home and the Great Internet Mersenne Prime Search (although they don't tend to pay people). They've faced many of these same problems, and presumably devised minimum overhead solutions.

Yea but their workload is much harder to fudge and the solution they use to confirm primes is running the task twice . Training of models can be shortcutted or even maliciously tampered with.

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#24
post #10
post #7

There's a lot of comments on that reddit thread about how awesome this would be as a service. But there's a big problem of trust with this for ML. How do I know you actually ran what I paid you for and not just generated random data that looks right in the shape I wanted it? You could farm it out to two people and if the results disagree, then payment is decided by a third. But then you've just doubled the (paid) wor…

According to the website ( https://vectordash.com/hosting/ ) they use a highly isolated Ubuntu image, so the person hosting the service shouldn't have access to the VM with your model or data on it. It would be nice if there was some third party audit of the software though, the models, the code, and even the training data can be pretty sensitive for researchers.

If your training data is sensitive, then Vectordash may not be the best GPU provider. But if you're a broke CS student like me who wants to participate in a few Kaggle competitions (after having burned up their AWS student credits in 3 days) without shelling out a bunch for a K80, then Vectordash might be pretty helpful!

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#25
post #17

Earlier quoted context omitted.

there is no way to "highly isolate" a VM from a host.

Theoretically possible via SGX.

Worthless if the GPU doesn't have something similar. Otherwise you can monitor the pci-e lanes for all the data the cpu is sending over to the gpu.

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#26
post #7

There's a lot of comments on that reddit thread about how awesome this would be as a service. But there's a big problem of trust with this for ML. How do I know you actually ran what I paid you for and not just generated random data that looks right in the shape I wanted it? You could farm it out to two people and if the results disagree, then payment is decided by a third. But then you've just doubled the (paid) wor…

It's pretty much letting people with GPUs become a sort of 'mini-cloud provider'. There's no job queue or fancy distributing computing setup. We just let you SSH into a container on someone's computer, and pay for the time used. I was doing a lot of fun deep learning projects on the side & would often Venmo my friend who was mining Ethereum to use his GPU to train my models. He made more and I paid less than AWS spot…

Nice work! I wouldn't let this minor objection keep you down. You can always spot check a computation on a trusted system (e.g. your own) and update your trust accordingly.

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#27

Earlier quoted context omitted.

It's pretty much letting people with GPUs become a sort of 'mini-cloud provider'. There's no job queue or fancy distributing computing setup. We just let you SSH into a container on someone's computer, and pay for the time used. I was doing a lot of fun deep learning projects on the side & would often Venmo my friend who was mining Ethereum to use his GPU to train my models. He made more and I paid less than AWS spot…

Nice work! I wouldn't let this minor objection keep you down. You can always spot check a computation on a trusted system (e.g. your own) and update your trust accordingly.

Thank ya! Plus the way it's setup right now, you don't pay for anything until you done and satisfied with a session! I just want both parties to be happy with the GPU compute transaction :)

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#28
post #7

There's a lot of comments on that reddit thread about how awesome this would be as a service. But there's a big problem of trust with this for ML. How do I know you actually ran what I paid you for and not just generated random data that looks right in the shape I wanted it? You could farm it out to two people and if the results disagree, then payment is decided by a third. But then you've just doubled the (paid) wor…

Pay some hourly nominal fee, and a "bonus" for how well it classifies some reserved data? Proof of work could be the fit.

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#29
post #12

This uses LXC Containers. I've always heard that containers are not a replacement for a good security model. What's the risk that someone could use Vectordash to attack the host computer?

LXC unprivileged containers are actually pretty secure by design. The Canonical LXC page does a pretty great job of explaining why: https://linuxcontainers.org/lxc/security/

Please (OP, and others allowing access to your machines), be cautious on this front. While LXC unprivileged containers are a start at isolation, LXC containers + GPU passthrough has a much, much larger attack surface (the nvidia binary blob drivers are complex and out of your control). The most common ways of giving GPU access to a container involve installing the CUDA drivers in the host and simply allowing the container to access them.

Depending on your threat model, this may be borderline OK, or may be insanely high risk. We've seen driver exploits in the recent past:

http://nvidia.custhelp.com/app/answers/detail/a_id/3140/~/se....

that can vector through the GPU to gain access to arbitrary host memory (aka, you're in deep trouble). The only "right" way to give access to your GPUs requires IOMMU support and running in a true guest VM, which Nvidia's consumer cards and drivers are explicitly prevented from doing (because they'd like you to buy the Tesla versions, thanks).

This may be a totally acceptable risk on an isolated mining rig, but people should be aware of the heightened risks they're exposing themselves to. Breaking your machine is well within the capabilities of state-sponsored actors on this one, and from time to time (just after vulnerabilities get announced), could be decently within advanced-script-kiddie zone.

Re: Rent out GPUs to AI researchers and make ~2x more than mining cryptocurrencies

#30

Earlier quoted context omitted.

Nice work! I wouldn't let this minor objection keep you down. You can always spot check a computation on a trusted system (e.g. your own) and update your trust accordingly.

Thank ya! Plus the way it's setup right now, you don't pay for anything until you done and satisfied with a session! I just want both parties to be happy with the GPU compute transaction :)

This looks awesome, I just submitted a hosting application. I only have a single GTX 1060 on a Ryzen board, but I only use it 3-4 hours per day and I'm good with its downtime being used for passive income. Hopefully someone will find it useful.

One question, I noticed you only pay in crypto right now, do you plan to offer USD or other fiat currencies in the future? Crypto isn't a problem for me (I don't mine crypto myself but I wouldn't be opposed to carrying a passively obtained ∗coin balance and watching it appreciate over time), just curious.

Anyway, I think you have the makings of a nifty project here. Good luck!

Post reply on HN