-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[MPS] Update error message for supported autocast type #139192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/139192
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit a274f95 with merge base 9af1816 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge -f "Lint + MPS is green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Autocast in MPS currently only supports dtype of `torch.float16`. This PR updates the error message to reflect this. This PR was created using [Copilot Workspace](https://copilot-workspace.githubnext.com/pytorch/pytorch/issues/139190?shareId=5b510fda-380c-4e86-8e91-6b67a078f180) with no human input other than clicking buttons. Fixes pytorch#139190 Pull Request resolved: pytorch#139192 Approved by: https://github.com/malfet
Autocast in MPS currently only supports dtype of
torch.float16. This PR updates the error message to reflect this.This PR was created using Copilot Workspace with no human input other than clicking buttons.
Fixes #139190
cc @mcarilli @ptrblck @leslie-fang-intel @jgong5