Live data from Hacker News

Training Stable Diffusion from Scratch Costs <$160k

mosaicml.com

41–50 of 52 posts

Re: Training Stable Diffusion from Scratch Costs <$160k

#41
post #23

Data truly is the new oil. When it’s all done the compute costs and code will be cheap or free. There’s a lot hinging on how we interpret copyright laws or what kind of data rights laws we enact.

The copyright on Mickey Mouse is due to expire next year, so there will definitely be some attempts at copyright "reform" this year.

Re: Training Stable Diffusion from Scratch Costs <$160k

#42
post #11

Earlier quoted context omitted.

The companies that wait for a 100% "clean" model are going to get left behind. e.g. ChatGPT launching despite Google, Meta and others already having very similar technology internally

There is already a class action lawsuit. The companies that move forward with "dirty" models can be wiped out by legal fees before they got off the ground.

That just means it will happen outside the us wherever laws aren’t enforced (China, Russia, etc.)

Re: Training Stable Diffusion from Scratch Costs <$160k

#43

Earlier quoted context omitted.

Hi, one of the authors of the post, we will update the post with numbers from 256 GPU run within the next few days. We estimated the 256 run to be the fastest (13 days), but also the most expensive at $160k. The measured 128 GPU run would take 21 days but for $125k if you are interested in lower costs.

That is not necessarily a saving. If you have a let's say a team of five people each costing $1000 a day, those idle 6 days (not counting the weekend) would add up to $30k of wasted money. Then if you are working on something the competition is also working on, these lost days would add up and potentially cost losing the edge - could be quite expensive or even cost the business.

Agreed. When I mentioned lower costs, this was exclusive to model training, but there are so many other factors that influence the cost to a business.

Re: Training Stable Diffusion from Scratch Costs <$160k

#44

Interesting to think about where the cost will go in a few years. I remember in college intro to CS class back in 1998, where I heard the story of building the first computer that could perform at 1 TFLOPS[1]. It cost $46 million and took up 1600 square feet. Now a $600 Mac Mini will do double that. [1] https://en.wikipedia.org/wiki/ASCI_Red

It is not going to go down much anymore, because the end of Moore's law has been reached as physical limitations become a factor. You cannot scale chips close to 1 atom wide transistors.

Re: Training Stable Diffusion from Scratch Costs <$160k

#45

Is this just an ad for a service? They didn’t make anything. This is just speculative benchmarking. I am deeply not interested in multiplying the numbers on your pricing sheet by the estimated numbers on the stable diffusion model card. I have zero interest in your (certainly excellent) Proprietary Special Sauce (TM) that makes spending money on your service a good idea. This just reads as spam that got past the spam…

Did you actually read the blog? The very first sentence is:

> Try out our Stable Diffusion code here! > https://github.com/mosaicml/diffusion-benchmark

Re: Training Stable Diffusion from Scratch Costs <$160k

#46

Earlier quoted context omitted.

Those models are not from scratch.

It is a fair point though - there's no utility in training an openly available model from scratch. Finetuning is far more practical.

Numerous reasons why someone might want to train model from scratch; for example, copyright province and licensing control.

Re: Training Stable Diffusion from Scratch Costs <$160k

#47
5 bucks says within a year there’ll be some innovation that shrinks this by 2 orders of magnitude. Either from much cheaper compute cost (eg OPUs) or much more efficient training. Hell, there ought to be some way to leapfrog these innovations in such a way that the huge model of yesteryear becomes a more powerful optimizer/loss function itself. That’d just about solve the “hands off my unique shapes!” problem of acceptable training data trawling too :)

Re: Training Stable Diffusion from Scratch Costs <$160k

#48
It's interesting to compare the cost for cloud GPU's vs. buying the hardware outright. At ~$10,000 per Nvidia A100 GPU, it seems like this cloud provider would break even on the hardware after about 5 months at these rates. There are certainly other costs involved (racking, power, etc.), but that's not too bad. I'm almost surprised Nvidia doesn't cannibalize it's hardware sales by running its own cloud.

Re: Training Stable Diffusion from Scratch Costs <$160k

#49

Interesting to think about where the cost will go in a few years. I remember in college intro to CS class back in 1998, where I heard the story of building the first computer that could perform at 1 TFLOPS[1]. It cost $46 million and took up 1600 square feet. Now a $600 Mac Mini will do double that. [1] https://en.wikipedia.org/wiki/ASCI_Red

It is not going to go down much anymore, because the end of Moore's law has been reached as physical limitations become a factor. You cannot scale chips close to 1 atom wide transistors.

I’ll take this 10 year bet. You really think nvidia is just gonna stop releasing new revisions? “Moores law is dead” is way over-memed, it’s more of an axiom about how computers continually improve than really being about transistor count at this point.

Re: Training Stable Diffusion from Scratch Costs <$160k

#50

Earlier quoted context omitted.

It is not going to go down much anymore, because the end of Moore's law has been reached as physical limitations become a factor. You cannot scale chips close to 1 atom wide transistors.

I’ll take this 10 year bet. You really think nvidia is just gonna stop releasing new revisions? “Moores law is dead” is way over-memed, it’s more of an axiom about how computers continually improve than really being about transistor count at this point.

Moore's law and more importantly dennard scaling both died in the mid 2000s. Nvidia is in fact successful because of the end of dennard scaling and the shudts do more mission specialized silicon like TPUs, and codec accelerators, inference engines are also a consequence of that.

Nvidia's performance gains in recent years has been about scaling chip size and making more efficient use of each transistor both in terms of power and count than anything else. A large part of that is minimizing how far data physically moves for any given workloads via stuff like HBM, memory compression, and smarter/larger caches.

In fact, Nvidia doesn't even really try to be on the bleeding edge nodes anymore because per transistor costs has been trending up or level on bleeding edge nodes for at least 5 years now.

Post reply on HN