The latest version of PyTorch support Apple Metal (running on Apple Silicon devices, or Apple Intel devices with AMD GPUs), with the device called 'mps' - https://developer.apple.com/metal/pytorch/
This change allows the device to be set to mps rather than limiting to cpu and cuda.
The latest version of PyTorch support Apple Metal (running on Apple Silicon devices, or Apple Intel devices with AMD GPUs), with the device called 'mps' - https://developer.apple.com/metal/pytorch/
This change allows the device to be set to
mps
rather than limiting tocpu
andcuda
.