Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in multithreaded file reading #7810

Open
WWWWMMM opened this issue Sep 27, 2024 · 2 comments
Open

Bug in multithreaded file reading #7810

WWWWMMM opened this issue Sep 27, 2024 · 2 comments

Comments

@WWWWMMM
Copy link

WWWWMMM commented Sep 27, 2024

🐛 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:

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

@TristonC TristonC assigned TristonC and unassigned TristonC Sep 30, 2024
@jermainewang
Copy link
Member

It's a pretty old examples that are not being actively maintained (and likely won't be too). Are you using the latest DGL when getting this error? Maybe downgrade to older version could resolve the problem.

Copy link

This issue has been automatically marked as stale due to lack of activity. It will be closed if no further activity occurs. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants