You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On macOS, OpenNMT-Py does not have support for metal devices (mps), but pytorch does.
It's possible to manually patch OpenNMT-Py and change torch.device('cpu') references to torch.device('mps') and get metal support to work, perhaps we could send a patch upstream to enable Metal support for everyone.
Seems kind of slow though.
The text was updated successfully, but these errors were encountered:
On macOS, OpenNMT-Py does not have support for metal devices (mps), but pytorch does.
It's possible to manually patch OpenNMT-Py and change
torch.device('cpu')
references totorch.device('mps')
and get metal support to work, perhaps we could send a patch upstream to enable Metal support for everyone.Seems kind of slow though.
The text was updated successfully, but these errors were encountered: