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 a PyDataProvider2 bug when use calc_batch_size #54

Merged

Conversation

reyoung
Copy link
Collaborator

@reyoung reyoung commented Sep 9, 2016

  • Need PyGuard when set args for calc_batch_size

@zhangjcqq

* Need PyGuard when set args for calc_batch_size
PyGuard g;
cache_->drop(&data);
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Early remove data in memory.

@emailweixu emailweixu merged commit 1c5514f into PaddlePaddle:master Sep 9, 2016
@reyoung reyoung deleted the fix_calc_batch_size_deadlock branch September 12, 2016 06:40
qingqing01 pushed a commit to qingqing01/Paddle that referenced this pull request Apr 30, 2020
thisjiang pushed a commit to thisjiang/Paddle that referenced this pull request Oct 28, 2021
LowerFunc add allocate for output buffer
gglin001 pushed a commit to graphcore/Paddle-fork that referenced this pull request Dec 8, 2021
* implement ipu_shard

* update ipu_shard_test.py
wangxicoding pushed a commit to wangxicoding/Paddle that referenced this pull request Dec 9, 2021
zhoutianzi666 pushed a commit to zhoutianzi666/Paddle that referenced this pull request May 23, 2022
zmxdream pushed a commit to zmxdream/Paddle that referenced this pull request Aug 31, 2022
* opti load-ins memory-use

* opti memory used

Co-authored-by: liaoxiaochao <[email protected]>
zmxdream pushed a commit to zmxdream/Paddle that referenced this pull request Nov 2, 2022
* opti load-ins memory-use

* opti memory used

Co-authored-by: liaoxiaochao <[email protected]>
jack603047588 referenced this pull request in jack603047588/Paddle Nov 9, 2022
qizhaoaoe pushed a commit to qizhaoaoe/Paddle that referenced this pull request Mar 3, 2023
* add a pic to show how plsc works

* modify image size
zmxdream pushed a commit to zmxdream/Paddle that referenced this pull request Oct 10, 2023
AnnaTrainingG pushed a commit to AnnaTrainingG/Paddle that referenced this pull request Dec 6, 2023
lizexu123 pushed a commit to lizexu123/Paddle that referenced this pull request Feb 23, 2024
feifei-111 pushed a commit to feifei-111/Paddle that referenced this pull request Mar 12, 2024
WAYKEN-TSE pushed a commit to WAYKEN-TSE/Paddle that referenced this pull request Dec 6, 2024
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