1. 30 Mar, 2021 1 commit
  2. 25 Jan, 2021 1 commit
    • Da Zheng's avatar
      [Distributed] Heterogeneous graph support (#2457) · 25ac3344
      Da Zheng authored
      
      
      * Distributed heterograph (#3)
      
      * heterogeneous graph partition.
      
      * fix graph partition book for heterograph.
      
      * load heterograph partitions.
      
      * update DistGraphServer to support heterograph.
      
      * make DistGraph runnable for heterograph.
      
      * partition a graph and store parts with homogeneous graph structure.
      
      * update DistGraph server&client to use homogeneous graph.
      
      * shuffle node Ids based on node types.
      
      * load mag in heterograph.
      
      * fix per-node-type mapping.
      
      * balance node types.
      
      * fix for homogeneous graph
      
      * store etype for now.
      
      * fix data name.
      
      * fix a bug in example.
      
      * add profiler in rgcn.
      
      * heterogeneous RGCN.
      
      * map homogeneous node ids to hetero node ids.
      
      * fix graph partition book.
      
      * fix DistGraph.
      
      * shuffle eids.
      
      * verify eids and their mappings when loading a partition.
      
      * Id map from homogneous Ids to per-type Ids.
      
      * verify partitioned results.
      
      * add test for distributed sampler.
      
      * add mapping from per-type Ids to homogeneous Ids.
      
      * update example.
      
      * fix DistGraph.
      
      * Revert "add profiler in rgcn."
      
      This reverts commit 36daaed8b660933dac8f61a39faec3da2467d676.
      
      * add tests for homogeneous graphs.
      
      * fix a bug.
      
      * fix test.
      
      * fix for one partition.
      
      * fix for standalone training and evaluation.
      
      * small fix.
      
      * fix two bugs.
      
      * initialize projection matrix.
      
      * small fix on RGCN.
      
      * Fix rgcn performance (#17)
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-62-171.ec2.internal>
      
      * fix lint.
      
      * fix lint.
      
      * fix lint.
      
      * fix lint.
      
      * fix lint.
      
      * fix lint.
      
      * fix.
      
      * fix test.
      
      * fix lint.
      
      * test partitions.
      
      * remove redundant test for partitioning.
      
      * remove commented code.
      
      * fix partition.
      
      * fix tests.
      
      * fix RGCN.
      
      * fix test.
      
      * fix test.
      
      * fix test.
      
      * fix.
      
      * fix a bug.
      
      * update dmlc-core.
      
      * fix.
      
      * fix rgcn.
      
      * update readme.
      
      * add comments.
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-2-202.us-west-1.compute.internal>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-9-132.us-west-1.compute.internal>
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-62-171.ec2.internal>
      
      * fix.
      
      * fix.
      
      * add div_int.
      
      * fix.
      
      * fix.
      
      * fix lint.
      
      * fix.
      
      * fix.
      
      * fix.
      
      * adjust.
      
      * move code.
      
      * handle heterograph.
      
      * return pytorch tensor in GPB.
      
      * remove some tests in example.
      
      * add to_block for distributed training.
      
      * use distributed to_block.
      
      * remove unnecessary function in DistGraph.
      
      * remove distributed to_block.
      
      * use pytorch tensor.
      
      * fix a bug in ntypes and etypes.
      
      * enable norm.
      
      * make the data loader compatible with the old format.
      
      * fix.
      
      * add comments.
      
      * fix a bug.
      
      * add test for heterograph.
      
      * support partition without reshuffle.
      
      * add test.
      
      * support partition without reshuffle.
      
      * fix.
      
      * add test.
      
      * fix bugs.
      
      * fix lint.
      
      * fix dataset.
      
      * fix for mxnet.
      
      * update docstring.
      
      * rename to floor_div
      
      * avoid exposing NodePartitionPolicy and EdgePartitionPolicy.
      
      * fix docstring.
      
      * fix error.
      
      * fixes.
      
      * fix comments.
      
      * rename.
      
      * rename.
      
      * explain IdMap.
      
      * fix docstring.
      
      * fix docstring.
      
      * update docstring.
      
      * remove the code of returning heterograph.
      
      * remove argument.
      
      * fix example.
      
      * make GraphPartitionBook an abstract class.
      
      * fix.
      
      * fix.
      
      * fix a bug.
      
      * fix a bug in example
      
      * fix a bug
      
      * reverse heterograph sampling.
      
      * temp fix.
      
      * fix lint.
      
      * Revert "temp fix."
      
      This reverts commit c450717b9f578b8c48769c675f2a19d6c1e64381.
      
      * compute norm.
      
      * Revert "reverse heterograph sampling."
      
      This reverts commit bd6deb7f52998de76508f800441ff518e2fadcb9.
      
      * fix.
      
      * move id_map.py
      
      * remove check
      
      * add more comments.
      
      * update docstring.
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-2-202.us-west-1.compute.internal>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-9-132.us-west-1.compute.internal>
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-62-171.ec2.internal>
      25ac3344
  3. 18 Aug, 2020 1 commit
  4. 17 Aug, 2020 1 commit
    • Mufei Li's avatar
      [Doc/Feature] Refactor, doc update and behavior fix for graphs (#1983) · be444e52
      Mufei Li authored
      
      
      * Update graph
      
      * Fix for dgl.graph
      
      * from_scipy
      
      * Replace canonical_etypes with relations
      
      * from_networkx
      
      * Update for hetero_from_relations
      
      * Roll back the change of canonical_etypes to relations
      
      * heterograph
      
      * bipartite
      
      * Update doc
      
      * Fix lint
      
      * Fix lint
      
      * Fix test cases
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix test
      
      * Fix
      
      * Update
      
      * Use DGLError
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * rewrite sanity checks
      
      * delete unnecessary checks
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      
      * Fix
      
      * Update
      
      * Fix
      
      * Update
      
      * Fix
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      be444e52
  5. 14 Aug, 2020 2 commits
  6. 12 Aug, 2020 1 commit
    • Da Zheng's avatar
      [Distributed] adjust various APIs. (#1993) · d1cf5c38
      Da Zheng authored
      * rename get_data_size.
      
      * remove g from DistTensor.
      
      * remove g from DistEmbedding.
      
      * clean up API of graph partition book.
      
      * fix DistGraph
      
      * fix lint.
      
      * collect all part policies.
      
      * fix.
      
      * fix.
      
      * support distributed sampler.
      
      * remove partition.py
      d1cf5c38
  7. 11 Aug, 2020 1 commit
    • Chao Ma's avatar
      [Distributed] Remove server_count from ip_config.txt (#1985) · d340ea3a
      Chao Ma authored
      
      
      * remove server_count from ip_config.txt
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * lint
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * Update dist_context.py
      
      * fix lint.
      
      * make it work for multiple spaces.
      
      * update ip_config.txt.
      
      * fix examples.
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * udpate
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      Co-authored-by: default avatarDa Zheng <zhengda1936@gmail.com>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-19-1.us-west-2.compute.internal>
      d340ea3a
  8. 10 Aug, 2020 2 commits
  9. 08 Aug, 2020 2 commits
    • Da Zheng's avatar
      [Distributed] Add roles (#1971) · 5454471f
      Da Zheng authored
      * distinguish roles.
      
      * add comments.
      
      * fix lint.
      
      * move roles to server_state.
      
      * fix text.
      
      * fix tests.
      
      * fix tests.
      
      * Revert "fix tests."
      
      This reverts commit 5baa136b872a4550d4e612bfb1dfe363d7814adf.
      5454471f
    • Da Zheng's avatar
      [Distributed] Fix dataloader (#1970) · bab32d5b
      Da Zheng authored
      * fix dataloader.
      
      * initialize iterator of DistDataloader correctly.
      
      * update test.
      bab32d5b
  10. 05 Aug, 2020 1 commit
    • Jinjing Zhou's avatar
      [Distributed] DistDataloader (#1901) · 4f499c7f
      Jinjing Zhou authored
      
      
      * 111
      
      * 111
      
      * fix
      
      * 111
      
      * fix
      
      * 11
      
      * fix
      
      * lint
      
      * Update __init__.py
      
      * lint
      
      * fix
      
      * lint
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * try fix
      
      * try fix
      
      * fix
      
      * Revert "fix"
      
      This reverts commit a0b954fd4e99b7df92b53db8334dcb583d6e1551.
      
      * fixes.
      
      * fix.
      
      * fix test.
      
      * fix exit.
      
      * fix.
      
      * fix
      
      * fix
      
      * lint
      
      * lint
      
      * lint
      
      * fix
      
      * Update .gitignore
      
      * 111
      
      * fix
      
      * 111
      
      * 111
      
      * fff
      
      * 1111
      
      * 111
      
      * 1325315
      
      * ffff
      
      * f???
      
      * fff
      
      * 1111
      
      * 111
      
      * fix
      
      * 111
      
      * asda
      
      * 1111
      
      * 11
      
      * 123
      
      * 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊
      
      * spawn
      
      * 1231231
      
      * up
      
      * 111
      
      * fix
      
      * fix
      
      * Revert "fix"
      
      This reverts commit 7373f95312fdcaa36d2fc330bf242339e89c045d.
      
      * fix
      
      * fix
      
      * 1111
      
      * fix
      
      * fix tests
      
      * start kvclient as early as possible.
      
      * lint
      
      * fix test
      
      * lint
      
      * 1111
      
      * fix
      
      * fix
      
      * 111
      
      * fix
      
      * fix
      
      * 1
      
      * fix
      
      * fix
      
      * lint
      
      * fix
      
      * lint
      
      * lint
      
      * remove quit
      
      * fix
      
      * lint
      
      * fix
      
      * fix several
      
      * lint
      
      * fix minor
      
      * fix
      
      * lint
      Co-authored-by: default avatarDa Zheng <zhengda1936@gmail.com>
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      4f499c7f
  11. 03 Aug, 2020 1 commit
    • Da Zheng's avatar
      [Distributed] Support multiple servers (#1886) · a4c931a9
      Da Zheng authored
      
      
      * client init graph on the backup servers.
      
      * fix.
      
      * test multi-server.
      
      * fix anonymous dist tensors.
      
      * check #parts.
      
      * fix init_data
      
      * add multi-server multi-client tests.
      
      * update tests in kvstore.
      
      * fix.
      
      * verify the loaded partition.
      
      * fix a bug.
      
      * fix lint.
      
      * fix.
      
      * fix example.
      
      * fix rpc.
      
      * fix pull/push handler for backup kvstore
      
      * fix example readme.
      
      * change ip.
      
      * update docstring.
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-19-1.us-west-2.compute.internal>
      a4c931a9
  12. 01 Aug, 2020 1 commit
  13. 31 Jul, 2020 2 commits
  14. 30 Jul, 2020 1 commit
    • Chao Ma's avatar
      [KVStore] Support group barrier (#1880) · 5b515cf6
      Chao Ma authored
      
      
      * udpate
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix lint
      
      * update
      
      * update
      
      * update
      
      * update
      
      * udpate
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      Co-authored-by: default avatarDa Zheng <zhengda1936@gmail.com>
      5b515cf6
  15. 29 Jul, 2020 1 commit
  16. 28 Jul, 2020 2 commits
  17. 27 Jul, 2020 2 commits
  18. 26 Jul, 2020 1 commit
  19. 22 Jul, 2020 2 commits
  20. 20 Jul, 2020 2 commits
  21. 15 Jul, 2020 1 commit
  22. 14 Jul, 2020 1 commit
  23. 08 Jul, 2020 1 commit
  24. 07 Jul, 2020 1 commit
  25. 06 Jul, 2020 1 commit
  26. 03 Jul, 2020 2 commits
    • Da Zheng's avatar
      [Feature] add sparse embedding. (#1497) · cadcc1c2
      Da Zheng authored
      * add sparse embedding.
      
      * fix
      
      * add test.
      
      * man fixes.
      
      * many fixes
      
      * fix sparse emb.
      
      * fix.
      
      * fix lint.
      
      * fix lint.
      
      * fix kvstore.
      
      * expose DistTensor.
      
      * test sparse embeddings.
      
      * add attach_grad to the backends.
      
      * remove part_id
      
      * fix.
      
      * move backward computation.
      
      * move more computation to backend.
      
      * fix a bug when applying learning rate.
      
      * fix a few things.
      
      * fix a few things.
      
      * add docstring
      
      * fix.
      
      * apply no_grad.
      
      * fix tests.
      
      * fix for other frameworks.
      
      * add examples in docstring.
      cadcc1c2
    • Da Zheng's avatar
      [Test] Fix test of distributed graph (#1748) · 17701174
      Da Zheng authored
      * Revert "Serialize server and client start for dist_graph_store test (#1736)"
      
      This reverts commit da16ebf0.
      
      * sleep
      17701174
  27. 02 Jul, 2020 2 commits
  28. 01 Jul, 2020 1 commit
  29. 29 Jun, 2020 1 commit
  30. 27 Jun, 2020 1 commit