Skip to content

Add tests to valdiate iteration over combining DataPipe with infinite input#912

Closed
ejguan wants to merge 2 commits intometa-pytorch:mainfrom
ejguan:test_infinite_zip
Closed

Add tests to valdiate iteration over combining DataPipe with infinite input#912
ejguan wants to merge 2 commits intometa-pytorch:mainfrom
ejguan:test_infinite_zip

Conversation

@ejguan
Copy link
Contributor

@ejguan ejguan commented Dec 5, 2022

Add a few tests to validate the iterator is properly cleanup at the end of iteration, when the combining DataPipe takes input with infinite length likecycle(None)

Those tests should be timed out until pytorch/pytorch#89974 is promoted to the nightly releases.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 5, 2022
@facebook-github-bot
Copy link
Contributor

@ejguan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ejguan ejguan force-pushed the test_infinite_zip branch from c9d30e3 to 1b272c2 Compare December 6, 2022 15:58
@facebook-github-bot
Copy link
Contributor

@ejguan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ejguan ejguan requested a review from NivekT December 6, 2022 16:29
@facebook-github-bot
Copy link
Contributor

@ejguan has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@NivekT NivekT left a comment

Choose a reason for hiding this comment

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

LGTM!

@ejguan ejguan added the topic: bug fixes topic category label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: bug fixes topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants