Is it possible to add TPU support for training the custom modells ?
It should be easy using following code after model.compile function
try:
model = tf.contrib.tpu.keras_to_tpu_model(
model,
strategy=tf.contrib.tpu.TPUDistributionStrategy(
tf.contrib.cluster_resolver.TPUClusterResolver('grpc://' + TPU_ADDRESS)))
except:
pass
@flozi00 Thanks for sharing this useful information. However, I have concerns on backward compatibility with previous versions of Tensorflow and Keras. I haven't work with the TPU before.
Maybe it would be a nice feature in one of the future versions
TPU support would be a killer feature!
Consider that training on TPUs is much faster and cheaper then training on GPUs
@kettenbach-it Thanks for the comment. We will consider support for this in our future updates.
Most helpful comment
Maybe it would be a nice feature in one of the future versions