News for hackers. Stuff that matters.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by ed on Tuesday June 27, 2023 @07:04PM (#36499926)
They trained GPT-3 in 11 minutes.

An equivalent number of V100's (GPT-3's original GPU) would've taken about 36 days [0].

0 – https://www.reddit.com/r/GPT3/comments/p1xf10/comment/h8h3sl...

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by april7 on Tuesday June 27, 2023 @07:13PM (#36500023)
Kind of. This tweet better explains what they did:

https://twitter.com/abhi_venigalla/status/167381386318645248...

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by smaddox on Tuesday June 27, 2023 @07:29PM (#36500154)
So it would be more like 46 hours to train GPT-3 from scratch.

    (300BT / 1.2BT) * 11 min * (1 hr / 60 min) = 45.8 hr
Still pretty incredible. That's an 18.8x speedup over 36 days.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by ChatGTP on Tuesday June 27, 2023 @07:35PM (#36500215)
We need to get it down to under 60 seconds, pronto!
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by 2OEH8eoCRo0 on Tuesday June 27, 2023 @07:39PM (#36500252)
It has been 0 days since I retrained GPT
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by lumost on Tuesday June 27, 2023 @11:05PM (#36501760)
This points to an interesting future for foundation models. This is an 18x cost reduction in only 2 years. Either foundation models are going to get much bigger, or variations will become common.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by rerx on Wednesday June 28, 2023 @02:52AM (#36503214)
V100 GPUs are from 2017, so it's more than two years. A100 already appeared there years ago, btw.

An eight GPU DGX-1 server cost ~149k$ back then (googled news postings). A current gen DGX H100 is 520k$ with 5 years of support. Of course it holds 5x the memory, plus GPUs and interconnect are much faster. But when comparing costs, take price hikes into account.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by jsjohnst on Wednesday June 28, 2023 @09:02AM (#36505804)
An important thing to also keep in mind is how much inflation changed prices over the duration. $520k in 2023 dollars is around $420k in 2017 dollars. Sure, still almost 3x more expensive, but that’s better than being 0.7x higher.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by raverbashing on Wednesday June 28, 2023 @04:03AM (#36503670)
Variations of specializations I guess

For writing code you don't care about feeding world history to your model. So a smaller model might be better at a specialized task

Sure, having a big multi-modal-model is great, but by having specialized models you can spread tasks better

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by mlboss on Wednesday June 28, 2023 @10:04AM (#36506657)
But I am sure prompt understanding improves with more text data. Same with reasoning ability.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by messe on Tuesday June 27, 2023 @07:09PM (#36499975)
3500 of them trained GPT-3 in 11 minutes. That number is still worth remarking.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by reaperman on Tuesday June 27, 2023 @07:13PM (#36500013)
It’s remarkable that one of these could train GPT-3 in under a month. However, good to note that its the price is that of twenty 4090’s.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by ClassyJacket on Tuesday June 27, 2023 @08:14PM (#36500550)
Could it actually? Or do you need the memory size of thousands of them running in parallel?
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by reaperman on Tuesday June 27, 2023 @09:44PM (#36501249)
Yes I worded that extremely poorly.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by cavisne on Tuesday June 27, 2023 @08:28PM (#36500658)
One interesting thing is if the model can’t fit into GPU memory (sharded across multiple chips) it would be much slower. So one chip would take more than a month.

That’s why these clusters are so valuable, even with Nvidias margins they are still cheaper than using less compute for longer.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by visarga on Tuesday June 27, 2023 @08:17PM (#36500581)
title says: "a massive GPT-3-based benchmark"

that means they might pass a few batches through a GPT-3 sized random init network and time it

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by layoric on Tuesday June 27, 2023 @08:37PM (#36500739)
GPT3 benchmark, as others have said this means it would be ~46 hours to train GPT, still impressive! Also, going by other comments here, ~3500 of these or 13-14 DGX GH200s at ~$10m each means we are talking about ~$135m worth of compute here. Still very impressive but holy hell that is a lot of money worth of compute hardware.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by zetazzed on Tuesday June 27, 2023 @07:11PM (#36499997)
Yeah, it's wild - feels like we see "software is so slow now! nobody optimizes software anymore, they just run Python and burn cycles!" posts all the time, but man, when a company REALLY wants to optimize something -- it's a thing of beauty.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by usaar333 on Tuesday June 27, 2023 @08:48PM (#36500825)
Your citation is for 1k A100s, not 3.5k V100s. I think it's actually ~51 days on 3.5 V100s.

Just to compare the GPUs, TF32 Tensor processing went from ~125 TFlops to ~990. It then looks like they also dropped the precision to FP8, which gives you another 4x win.

What's interesting is to look at how we're progressing in performance over time. In some sense, a bit slow?

A V100 costs $10k at release; an H100 seems to be $40k.

So we've only managed to halve the cost of a flop in 5 years. That seems.. much slower than what Moore's Law would have suggested.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by winwang on Tuesday June 27, 2023 @08:57PM (#36500894)
What about power draw? Quick google says V100 is max 300W while H100 is max 700W TDP, which makes the cost more favorable than 4x, so more like 7x less per flop. *assuming* the same electricity cost, which actually seems to have increased significantly.

On a (minor) side note, it seems that $1.00 from 2018 is worth ~$1.20 in 2023. I wish more cost comparisons included inflation, because the past few years have had a lot of it.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by usaar333 on Tuesday June 27, 2023 @09:08PM (#36500986)
Good call on power draw, but it seems dwarfed by capital cost. Assuming 3 year life (this tech gets outdated..), 300W constant consumption costs under $1k at $0.3/kwh.

You need to be an order of magnitude higher in power usage before it really starts mattering. e.g. a Tesla3 consumes around 15 KW (20x the H100) while driving.

That said it looks like flops/watt dropped by only 3.4x, which is also sub Moore's Law (3 years to halve power consumption)

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by TOMDM on Tuesday June 27, 2023 @09:40PM (#36501227)
I don't think flops/$ is enough to really capture the difference here.

You couldn't replicate the scale of compute this allows no matter how many V100's you had.

A huge amount of cost here is embodied in networking and memory.

If one were to design a chip that cared only for flop/$ without caring for all of the interconnect and memory, then the 4090 is a much fairer comparison, and even then that card isn't designed for a flop/$ optimisation.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by ac29 on Wednesday June 28, 2023 @12:43AM (#36502402)
> So we've only managed to halve the cost of a flop in 5 years. That seems.. much slower than what Moore's Law would have suggested.

Moore's law says nothing about price or performance.

H100 has about 4x as many transistors as V100, which is pretty close to what Moore's law would predict.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by esperent on Wednesday June 28, 2023 @02:30AM (#36503076)
> Moore's law says nothing about price or performance.

Moore's law is about doubling of transistor count for the same price. At least that's always been my understanding.

EDIT: I decided to look it up. Heres the original 1975 statement from him that led to the law:

"The complexity for minimum component costs has increased at a rate of roughly a factor of two per year. Certainly over the short term this rate can be expected to continue, if not to increase. Over the longer term, the rate of increase is a bit more uncertain, although there is no reason to believe it will not remain nearly constant for at least 10 years."

So yup, it's about transistor density vs price.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by jsjohnst on Wednesday June 28, 2023 @09:06AM (#36505856)
No, it’s not about price of a completely finished product in my humble opinion. It’s about the cost to produce the silicon component itself. Sure, it’s about money both ways, but the distinction is important.

The V100 had up to 32gb ram, the H100 is 188gb. While there’s obviously transistors in ram, the counts being compared are for the GPU itself. I’d argue that a big chunk of the price difference in the V100 vs H100 is RAM.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by usaar333 on Wednesday June 28, 2023 @12:11PM (#36508561)
> I’d argue that a big chunk of the price difference in the V100 vs H100 is RAM.

But that's the same Moore's Law problem when using the 'price' definition.

6x RAM 5 years later = 4x the cost? That's even slower than the FLOPS gains.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by jsjohnst on Wednesday June 28, 2023 @08:05PM (#36514540)
Moore’s law never applied to ram and again, you aren’t comparing apples to apples either. There’s a lot of factors that go into building a complete system, so stop trying to apply an old cpu transistor adage to something it was never intended for and maybe you’ll have better success?
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by esperent on Thursday June 29, 2023 @02:45AM (#36517192)
Moore's law never applied to GPUs either. I don't know if it even said anything about CPUs, specifically. It's about transistor density vs cost.

Roughly the same tech advances apply to making all three kinds of chips so I think it applies (somewhat) equally to CPU, GPUs, RAM and even SSDs etc.

Bearing in mind that ram lags a few generations behind CPU and GPU (I think DDR5 is 12nm vs latest GPUs around 4nm). And also that Moore's law is not a physical law, even when it was in full swing it was only ever meant as a rough guideline for what to expect over a couple of years period.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by godelski on Tuesday June 27, 2023 @09:47PM (#36501278)
With 3,584 GPUs, or 448 Nodes w/ 8GPUs/node. At 5 nodes/rack, that's 90 racks. I looked and found and old listing for Lambda's Echelon racks about $650k. So the infra cost is a little under $6 million.

If you bought the $2/hr H100 instance they offer, that would cost ~$330k. Pricey, but not too bad.

My bigger hope is that with cheaper compute we can see more architecture search and designs. A lot of different architectures are relatively unexplored due to computational constraints and are typically performed by smaller labs so they don't scale and it is kinda hard to compare models when we're just looking at performance benchmarks and not considering other factors. We definitely don't want big labs to railroad our research directions. Feels weird that a huge amount of NLP is based on using pretrained models and tuning them. Vision is going this way too. You basically can't get published without being SOTA so you basically have to modify an existing model or have a multi-million dollar lab and train from scratch. Really weird to expect academia to compete with big labs and really weird to not let academia take "bigger risks" and explore less popular areas. It is vital to our research path that we don't force everything onto a single track.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by m00x on Wednesday June 28, 2023 @02:05AM (#36502866)
H100s are now around 30k USD if you're lucky, going up to 40k on Ebay/Amazon.

3,584 GPUs at $30,000 is $104,550,000 USD only in GPUs.

Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by godelski on Wednesday June 28, 2023 @02:03PM (#36510218)
We're talking about building a server, so usually availability is different than to a home consumer. But fwiw lambda has their Node for 330k (which gets pretty close to that price), whereas the A100's are $170k, so double my figure. Especially considering the H100 nodes are 8U instead of 4U. so you need twice as many racks.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by m00x on Thursday June 29, 2023 @01:21PM (#36523522)
30k is to businesses, not consumers. Consumers don't buy H100s.
Re:H100 GPUs Set Standard for Gen AI in Debut MLPerf Benchmark by akiselev on Tuesday June 27, 2023 @11:23PM (#36501876)
How terminator-equivalent units is that?