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

modify dy2stat error message in compile time #35320

Merged
merged 2 commits into from
Sep 1, 2021

Conversation

0x45f
Copy link
Contributor

@0x45f 0x45f commented Aug 31, 2021

PR types

Others

PR changes

Others

Describe

modify dy2stat error message in compile time
对动转静编译期报错信息进行了修改,主要修改了红框内的报错信息。上图是修改之前的报错信息,下图为修改之后的报错信息:将最后报错的用户代码进行了扩展,展示了前后总共5行的相关代码,加入了提示HERE提示词提示具体出错位置;同时将报错栈的框架层信息进行了隐藏。
image-20210831201250397
image-20210831200939057

@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

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit b24f84c into PaddlePaddle:develop Sep 1, 2021
@0x45f 0x45f deleted the dy2stat_error branch September 7, 2021 12:31
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