pytorch/docs
yl-to 1b55e2b043 add prefetch_factor for multiprocessing prefetching process (#41130)
Summary:
fix https://github.com/pytorch/pytorch/issues/40604
Add parameter to Dataloader to configure the per-worker prefetch number.
Before this edit, the prefetch process always prefetch 2 * num_workers data items, this commit help us make this configurable, e.x. you can specify to prefetch 10 * num_workers data items.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/41130

Reviewed By: izdeby

Differential Revision: D22705288

Pulled By: albanD

fbshipit-source-id: 2c483fce409735fef1351eb5aa0b033f8e596561
2020-07-24 08:38:13 -07:00
..
caffe2 Grammar patch 1 (.md) (#41599) 2020-07-20 10:19:08 -07:00
cpp Add reference documentation for torch/library.h (#41470) 2020-07-17 10:05:16 -07:00
source add prefetch_factor for multiprocessing prefetching process (#41130) 2020-07-24 08:38:13 -07:00
.gitignore
libtorch.rst
make.bat Sphinx parallel build (#38785) 2020-05-21 13:03:55 -07:00
Makefile Restore docs coverage test via sphinx (#39331) 2020-06-04 10:49:38 -07:00
requirements.txt Get rid of javasphinx dependency. (#38042) 2020-05-07 19:52:31 -07:00