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 unittest can't get cuda error message correctly #33743

Merged
merged 1 commit into from
Jun 24, 2021

Conversation

zhwesky2010
Copy link
Contributor

@zhwesky2010 zhwesky2010 commented Jun 23, 2021

PR types

Bug fixes

PR changes

Others

Describe

目前所有单测无法正确的CUDA报错,是由于单测运行时,使用的paddle为build目录下的paddle,而不是site-package下的paddle,但externalErrorMsg.pb只会打包到site-package下的paddle,因此用户报错信息正常,但是单测报错信息会不正常。

该PR修复了这个问题。

@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
Contributor

@zhiqiu zhiqiu left a comment

Choose a reason for hiding this comment

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

LGTM

@zhwesky2010 zhwesky2010 merged commit 3946afc into PaddlePaddle:develop Jun 24, 2021
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