1. 15 Dec, 2021 1 commit
    • Vasimuddin Md's avatar
      [DistGNN, Graph partitioning] Libra partition (#3376) · 78e0dae6
      Vasimuddin Md authored
      
      
      * added distgnn plus libra codebase
      
      * Dist application codes
      
      * added comments in partition code. changed the interface of partitioning call.
      
      * updated readme
      
      * create libra partitioning branch for the PR
      
      * removed disgnn files for first PR
      
      * updated kernel.cc
      
      * added libra_partition.cc and moved libra code from kernel.cc to libra_partition.cc
      
      * fixed lint error; merged libra2dgl.py and main_Libra.py to libra_partition.py; added graphsage/distgnn folder and partition script.
      
      * removed libra2dgl.py
      
      * fixed the lint error and cleaned the code.
      
      * revisions due to PR comments. added distgnn/tools contains partitions routines
      
      * update 2 PR revision I
      
      * fixed errors; also improved the runtime by 10x.
      
      * fixed minor lint error
      
      * fixed some more lints
      
      * PR revision II changed the interface of libra partition function
      
      * rewrite docstring
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      78e0dae6
  2. 08 Dec, 2021 1 commit
  3. 06 Dec, 2021 2 commits
    • Jinjing Zhou's avatar
      [RPC] Use tensorpipe for rpc communication (#3335) · a3ce780d
      Jinjing Zhou authored
      * doesn't know whether works
      
      * add change
      
      * fix
      
      * fix
      
      * fix
      
      * remove
      
      * revert
      
      * lint
      
      * lint
      
      * fix
      
      * revert
      
      * lint
      
      * fix
      
      * only build rpc on linux
      
      * lint
      
      * lint
      
      * fix build on windows
      
      * fix windows
      
      * remove old test
      
      * fix cmake
      
      * Revert "remove old test"
      
      This reverts commit f1ea75c777c34cdc1f08c0589676ba6aee1feb29.
      
      * fix windows
      
      * fix
      
      * fix
      
      * fix indent
      
      * fix indent
      
      * address comment
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * lint
      
      * fix indent
      
      * fix lint
      
      * add introduction
      
      * fix
      
      * lint
      
      * lint
      
      * add more logs
      
      * fix
      
      * update xbyak for C++14 with gcc5
      
      * Remove channels
      
      * fix
      
      * add test script
      
      * fix
      
      * remove unused file
      
      * fix lint
      
      * add timeout
      a3ce780d
    • Quan (Andy) Gan's avatar
      [Distributed] Edge-type-specific fanouts for heterogeneous graphs (#3558) · eb08ef38
      Quan (Andy) Gan authored
      * first commit
      
      * second commit
      
      * spaghetti unit tests
      
      * rewrite test
      eb08ef38
  4. 03 Dec, 2021 1 commit
    • Israt Nisa's avatar
      [Feature] Add Min/max reducer in heterogeneous API for unary message functions (#3514) · cb0e1103
      Israt Nisa authored
      
      
      * min/max support for forward CPU heterograph
      
      * Added etype with each argU values
      
      * scatter_add needs fix
      
      * added scatter_add_hetero. Grads dont match for max reducer
      
      * storing ntype in argX
      
      * fixing scatter_add_hetero
      
      * hetero matches with torch's scatter add
      
      * works copy_e forward+cpu
      
      * added backward for copy_rhs
      
      * Computes gradient for all node types in one kernel
      
      * bug fix
      
      * unnitest for max/min on CPU
      
      * renamed scatter_add_hetero to update_grad_minmax_hetero
      
      * lint check and comment out cuda call for max. Code is for CPU only
      
      * lint check
      
      * replace inf with zero
      
      * minor
      
      * lint check
      
      * removed LIBXSMM code from hetro code
      
      * fixing backward operator of UpdateGradMinMaxHetero
      
      * removed backward from update_grad_minmax_hetero
      
      * docstring
      
      * improved docstring and coding style
      
      * Added pass by pointer for output
      
      * typos and pass by references
      
      * Support for copy_rhs
      
      * Added header <string>
      
      * fix bug in copy_u_max
      
      * Added comments and dimension check of all etypes
      
      * skip mxnet check
      
      * pass by pointer output arrays
      
      * updated docstring
      Co-authored-by: default avatarIsrat Nisa <nisisrat@amazon.com>
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      cb0e1103
  5. 30 Nov, 2021 1 commit
  6. 29 Nov, 2021 1 commit
    • lixiaobai's avatar
      [PinSAGE samper] Adjust the APIs for PinSAGESamper (#3529) · 44f0b5fe
      lixiaobai authored
      
      
      * Feat: support API "randomwalk_topk" in library
      
      * Feat: use the new API "randomwalk_topk" for PinSAGESampler
      
      * Minor
      
      * Minor
      
      * Refactor: modified codes as checker required
      
      * Minor
      
      * Minor
      
      * Minor
      
      * Minor
      
      * Fix: checking errors in RandomWalkTopk
      
      * Refactor: modified the docstring for randomwalk_topk
      
      * change randomwalk_topk to internal
      
      * fix
      
      * rename
      
      * Minor for pinsage.py
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      44f0b5fe
  7. 17 Nov, 2021 1 commit
  8. 15 Nov, 2021 1 commit
  9. 10 Nov, 2021 1 commit
  10. 06 Nov, 2021 1 commit
  11. 04 Nov, 2021 2 commits
  12. 03 Nov, 2021 1 commit
  13. 21 Oct, 2021 1 commit
    • Xin Yao's avatar
      [Sampling] Implement dgl.compact_graphs() for the GPU (#3423) · a8c81018
      Xin Yao authored
      * gpu compact graph template
      
      * cuda compact graph draft
      
      * fix typo
      
      * compact graphs
      
      * pass unit test but fail in training
      
      * example using EdgeDataLoader on the GPU
      
      * refactor cuda_compact_graph and cuda_to_block
      
      * update training scripts
      
      * fix linting
      
      * fix linting
      
      * fix exclude_edges for the GPU
      
      * add --data-cpu & fix copyright
      a8c81018
  14. 18 Oct, 2021 2 commits
  15. 15 Oct, 2021 1 commit
  16. 14 Oct, 2021 1 commit
    • zexi yuan's avatar
      [Bugfix] three bugs related to using DGL as a subdirectory(third_party) of another project. (#3379) · 18863069
      zexi yuan authored
      * [Bugfix] fix a compile error for Debug-BuildType on Windows Platform
      
      When using CMakeLists.txt to build the "Debug" BuildType on the Windows Platform, it has three compile errors (C4716) in the file "dgl\src\runtime\shared_mem.cc":
      
      'dgl::runtime::SharedMemory::CreateNew': must return a value
      'dgl::runtime::SharedMemory::Open': must return a value
      'dgl::runtime::SharedMemory::Exist': must return a value
      
      * [Bugfix] cmake error "cannot find load file" when DGL as a sub_directory on Linux
      
      When using DGL as a subdirectory in a CMake Project, the "CMAKE_SOURCE_DIR" here will return the parent cmake scope dir, which is not a expected dir.
      Maybe it is better to use "CMAKE_CURRENT_SOURCE_DIR" to set "GKLIB_PATH".
      
      * [Bugfix] cmd cmake error when DGL as a subdirectory
      
      When DGL as a subdirectory of another project, the WORKING_DIRECTORY of "add_custom_command" will be incorrect at the line 255 of "CMakeLists.txt", such that making a cmake "setlocal" error.
      18863069
  17. 12 Oct, 2021 1 commit
  18. 29 Sep, 2021 1 commit
  19. 28 Sep, 2021 1 commit
  20. 22 Sep, 2021 1 commit
  21. 21 Sep, 2021 1 commit
    • mszarma's avatar
      [Feature] Exclude edges in sample_neighbors (#2971) · bc14829f
      mszarma authored
      
      
      * [Feature] Exclude edges in sample_neighbors
      
      Extending sample_neighbors and sample_frontier
      API to support exclude_edges parameter.
      
      exclude_edges support tensor and dict data
      Feature enable excluding certain edges
      during neighborhood sampling
      Exclude_edges contains EID's of edges
      which will be excluded
      during neighbor picking for seed nodes.
      
      Added test case for heterograph and homograph
      RFC issue id: 2944
      
      * compatibility
      
      * fix
      
      * fix
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      bc14829f
  22. 17 Sep, 2021 1 commit
  23. 16 Sep, 2021 1 commit
  24. 14 Sep, 2021 1 commit
  25. 13 Sep, 2021 2 commits
  26. 10 Sep, 2021 1 commit
  27. 07 Sep, 2021 1 commit
  28. 06 Sep, 2021 1 commit
  29. 02 Sep, 2021 1 commit
  30. 01 Sep, 2021 2 commits
  31. 31 Aug, 2021 1 commit
  32. 24 Aug, 2021 1 commit
  33. 20 Aug, 2021 1 commit
    • nv-dlasalle's avatar
      [Feature][DistDGL] Add NCCL support for range based partitions (#3213) · 7f927939
      nv-dlasalle authored
      * Implement range based NDArrayPartition
      
      * Finish implement range based partition support
      
      * Add unit test
      
      * Fix whitepace
      
      * Add Kernel suffix
      
      * Fix argument passing
      
      * Add doxygen docs and improve variable naming
      
      * Add unit test
      
      * Add function for converting a partition book
      
      * Add example to partition_op docs
      
      * Fix dtype conversion for mxnet and tensorflow
      7f927939
  34. 19 Aug, 2021 1 commit
  35. 18 Aug, 2021 1 commit