Skip to content

Conversation

@pytorchbot
Copy link
Collaborator

Stack from ghstack (oldest at bottom):

I misplaced a return. Caught this during development in div, but not sub.

Differential Revision: D63919553

…pe is mixed or both are Half (#5894)

Summary:
Pull Request resolved: #5894

I misplaced a return. Caught this during development in div, but not sub.
ghstack-source-id: 246398371
exported-using-ghexport

Reviewed By: kirklandsign

Differential Revision: D63919553

fbshipit-source-id: 84e27efc400711ae0253e48a4dbdb4b419140925
(cherry picked from commit 1052e3b)
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 7, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 980418e with merge base eecf74f (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 Oct 7, 2024
Copy link
Contributor

@jackzhxng jackzhxng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a good grasp on what the surface area of this PR will be since you are modifying the behavior of an op. Can you comment on how much risk there is to CP this?

@swolchok
Copy link
Contributor

swolchok commented Oct 9, 2024

I don't have a good grasp on what the surface area of this PR will be since you are modifying the behavior of an op. Can you comment on how much risk there is to CP this?

I can tell you that the consequences of not picking it are that optimized op_sub will certainly be incorrect. I suppose the risk from picking it is that optimized op_sub might be incorrect in a different way.

Copy link
Contributor

@jackzhxng jackzhxng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, seems like we improve the correctness of this op on average then 👍🏻

@jackzhxng jackzhxng merged commit c1b10a7 into release/0.4 Oct 9, 2024
34 checks passed
@jackzhxng jackzhxng deleted the cherry-pick-5894-by-pytorch_bot_bot_ branch October 9, 2024 21:17
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants