Skip to content

[DataPipe] clearing buffer for DataPipes during __del__#76345

Closed
NivekT wants to merge 1 commit intogh/nivekt/50/basefrom
gh/nivekt/50/head
Closed

[DataPipe] clearing buffer for DataPipes during __del__#76345
NivekT wants to merge 1 commit intogh/nivekt/50/basefrom
gh/nivekt/50/head

Conversation

@NivekT
Copy link
Contributor

@NivekT NivekT commented Apr 25, 2022

Stack from ghstack:

Fixes meta-pytorch/data#370

Edit: I checked the DataPipes in TorchData. The only one that uses a buffer is UnZipper but it is inherited from Forker. Therefore, that buffer will be cleared by the change in this PR as well.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 25, 2022

🔗 Helpful links

💊 CI failures summary and remediations

As of commit 25cf3e9 (more details on the Dr. CI page):

Expand to see more

💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

NivekT added a commit that referenced this pull request Apr 25, 2022
@NivekT NivekT requested a review from ejguan April 25, 2022 22:26
@NivekT NivekT added module: data torch.utils.data release notes: dataloader release notes category topic: improvements topic category labels Apr 25, 2022
Copy link
Contributor

@ejguan ejguan left a comment

Choose a reason for hiding this comment

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

Thank you. LGTM

@NivekT
Copy link
Contributor Author

NivekT commented Apr 26, 2022

@pytorchbot merge this please

facebook-github-bot pushed a commit that referenced this pull request Apr 26, 2022
Summary:
Pull Request resolved: #76345

Approved by: https://github.com/ejguan

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/ccd7233fdd4322723ec4bf8446ff853f14d384da

Reviewed By: osalpekar

Differential Revision: D35938177

Pulled By: NivekT

fbshipit-source-id: 9c19f9a5069d9be98fcc6902f9cef45f81ed697c
@facebook-github-bot facebook-github-bot deleted the gh/nivekt/50/head branch April 30, 2022 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed module: data torch.utils.data release notes: dataloader release notes category topic: improvements topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants