Live data from Hacker News

All You Need Is 4x 4090 GPUs to Train Your Own Model

sabareesh.com

51–60 of 125 posts

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#51

Wouldn’t a cluster of M4 minis cost less and provide more VRAM? There are posts about people getting decent performance for a lot less than 12k USD.

no, these chips are optimized for inference not training & frankly cuda is still table stakes.

HN loves it some Apple

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#52
post #3

I would be much more intrested in a piece on what you can train with this kind of rig, rather than the rig itself

Here is some additional journey apart from the rig. https://sabareesh.com/posts/llm-intro/

How long does training a 1B or 500M model take approximately on the 4-GPU setup? Or does that dramatically depend on the training data? I didn’t see that info on your pages.

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#53
post #45
post #32

Earlier quoted context omitted.

Yes! His power supplies are 2x1500 Watt. That puts it at 3KW max which is more than a 20A circuit can provide (2400W). The standard outlet is typically rated at 15 amps or 1800W. And the 15A breaker is on one circuit. You can get 20A circuits but they need to be wired for it, and replacing the breaker won't cut it. Assuming his GPU is ~450W (his number) and power supplies are 80% efficient, well that means he's pulli…

In the US. The UK or EU will do you 3000W out of a standard domestic socket.

In the UK they get that by doubling the voltage. The current draw will still be similar to the US.

It's over current that causes fires.

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#54

Earlier quoted context omitted.

The GPU rental market is fairly reasonable. There's lots of companies doing it. (I work at one of them). 4x 4090 can be fetched for around $0.40/hour on some platforms ... about $1.20 on others depending on how available you want it. Regardless, all in, you can do an average 10-or-so-day train for If you want on-prem, wait a few months. The supply of 5000 series (probably announced at CES in a few days) should push m…

don't you need nvlink? feel like an 80gb a100 would start being worth it at a $1.20/4x 4090 price point

Some suppliers have support for it, some don't. They either use docker or kvm and it depends on how clever their hosting software is. We can do it, but that's a recent thing. it's really hit or miss

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#55

Earlier quoted context omitted.

The last time I checked, a modern Threadripper build is a bit over $10,000. So if you have the budget for that but need something GPU-oriented instead, then I could see that being a reasonable option.

The thing is you need a threadripper-class build to make use of 4 GPUs in the first place. Ordinary PCs don't have the PCIe lanes necessary for that. But pricing is okay-ish, have a look at Geohot's Tinybox for turnkey solutions.

Ah, of course. I forgot about PCI-e lane requirements. Yeah, you're not going to casually find 8-slot (12?) PCIe x16 motherboard configurations.

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#57

All you need is 4x 4090 GPUs to Train Your Own Model -- and $12000 to buy them

The GPU rental market is fairly reasonable. There's lots of companies doing it. (I work at one of them). 4x 4090 can be fetched for around $0.40/hour on some platforms ... about $1.20 on others depending on how available you want it. Regardless, all in, you can do an average 10-or-so-day train for If you want on-prem, wait a few months. The supply of 5000 series (probably announced at CES in a few days) should push m…

How soon could I break even on renting my GPUs out?

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#58
You can get 4060 ti 16GB cards for ~$450 or 4070 ti 16gb for ~850 instead of the $2.5k for a 4090. I wonder how well 4 of those cards would perform. The 4060 TDP is 165w instead of 450w for the 4090. The 4070 looks like the best tradeoff though for cost/power/etc though. You could probably set up an 8 card 4070 ti 16gb system for less than the 4 card 4090 system

Re: All You Need Is 4x 4090 GPUs to Train Your Own Model

#60

Why not 3090s? Same VRAM and cheaper. With both setups you'd be limited to 1B. By contrast, you can run 4-bit quants of Llama 70B on two {3,4}090s, and it's still pretty lobotomized by modern standards. You can also train your own model even without GPUs. Just depends on parameter size.

It is previous architecture and it doesnt support newer version of Flash Attention , fp8 training etc
Post reply on HN