openfl
openfl copied to clipboard
Fix tutorials on Windows
- PyTorch DataLoader's
num_workersusage is removed due to Windows errors/slowness withnum_workers > 0. Closes #549.
The merge of this PR may also fix the MemoryError on Windows.
LGTM, but could we add this to the documentation that
num_workers>0can be used on ubuntu so that users have that option?
@mansishr I like the idea of documenting the ability to speed up the data loading but the num_workers issue is not related to OpenFL. It appears even in non-federated usage of DataLoader. Users always have the option of setting the num_workers because torch.utils.data.DataLoader class accepts it. Why do we need to tell users how to use PyTorch?