Remove handling workers waiting to put in dataloader.__del__#7140
Remove handling workers waiting to put in dataloader.__del__#7140ssnl wants to merge 2 commits intopytorch:masterfrom
Conversation
torch/utils/data/dataloader.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/utils/data/dataloader.py
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
c516864 to
b28c549
Compare
ssnl
left a comment
There was a problem hiding this comment.
This seems to leave zombie process alive in py2 (see CI). I'll figure it out.
|
@pytorchbot retest this please |
|
@pytorchbot retest this please |
|
@pytorchbot retest this please |
|
@pytorchbot retest this please |
3 similar comments
|
@pytorchbot retest this please |
|
@pytorchbot retest this please |
|
@pytorchbot retest this please |
|
will reopen later after figuring out the mp issues |
Summary: second trial of pytorch#7140 cc csarofeen Let's see if this works. It passes everything locally. Pull Request resolved: pytorch#9655 Differential Revision: D8940177 Pulled By: SsnL fbshipit-source-id: 8d6340fc9f7355c71e1e26b262da166402faa158
Summary: second trial of pytorch#7140 cc csarofeen Let's see if this works. It passes everything locally. Pull Request resolved: pytorch#9655 Differential Revision: D8940177 Pulled By: SsnL fbshipit-source-id: 8d6340fc9f7355c71e1e26b262da166402faa158
Now that each worker has its own queue, each worker has at most 2 batches, which should be far below SimpleQueue's limit.
Also fixes #6932