Ignite: TPU Example / Support

Created on 21 Apr 2020  ยท  4Comments  ยท  Source: pytorch/ignite

โ“ Questions/Help/Support

I would like to use Ignite with TPUs and was wondering if there are any examples currently available which currently use TPUs with Ignite or does Ignite have some limitations which would not allow for easy compatibility with TPUs.

enhancement question

Most helpful comment

@ryanwongsa unfortunately, there is no yet examples of using Ignite with TPUs.

I think there is no limitations on that as PyTorch xla API is rather similar to GPUs. But, yes, it will be good idea to add some example with Colab link.

All 4 comments

@ryanwongsa unfortunately, there is no yet examples of using Ignite with TPUs.

I think there is no limitations on that as PyTorch xla API is rather similar to GPUs. But, yes, it will be good idea to add some example with Colab link.

@ryanwongsa please, checkout added example or notebook in Colab and feel free to give us any feedback.

Thanks.

I am not sure if it is suitable for including in an example notebook but there are currently Kaggle kernels which use TPU training on 8 cores, such as bert-multi-lingual-tpu-training-8-cores and I was wondering what the best approach would be to do it in a similar way with Ignite.

The torch_xla ParallelLoader is also used on top of a Dataloader which might cause issues too but I am not sure.

@ryanwongsa let me check this kernel with Ignite.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

czotti picture czotti  ยท  3Comments

Aiden-Jeon picture Aiden-Jeon  ยท  3Comments

samarth-robo picture samarth-robo  ยท  3Comments

sisp picture sisp  ยท  3Comments

kilsenp picture kilsenp  ยท  3Comments