Skip to content

Conversation

@mike9ant
Copy link
Contributor

It's been hard to understand how workers are launched and what code runs in the worker vs. main process, especially on Windows, which leads to many of our samples failing. This explains when workers run an how to make code work on Windows as well.

@mike9ant mike9ant requested review from soumith and ssnl March 15, 2019 23:26
Copy link
Collaborator

@ssnl ssnl left a comment

Choose a reason for hiding this comment

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

Thanks for the note. Although a bunch of this is about how to work with python multiprocessing, I think it is still great to have it. :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Every argument should be formatted as :attr:`xxx`

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Which arguments are you referring to - function names? What will that do? I think it looks good enough at this point :)

@mike9ant mike9ant force-pushed the dataloader_comment_update branch from eb34e4c to cf73181 Compare April 24, 2019 22:01
@ssnl
Copy link
Collaborator

ssnl commented Apr 25, 2019

@soumith I'm fine with merging this. I'm redo-ing the dataloader doc in #19228 and will incorporate this in.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@soumith is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@soumith merged this pull request in 698103c.

zhangguanheng66 pushed a commit to zhangguanheng66/pytorch that referenced this pull request May 6, 2019
… Windows. (pytorch#18091)

Summary:
It's been hard to understand how workers are launched and what code runs in the worker vs. main process, especially on Windows, which leads to many of our samples failing. This explains when workers run an how to make code work on Windows as well.
Pull Request resolved: pytorch#18091

Differential Revision: D15083766

Pulled By: soumith

fbshipit-source-id: 8a7e60defc8a72ec63874f657d7d5267d951dccf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants