Skip to content

[MPS] Build MPS delegate with Werror=1 #1736

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

Closed
wants to merge 1 commit into from

Conversation

DenisVieriu97
Copy link
Collaborator

Summary of changes:

  • Build MPS Delegate with Werror=1 by default (tested on macOS12.0, 13.0 and 14.0)
  • Cast the placeholders to FP16 only if initial placeholder is FP32. Other data types remain unchanged.

cc @shoumikhin, @cccclai, @larryliu0820

Copy link

pytorch-bot bot commented Jan 27, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/1736

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit a5c8e7e with merge base 1ebd43e (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 27, 2024
@facebook-github-bot
Copy link
Contributor

@shoumikhin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@shoumikhin
Copy link
Contributor

Please rebase to resolve conflicts

Cast to FP16 only if initial placeholder is FP32
@DenisVieriu97
Copy link
Collaborator Author

Thank you @shoumikhin.
Rebased!

@facebook-github-bot
Copy link
Contributor

@shoumikhin has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@shoumikhin merged this pull request in 52ea3c6.

kirklandsign pushed a commit to kirklandsign/executorch that referenced this pull request Jan 29, 2024
Summary:
Summary of changes:

- Build MPS Delegate with Werror=1 by default (tested on macOS12.0, 13.0 and 14.0)
- Cast the placeholders to FP16 only if initial placeholder is FP32. Other data types remain unchanged.

cc shoumikhin, cccclai, larryliu0820

Pull Request resolved: pytorch#1736

Reviewed By: cccclai

Differential Revision: D53150094

Pulled By: shoumikhin

fbshipit-source-id: f8f3b4d74ffbf06cfc97a20a115eefd0a44b7ef3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants