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 memory leak problen of set_value op #38098

Merged
merged 4 commits into from
Dec 14, 2021

Conversation

zyfncg
Copy link
Contributor

@zyfncg zyfncg commented Dec 13, 2021

PR types

Bug fixes

PR changes

OPs

Describe

修复Tensor索引赋值调用set_value op出现的显存泄露问题,该问题主要是由Inplace策略的使用不当导致,本PR中已完成修复。

@paddle-bot-old
Copy link

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

@zyfncg zyfncg merged commit f820294 into PaddlePaddle:develop Dec 14, 2021
Caozhou1995 pushed a commit to Caozhou1995/Paddle that referenced this pull request Dec 29, 2021
* fix bug of set_value op

* fix BumpInplaceVersion

* polish some comments

* revert change of full_like
zyfncg added a commit to zyfncg/Paddle that referenced this pull request Dec 29, 2021
* fix bug of set_value op

* fix BumpInplaceVersion

* polish some comments

* revert change of full_like
lanxianghit pushed a commit that referenced this pull request Dec 30, 2021
本PR修复了以下两个tensor切片索引bug:

1.修复Tensor索引赋值调用set_value op出现的显存泄露问题,该问题主要是由Inplace策略的使用不当导致,本PR中已完成修复。

2.修复使用多个None类型索引时结果维度异常的问题
@zyfncg zyfncg deleted the fix_set_value branch June 21, 2022 02:08
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