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

fix the error of defined more than once #8351

Merged
merged 2 commits into from
Jun 13, 2023

Conversation

EmmonsCurse
Copy link
Contributor

PR types

Bug fixes

PR changes

Others

Description

fix the ERROR: "flag 'use_mkldnn' was defined more than once" in cpp inference to adapt the change of Paddle.
788a3412c1a1d176b7bbe83e5f910a18

'use_mkldnn' was defined twice in https://github.com/PaddlePaddle/Paddle/blob/64ecdc03db38377e37a1c149086c1eb8700c3e04/paddle/phi/core/flags.cc#LL682C30-L682C30 and

DEFINE_bool(use_mkldnn, false, "Whether use mkldnn with CPU");

@paddle-bot
Copy link

paddle-bot bot commented Jun 12, 2023

Thanks for your contribution!

@EmmonsCurse EmmonsCurse reopened this Jun 12, 2023
@jerrywgz jerrywgz merged commit efb73ae into PaddlePaddle:develop Jun 13, 2023
EmmonsCurse added a commit to EmmonsCurse/PaddleDetection that referenced this pull request Jun 15, 2023
jerrywgz pushed a commit that referenced this pull request Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants