Skip to content
Discussion options

You must be logged in to vote

Thanks for the kind words. I am glad to hear you are liking the book overall. Unfortunately, this discrepancy is expected, which is why I didn't recommend MPS in the main chapters. It was really bad when I started working on the book (PyTorch 2.0 back then) but incrementally improved in newer PyTorch versions. Like you said, in newer PyTorch versions, it's mostly fine now except Chapter 7.
In any case, it's basically a PyTorch/MPS-support issue, not an issue in your code.

There were also some relevant discussions in the forum about that, e.g.,

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rasbt
Comment options

Answer selected by rasbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants