News for hackers. Stuff that matters.
Re:Predicting where AI is going in 2020 by nl on Friday January 03, 2020 @12:40AM (#21943548)
I did try training a Pytorch BERT-derived model on TPUs (on Colab) and it didn't work out-of-the box. (Where didn't work=was using the CPU)

I didn't dig into it to find out why.

Re:Predicting where AI is going in 2020 by zak on Friday January 03, 2020 @02:18AM (#21943944)
(I'm one of the Cloud TPU product leads)

We've seen multiple BERT-related PyTorch models training successfully on Cloud TPUs, including training at scale on large, distributed Cloud TPU Pod slices.

Would you consider filing a GitHub issue at https://github.com/pytorch/xla or emailing [email protected] to provide a bit more context about the specific issue you encountered?

Here's the current PyTorch/TPU troubleshooting guide, which provides information on how to collect and interpret metrics that are very helpful for debugging: https://github.com/pytorch/xla/blob/master/TROUBLESHOOTING.m...

Thanks!

Re:Predicting where AI is going in 2020 by riku_iki on Friday January 03, 2020 @11:42AM (#21947526)
> BERT-related PyTorch models training successfully on Cloud TPUs

How do you see it? Do you look at your client's code?

Re:Predicting where AI is going in 2020 by nl on Friday January 03, 2020 @08:07PM (#21952011)
Google wrote BERT and they provide technical support to the FB Pytorch TPU port so it's not entirely surprising. RoBERTa, (Fb's variant) would be a good candidate to test it with.
Re:Predicting where AI is going in 2020 by zak on Saturday January 04, 2020 @12:05AM (#21952991)
We only see code when customers open-source it or otherwise explicitly share it with us. We are directly in touch with several customers who are using the PyTorch / TPU integration, so we hear feedback from them, and we also run a variety of open-source PyTorch models on Cloud TPUs ourselves as we continue to improve the integration.