Większość modeli jest liniowa i nie ma miejsca na setki prostych wątków....
https://thinkml.ai/cpu-vs-gpu-in-machine-learning…
"What operations do GPUs perform better for Machine Learning?
GPUs are not best for every machine learning process. They are best at operations that involve parallelism. Hence, they are used for Machine Learning applications that can take advantage of the GPU’s parallel processing abilities like CNN and RNN. Hence, GPUs provide high-speed data processing.
When GPUs are not preferred in Deep Learning?
Despite all the above advantages, it's still not ideal to use GPU for general-purpose computing tasks due to:
High energy consumption - which is a challenge for power-limited devices such as phones and embedded computers. The cost is also very high when considering the hardware required to support a typical deep learning workstation or cloud setup.
The type of computation must be well specified to achieve optimal performance since GPUs are generally designed with specific algorithms in mind. It's also difficult to program an algorithm for efficient execution on a GPU (but no doubt there are some ways of achieving this).
When you intend to train non-parallel (sequential/non-concurrent) algorithms, GPUs are not a good choice. Sequential algorithms are usually executed in a sequence manner and cannot be subdivided into smaller codes. Hash-chaining is an example of such an algorithm that is very difficult to parallelize. In simple words, “P-complete” programs are not meant to use GPUs."
Komentować mogą zalogowani. Zaloguj się albo załóż konto.