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 process leak #1470

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix process leak #1470

wants to merge 3 commits into from

Conversation

anast3t
Copy link

@anast3t anast3t commented Apr 20, 2023

Possible fix for #1467.

Problem was that tqdm.auto.tqdm creates tqdm class which inherits from autonotebook AND asyncio. Asyncio has situation, where processes can be spawned uncontrollable.

Getting iter() and/or next from iterable each time spawned copy of DataLoader workers, that were not handled. They can be easelly terminated right after creation.

@anast3t anast3t requested a review from casperdcl as a code owner April 20, 2023 10:44
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

1 participant