Skip to content
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

Support BFloat16 in full_like #7822

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Support BFloat16 in full_like #7822

merged 3 commits into from
Jan 23, 2025

Conversation

swolchok
Copy link
Contributor

Partial fix for #7748.

[ghstack-poisoned]
@swolchok
Copy link
Contributor Author

swolchok commented Jan 21, 2025

Stack from ghstack (oldest at bottom):

Copy link

pytorch-bot bot commented Jan 21, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 9cc8669 with merge base 1655fc5 (image):

NEW FAILURE - The following job has failed:

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 21, 2025
swolchok added a commit that referenced this pull request Jan 21, 2025
Partial fix for #7748.

ghstack-source-id: 0c618dfefe4fe7c68fa6cfaddb442195371ef7cc
ghstack-comment-id: 2605975252
Pull Request resolved: #7822
@swolchok swolchok added the release notes: ops & kernels Changes to the opset and any new / changed kernel implementations label Jan 21, 2025
@@ -87,7 +87,7 @@ void OpFullLikeTest::test_full_like_out<ScalarType::Bool>() {

TEST_F(OpFullLikeTest, AllRealOutputPasses) {
#define TEST_ENTRY(ctype, dtype) test_full_like_out<ScalarType::dtype>();
ET_FORALL_REAL_TYPES_AND(Bool, TEST_ENTRY);
ET_FORALL_REALHBF16_TYPES(TEST_ENTRY);
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing the boolean. Use ET_FORALL_REALHBBF16_TYPES. Granted that the test name was misleading. Could you please change that as well. AllRealOutputPasses -> AllDtypeOutputPasses

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Jan 22, 2025
Partial fix for #7748.

ghstack-source-id: fb43f3d5a82d7dab37fd4322ecdc3966b88638d8
ghstack-comment-id: 2605975252
Pull Request resolved: #7822
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Jan 22, 2025
Partial fix for #7748.

ghstack-source-id: 0f85fd391b324f4a275a5e7c1b421683ebd91b35
ghstack-comment-id: 2605975252
Pull Request resolved: #7822
@swolchok swolchok merged commit f657995 into main Jan 23, 2025
44 of 45 checks passed
@swolchok swolchok deleted the gh/swolchok/163/head branch January 23, 2025 17:59
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
zonglinpeng pushed a commit to zonglinpeng/executorch that referenced this pull request Jan 30, 2025
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. release notes: ops & kernels Changes to the opset and any new / changed kernel implementations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants