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

[CPU] Remove casting math.powf from fp16 to fp32 #19844

Merged
merged 3 commits into from
Feb 4, 2025

Conversation

ita9naiwa
Copy link
Member

@ita9naiwa ita9naiwa commented Jan 29, 2025

Fixing #15936

once llvm/llvm-project#124402 gets merged,

we can remove ExpandF16OpToF32Pattern on math::PowFOp

@hanhanW
Copy link
Contributor

hanhanW commented Jan 29, 2025

Let's wait for the change landed to IREE. I think it would take few days, and then you can rebase and retrigger the CI. Thanks for fixing it!

@ita9naiwa ita9naiwa force-pushed the ita9naiwa/remove-powf-fp16-f32 branch from 9e63d0f to ba8c1e9 Compare February 4, 2025 10:53
@ita9naiwa
Copy link
Member Author

the CI failed before because I removed some necessary part

    if (failed(applyPatternsGreedily(getOperation(), std::move(patterns)))) {
      return signalPassFailure();
    }

I took it back and CI should work okay.

@ita9naiwa ita9naiwa force-pushed the ita9naiwa/remove-powf-fp16-f32 branch from ba8c1e9 to 39db470 Compare February 4, 2025 11:05
Signed-off-by: Hyunsung Lee <[email protected]>
Copy link
Contributor

@pashu123 pashu123 left a comment

Choose a reason for hiding this comment

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

LGTM!

@hanhanW hanhanW merged commit d7c6c7b into iree-org:main Feb 4, 2025
42 checks passed
@ita9naiwa ita9naiwa deleted the ita9naiwa/remove-powf-fp16-f32 branch February 14, 2025 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants