This was exactly the case for me on iMac Pro 2017 with Radeon Vega 64.
With the default_size = 128, one epoch on GPU took 27 s, while on CPU 28 s.
With batch_size = 1024, one epoch on GPU took 6 s, while on CPU 21 s.
Topic:
Machine Learning & AI
SubTopic:
General
Tags: