Are they not basically identical hardware?
Are they not basically identical hardware?
May be a degree of software compatibility at the highest level - eg PyTorch - but the underlying software will be very different.
A GPU is optimised for 3D rendering (and is useful for parallel computations in general). An NPU is optimised for neural network inferencing. These algorithms both involve matrix mathematics but they are not the same. The NPU hardware design matches the deep neural network inferencing algorithm. For example it has an "Activation Function" block dedicated to computing the activation function between neural network layers. It is optimised and specialised for one very specific algorithm: inferencing. A GPU would beat an NPU for training, and any other parallel computations besides inferencing.
I wonder if NPU will supercede GPU as in General Processing Unit now that it has finally entered the wider lexicon, relegating GPU back to Graphics Processing Unit or video cards.
And no, GPGPU (General Purpose Graphics Processing Unit) is a bloody stupid term to be bluntly honest.
No, GPU is almost universally used to mean GPU. There is nothing graphical about cryptocurrency, "AI" (sans image generation), protein crunching, and whatever else they are being used for that aren't graphical.
I question how many people are even aware the G is supposed to stand for Graphics anymore. The nomenclature is outdated and doesn't reflect reality anymore.
Most people aren't aware, because the industry never called attention to the morphng definition of GPU.
At that, CPUs aren't Central (for large-scale array-oriented computing workloads) anymore either. (They still are for enterprise or web workloads. Or, they're "Central" in terms of coordinating GPUs and moving data around. But no longer "Central" in terms of "does most of the computing".)
Very rarely, an acronym is “retconned” into a more appropriate expansion or simply starts being considered a regular word not standing for anything.
I’d strongly challenge your assertion that this has happened for “GPU”.
If you are offended by the term GPGPU, maybe we could use the name Compute Processing Unit :-).
I can certainly drink to that.
https://developer.nvidia.com/blog/programming-tensor-cores-c...
A NPU does strictly only the operations required for ML inference, which use data types with low precision, i.e. 16-bit or 8-bit types.
For example Apple’s NPU can’t do FP32 precision, it can only do FP16 and less.