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

dataloader is lagging strangly when num_workers>0 #17

Open
smallbox120 opened this issue Mar 12, 2021 · 0 comments
Open

dataloader is lagging strangly when num_workers>0 #17

smallbox120 opened this issue Mar 12, 2021 · 0 comments

Comments

@smallbox120
Copy link

smallbox120 commented Mar 12, 2021

I ran the code with dataloader num_workers=4, the training process seems to be lagging due to the dataloader because num_workers=4 causes the GPU to progress 4 batches at a time, with massive waiting time in between. What could possiblly be the reason behind this strange phenomenon? Many Thanks for any hint that might help!

@smallbox120 smallbox120 changed the title dataloader slow dataloader is lagging strangly when num_workers>0 Mar 12, 2021
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

No branches or pull requests

1 participant