News for hackers. Stuff that matters.
Re:Which GPUs to get for deep learning by nl on Tuesday September 08, 2020 @01:32AM (#24405472)
> Right, but Nvidia claimed 1360 images/sec for resnet-50 on imagenet.

On https://images.nvidia.com/content/technologies/volta/pdf/vol... they claim 1,525 images/sec (!)

Dell hit 5,243 images/sec with one of their 4 V100s servers, which comes to 1,310 images/sec per V100. I find it very believable that NVidia would get ~200 images/sec more, since Dell jumped 50% with a change in their CPU/GPU connection topology.

See https://www.dell.com/support/article/en-au/sln317397/deep-le...

Re:Which GPUs to get for deep learning by nl on Tuesday September 08, 2020 @10:11AM (#24408527)
Also I just noticed that Google's XLA gets 1278 images/second on a single V100 in FP16 mode.

https://www.tensorflow.org/xla

Re:Which GPUs to get for deep learning by tbenst on Tuesday September 08, 2020 @03:48PM (#24412273)
Thank you for finding that! I’m glad to see the situation has improved since I last looked. 3x improvement over fp32 is impressive for sure. Their marketing claims of 8x still bother me though.
Re:Which GPUs to get for deep learning by nl on Tuesday September 08, 2020 @09:55PM (#24415942)
What exactly is the 8x claim?

The thing I've seen is very limited (NVIDIA GPUs offer up to 8x more half precision arithmetic throughput when compared to single-precision, thus speeding up math-limited layers.[1]) which is probably true.

The problem with performance improvements is the diminishing returns part of Amdahl Law: an 8x improvement in math performance will just mean the math part becomes less important in terms of absolute performance.

In any case, I've found NVidia's claims in the machine learning area to be pretty good. Like most claims you have to read carefully to see exactly what the claim is, but that's not uncommon with performance claims.

[1] https://docs.nvidia.com/deeplearning/performance/mixed-preci...

[2] https://en.wikipedia.org/wiki/Amdahl%27s_law#Relation_to_the...

Re:Which GPUs to get for deep learning by tbenst on Wednesday September 09, 2020 @02:20AM (#24417834)
> NVIDIA GPUs offer up to 8x more half precision arithmetic throughput when compared to single-precision, thus speeding up math-limited layers

Right but I’ve benchmarked the best case scenario, ie a large GEMM call in C++, and still not seen anywhere close to 8x. I’ve never seen a code example, no matter how limited, showing a 8x speed up.

Re:Which GPUs to get for deep learning by llukas on Wednesday September 09, 2020 @03:14AM (#24418204)