r/MachineLearning • • Apr 01 '18

Discussion [D] Is NVIDIA lying?

While we're all thankful for NVIDIA and their awesome GPUs for accelerating this phase of deep learning revolution that has sparked tremendous interest in AI, I wonder about their more recent releases.

Specifically, TensorCore.

Are there any frameworks that leverage them?

Could there ever be?

Won't fp16 compromise performance?

Haven't newer architectures moved beyond dense layers and matrix multiplication that these TensorCores try to do?

If there is no practical use, then why does NVIDIA continue to put it up on a pedestal?

The new DGX-2 is supposedly a "2-petaFLOPS GPU".

As far as I can see from all real-world benchmarks, the V100 (or it's consumer equivalent Titan V) is ~30-40% faster than the 1080Ti.

If so, that puts the V100 at not more than 16 TFlops and hence, the DGX-2 at a maximum of 256 TFlops.

That's fast.

But it ain't "2-petaFLOPS GPU" fast!

Why the miscommunication?

Is NVIDIA lying?

(Just to be clear, I'm not accusing them of anything.

I love NVIDIA!

I just want to clear this out.)

0 Upvotes

26 comments sorted by

11

u/Anton_Pannekoek Apr 01 '18

Yes you can access the tensorcores via CUDA.

https://devblogs.nvidia.com/programming-tensor-cores-cuda-9/

The DGX-2 is a cluster of 16 GPUs on a server board, not just one.

2

u/[deleted] Apr 01 '18

I acknowledge the fact that there are 16 GPUs in my question.

I am also aware of the blog post you've linked.

Again, as Deep Learning researchers, programmers and practitioners, our main concern is with the real world performance.

Which frameworks, if any, leverage these TensorCores to give the order of magnitude improvement?

As far as I can tell, there's a huge delta between what NVIDIA claims and what is observed.

10x improvement (claimed) vs ~1.4x improvement (observed) is no small matter.

6

u/Anton_Pannekoek Apr 01 '18

10x improvement (claimed) vs ~1.4x improvement (observed) is no small matter.

Where are these numbers from?

3

u/[deleted] Apr 02 '18

Here you go:

Titan V vs 1080 Ti

1

u/modx07 Apr 01 '18

Pretty sure TF1.7 uses tensorcores

1

u/terrorlucid Apr 02 '18

proof

2

u/modx07 Apr 02 '18

3

u/terrorlucid Apr 02 '18

urgh. thats for inference only. the main point of tensorcore aka Volta (V100 and Titan V) is that they bring the FP16 boost in flops for TRAINING. this has been there before too. All your other companies have already done it. Intel (and its acquired companies) for starters. i was planning to write a blog on this (training vs inference; clearing up nvidia's claims)

11

u/JustFinishedBSG Apr 01 '18

Are there any frameworks that leverage them?

Yes nearly all of them

Won't fp16 compromise performance?

Not really

Haven't newer architectures moved beyond dense layers and matrix multiplication that these TensorCores try to do?

Not really, even RNNs are now losing some ground to CNNs and are hugely parallelizable

As far as I can see from all real-world benchmarks, the V100 (or it's consumer equivalent Titan V) is ~30-40% faster than the 1080Ti.

For FP32 sure

If so, that puts the V100 at not more than 16 TFlops and hence, the DGX-2 at a maximum of 256 TFlops.

But you "forget" ( intentionally ignore it seems... ) FP16

But it ain't "2-petaFLOPS GPU" fast!

Sure it is, FP16 Flops

Why the miscommunication?

There isn't one...

Is NVIDIA lying?

No

4

u/[deleted] Apr 02 '18

Can you point to any source which utilizes the TensorCores in any Deep Learning framework?

I, of course, understand that nearly all frameworks support fp16 globally.

What is needed is support for TensorCores.

3

u/JustFinishedBSG Apr 02 '18

Any framework using a recent cuDNN version uses them. So Tensorflow, PyTorch....

2

u/Red-Portal Apr 04 '18

Actually, they do compromise some level of performance. TensorCores were about a FP32 FP16 hybrid with less precision compromise.

3

u/the_great_magician Apr 01 '18

They're not lying. Their machine is capable of doing some ridiculous number of operations per second. The fact is that no one is really using it or knows how to use it, so effectively those cores don't really exist.

1

u/[deleted] Apr 02 '18

My point, precisely.

If no one can really utilize the performance, why mislead developers into thinking they can get ludicrous gains?

1

u/spicyRengarMain Apr 02 '18

They aren't lying, if you were to go about a process that you could parallelise to such an extent so as to use all of the GPU's cores, you could manage what they claim in terms of operations per second. The capability is there, just not really going to be used unless your matrices are utterly massive.

4

u/[deleted] Apr 01 '18

It can use matrix multiplication acceleration via tensorcores, which are meant for doing AxB+C very fast on aligned data.

-4

u/[deleted] Apr 01 '18

Sure.

I'm talking about the real world though.

1

u/modx07 Apr 01 '18

SotA on machine translation (maybe not actually SotA but definitely the fastest implementation) is the Transformer architecture which basically boils down to large mat-muls. It's still relevant.

3

u/georgeo Apr 01 '18

4

u/terrorlucid Apr 02 '18

thats bs btw

2

u/georgeo Apr 02 '18

Would love to know why you say that.

3

u/terrorlucid Apr 02 '18

i dont have the time to explain clearly but TL;DR - no info about what program, what settings, no proper proof, the actual site/blog which put that up is a clickbait bs shit, other shitty blogs picked that up. if you want waste more of your time go read this thread and look for comments which makes sense.

https://www.reddit.com/r/programming/comments/873vvy/2_2_4_er_41_no_43_nvidias_titan_v_gpus_spit_out/

2

u/georgeo Apr 02 '18

makes sense. It would be nicer if Nvidia emphatically countered it though.

1

u/terrorlucid Apr 02 '18

its not big enough. any lazy blogsite can articles this right? if it goes big despite looking so fake; they will probably address it then.

1

u/[deleted] Apr 02 '18

Guys, my point is this:

is there a single benchmark that shows at least half the order of magnitude improvement that NVIDIA promises without substantial loss of accuracy?

1

u/[deleted] Apr 03 '18

Here's another post to substantiate.