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

Made a change in python API to support the GPU version of unique OP working in static graph #27899

Merged
merged 7 commits into from
Oct 14, 2020

Conversation

AshburnLee
Copy link
Contributor

@AshburnLee AshburnLee commented Oct 13, 2020

PR types

Bug fixes

PR changes

APIs

Describe

uniuqe OP GPU 版在静态图中报错:
截屏2020-10-14 11 05 29
在源码中的Resize处报错。原因是,在一些情况下,原本指向一个Tensor的指针指向了空,即对应的Tensor不存在,在API中没有被创建。
修改manipulation.py中的unique函数后,静态图中正确执行。

@paddle-bot-old
Copy link

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

@AshburnLee AshburnLee changed the title Made a change in python API to support unique OP working in static graph Made a change in python API to support the GPU version of unique OP working in static graph Oct 14, 2020
Copy link
Contributor

@zhangting2020 zhangting2020 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhangting2020 zhangting2020 merged commit 9209f34 into PaddlePaddle:develop Oct 14, 2020
chen-zhiyu pushed a commit to chen-zhiyu/Paddle that referenced this pull request Oct 15, 2020
…orking in static graph (PaddlePaddle#27899)

* Made a change to support unique op working in static graph

* Correct python format error
@AshburnLee AshburnLee deleted the junhui_unique branch December 15, 2020 12:46
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.

None yet

2 participants