Comment by emmelaich
15 hours ago
Nah, just locally on my macair.
TBF, I only got to the point that using device=mps_device didn't fail. I used Sonoma at the time and the image for the vm was ghcr.io/cirruslabs/macos-sequoia-xcode:16.2-beta-3. Python 3.12, as well, because torch didn't work with later versions.
import torch
mps_device = torch.device("mps")
print('device is', mps_device)
x = torch.ones(1, device=mps_device)
print(x)
No comments yet
Contribute on Hacker News ↗