Skip to content

Conversation

@hvaara
Copy link
Contributor

@hvaara hvaara commented Oct 29, 2024

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

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 29, 2024

🔗 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 Failures

As of commit a274f95 with merge base 9af1816 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@malfet malfet added topic: bug fixes topic category release notes: mps Release notes category labels Oct 29, 2024
@malfet malfet added the ciflow/mps Run MPS tests (subset of trunk) label Oct 30, 2024
@malfet
Copy link
Contributor

malfet commented Oct 30, 2024

@pytorchbot merge -f "Lint + MPS is green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MPS] Typo in error message for supported autocast type

4 participants