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

[Inference] EnableUseGpu has higher priority than flags #29697

Merged
merged 3 commits into from
Dec 17, 2020

Conversation

jiweibo
Copy link
Contributor

@jiweibo jiweibo commented Dec 16, 2020

PR types

Bug fixes

PR changes

Others

Describe

  • 修复C++下,EnableUseGpu(1000, 0) 实际分配显存不准确的问题。
  • 修复python下,enable_use_gpu(1000, 0) 被FLAGS_fraction_of_gpu_memory_to_use覆盖的问题。

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Member

@shangzhizhou shangzhizhou left a comment

Choose a reason for hiding this comment

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

LGTM

@jiweibo jiweibo merged commit b593d58 into PaddlePaddle:develop Dec 17, 2020
@jiweibo jiweibo deleted the fix_gpu_memory_flags branch December 17, 2020 12:34
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.

2 participants