Bug in multithreaded file reading
- Dominant language
- Python
- Stars
- 14.3k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug
https://github.com/dmlc/dgl/blob/master/examples/pytorch/metapath2vec/reading_data.py#L117
Set min_count=0 and num_workers=2, and comment line 117 - 119, it will get KeyError at line 115.Set num_workers = 0 will not see this bug.
## To Reproduce
Steps to reproduce the behavior:
1.
1.
1.
## Expected behavior
## Environment
- DGL Version (e.g., 1.0):
- Backend Library & Version (e.g., PyTorch 0.4.1, MXNet/Gluon 1.3):
- OS (e.g., Linux):
- How you installed DGL (`conda`, `pip`, source):
- Build command you used (if compiling from source):
- Python version:
- CUDA/cuDNN version (if applicable):
- GPU models and configuration (e.g. V100):
- Any other relevant information:
## Additional context
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.