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

[DistGB] dgl_partition_to_graphbolt() crashed #7815

Open
Rhett-Ying opened this issue Oct 5, 2024 · 2 comments
Open

[DistGB] dgl_partition_to_graphbolt() crashed #7815

Rhett-Ying opened this issue Oct 5, 2024 · 2 comments
Assignees

Comments

@Rhett-Ying
Copy link
Collaborator

🐛 Bug

To Reproduce

Steps to reproduce the behavior:

dgl.distributed.dgl_partition_to_graphbolt(
            part_config,
            store_eids=True,
            graph_formats="coo",
        )
2024-10-03 23:23:24,190 INFO Converting partitions to GraphBolt format
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/graphstorm/python/graphstorm/gpartition/convert_to_graphbolt.py", line 72, in <module>
    main()
  File "/graphstorm/python/graphstorm/gpartition/convert_to_graphbolt.py", line 62, in main
    dgl_distributed.dgl_partition_to_graphbolt(
  File "/opt/gs-venv/lib/python3.10/site-packages/dgl/distributed/partition.py", line 1991, in dgl_partition_to_graphbolt
    part_meta = _convert_partition_to_graphbolt_wrapper(
  File "/opt/gs-venv/lib/python3.10/site-packages/dgl/distributed/partition.py", line 1926, in _convert_partition_to_graphbolt_wrapper
    rel_path = convert_with_format(part_id=part_id)
  File "/opt/gs-venv/lib/python3.10/site-packages/dgl/distributed/partition.py", line 1862, in gb_convert_single_dgl_partition
    part = _load_part(part_config, part_id)
  File "/opt/gs-venv/lib/python3.10/site-packages/dgl/distributed/partition.py", line 1581, in _load_part
    graph, _, _, _, _, _, _ = load_partition(
  File "/opt/gs-venv/lib/python3.10/site-packages/dgl/distributed/partition.py", line 342, in load_partition
    part_graph_field in part_files
AssertionError: the partition does not contain graph structure: part_graph

Expected behavior

Environment

  • DGL Version (e.g., 1.0): latest nightly build
  • 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

@Rhett-Ying
Copy link
Collaborator Author

This issue can be reproduces by running python -m pytest tests/distributes/test_mp_dataloader.py

Copy link

github-actions bot commented Nov 7, 2024

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

2 participants