title: How to run Pytorch on Macbook pro (M1) GPU?
body: <p>I tried to train a model using PyTorch on my Macbook pro. It uses the new generation apple M1 CPU. However, PyTorch couldn't recognize my GPUs.</p>
  <pre><code>GPU available: False, used: False
  TPU available: False, using: 0 TPU cores
  IPU available: False, using: 0 IPUs
  </code></pre>
  <p>Does anyone know any solution?</p>
  <p>I have updated all the libraries to the latest versions.</p>