Posts

Post not yet marked as solved
9 Replies
0 Views
Small batch sizes (default is 32) run much faster on CPU. Thats normal. GPU takes over once you have big workload.
Post marked as solved
13 Replies
0 Views
Compile from Source guideline: https://github.com/tensorflow/tensorflow/issues/51506#issuecomment-901460541
Post not yet marked as solved
1 Replies
0 Views
You can switch between CPU and GPU, both work fine with TF 2.5 and MBP M1. Depending on your batch size, the CPU can be much faster. from tensorflow.python.framework.ops import disable_eager_execution disable_eager_execution() with tf.device('/CPU:0'): # GPU or CPU ... TF 2.5 installation steps: https://developer.apple.com/metal/tensorflow-plugin/