Hacker News new | ask | show | jobs
by MasterScrat 1491 days ago
Small code example in the PyTorch doc:

https://pytorch.org/docs/master/notes/mps.html

1 comments

Tried https://pytorch.org/tutorials/beginner/basics/quickstart_tut... with mps vs cpu. mps worked, but cpu actually was faster (16 vs 21s). Perhaps I am doing it wrong...