1. 11 Apr, 2023 1 commit
  2. 10 Apr, 2023 1 commit
  3. 20 Mar, 2023 1 commit
  4. 07 Mar, 2023 1 commit
  5. 27 Feb, 2023 1 commit
  6. 22 Feb, 2023 1 commit
  7. 22 Nov, 2022 1 commit
    • Muhammed Fatih BALIN's avatar
      [Feature] (La)yer-Neigh(bor) sampling implementation (#4668) · bf264d00
      Muhammed Fatih BALIN authored
      
      
      * adding LABOR sampling
      
      * add ladies and pladies samplers
      
      * fix compile error after rebase
      
      * add reference for ladies sampler
      
      * Improve ladies implementation.
      
      * weighted labor sampling initial implementation draft
      fix indentation and small bug in ladies script
      
      * importance_sampling currently doesn't work with weights
      
      * fix weighted importance sampling
      
      * move labor example into its own folder
      
      * lint fixes
      
      * Improve documentation
      
      * remove examples from the main PR
      
      * fix linting by not using c++17 features
      
      * fix documentation of labor_sampler.py
      
      * update documentation for labor.py
      
      * reformat the labor.py file with black
      
      * fix linting errors
      
      * replace exception use with if
      
      * fix typo in error comment
      
      * fixing win64 build for ci
      
      * fixing weighted implementation, works now.
      
      * fix bug in the weighted case and importance_sampling==0
      
      * address part of the reviews
      
      * remove unused code paths from cuda
      
      * remove unused code path from cpu side
      
      * remove extra features of labor making use of random seed.
      
      * fix exclude_edges bug
      
      * remove pcg and seed logic from cpu implementation, seed logic should still work for cuda.
      
      * minor style change
      
      * refactor CPU implementation, take out the importance_sampling probability computation into a function.
      
      * improve CUDAWorkspaceAllocator
      
      * refactor importance_sampling part out to a function
      
      * minor optimization
      
      * fix linting issue
      
      * Revert "remove pcg and seed logic from cpu implementation, seed logic should still work for cuda."
      
      This reverts commit c250e07ac6d7e13f57e79e8a2c2f098d777378c2.
      
      * Revert "remove extra features of labor making use of random seed."
      
      This reverts commit 7f99034353080308f4783f27d9a08bea343fb796.
      
      * fix the documentation
      
      * disable NIDs
      
      * improve the documentation in the code
      
      * use the stream argument in pcg32 instead of skipping ahead t times, can discard the use of hashmap now since it is faster this way.
      
      * fix linting issue
      
      * address another round of reviews
      
      * further optimize CPU LABOR sampling implementation
      
      * fix linting error
      
      * update the comment
      
      * reformat
      
      * rename and rephrase comment
      
      * fix formatting according to new linting specs
      
      * fix compile error due to renaming, fix linting.
      
      * lint
      
      * rename DGLHeteroGraph to DGLGraph to match master
      
      * replace other occurrences of DGLHeteroGraph to DGLGraph
      Co-authored-by: default avatarMuhammed Fatih BALIN <m.f.balin@gmail.com>
      Co-authored-by: default avatarKaan Sancak <kaansnck@gmail.com>
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      bf264d00
  8. 07 Nov, 2022 4 commits
  9. 06 Nov, 2022 1 commit
  10. 04 Nov, 2022 2 commits
  11. 03 Nov, 2022 1 commit
  12. 29 Oct, 2022 1 commit
    • Quan (Andy) Gan's avatar
      [Sampling] Enable sampling with edge masks in sample_etype_neighbors (#4749) · 2bca4759
      Quan (Andy) Gan authored
      * sample neighbors with masks
      
      * oops
      
      * refactor again
      
      * remove
      
      * remove debug code
      
      * rename macro
      
      * address comments
      
      * more stuff
      
      * remove
      
      * fix
      
      * try fix unit test
      
      * oops
      
      * fix test
      
      * oops
      
      * change name
      
      * rename a lot of stuff
      
      * oops
      
      * ugh
      
      * misc fixes
      
      * lint
      
      * address a lot of comments
      
      * lint
      
      * lint
      
      * fix
      
      * that was silly
      
      * fix
      
      * fix
      
      * fix
      
      * oops
      2bca4759
  13. 28 Oct, 2022 1 commit
  14. 19 Oct, 2022 1 commit
  15. 21 Sep, 2022 1 commit
  16. 19 Sep, 2022 2 commits
  17. 15 Sep, 2022 1 commit
    • Xin Yao's avatar
      [Feature] Import PyTorch's CUDA stream management (#4503) · 9a00cf19
      Xin Yao authored
      * add set_stream
      
      * add .record_stream for NDArray and HeteroGraph
      
      * refactor dgl stream Python APIs
      
      * test record_stream
      
      * add unit test for record stream
      
      * use pytorch's stream
      
      * fix lint
      
      * fix cpu build
      
      * address comments
      
      * address comments
      
      * add record stream tests for dgl.graph
      
      * record frames and update dataloder
      
      * add docstring
      
      * update frame
      
      * add backend check for record_stream
      
      * remove CUDAThreadEntry::stream
      
      * record stream for newly created formats
      
      * fix bug
      
      * fix cpp test
      
      * fix None c_void_p to c_handle
      9a00cf19
  18. 06 Sep, 2022 1 commit
    • Chang Liu's avatar
      [Feature] Unify the cuda stream used in core library (#4480) · 1c9d2a03
      Chang Liu authored
      
      
      * Use an internal cuda stream for CopyDataFromTo
      
      * small fix white space
      
      * Fix to compile
      
      * Make stream optional in copydata for compile
      
      * fix lint issue
      
      * Update cub functions to use internal stream
      
      * Lint check
      
      * Update CopyTo/CopyFrom/CopyFromTo to use internal stream
      
      * Address comments
      
      * Fix backward CUDA stream
      
      * Avoid overloading CopyFromTo()
      
      * Minor comment update
      
      * Overload copydatafromto in cuda device api
      Co-authored-by: default avatarxiny <xiny@nvidia.com>
      1c9d2a03
  19. 01 Aug, 2022 1 commit
  20. 26 Jul, 2022 1 commit
  21. 23 Jun, 2022 1 commit
    • Triston's avatar
      [Fix] Fix compiler warnings - part 1 (#4051) · 1ad65879
      Triston authored
      
      
      * Fix a cub compile error for CUDA 11.5
      
      * Fix comparison of integer expressions of different signedness in coo_sort.cu file
      
      * Fix comparison of integer expressions of different signedness in cuda_compact_graph.cu file
      
      * Remove never referenced variable in spmm.cu
      
      * Fix comparison of integer expressions of different signedness in rowwise_pick.h file
      
      * Fix comparison of integer expressions of different signedness in choice.cc file
      
      * Remove never referenced variable col_data in spat_op_impl_coo.cc
      
      * Remove never referenced variable allowed in global_uniform.cc
      
      * Fix comparison of integer expressions of different signedness in graph.cc
      
      * Fix comparison of integer expressions of different signedness in graph_apis.cc
      
      * Fix the un-used ctx variable in ndarray_partition.cc file for cpu only build
      
      * Fix comparison of integer expressions of different signedness in libra_partition.cc
      
      * Fix comparison of integer expressions of different signedness in graph_op.cc
      Co-authored-by: default avatarTriston Cao <tristonc@nvidia.com>
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      1ad65879
  22. 11 Jun, 2022 1 commit
  23. 06 Jun, 2022 1 commit
  24. 16 May, 2022 1 commit
  25. 11 May, 2022 1 commit
  26. 27 Apr, 2022 1 commit
    • Rhett Ying's avatar
      [Feature] enable socket net_type for rpc (#3951) · 37be02a4
      Rhett Ying authored
      * [Feature] enable socket net_type for rpc
      
      * fix lint
      
      * fix lint
      
      * fix build issue on windows
      
      * fix test failure on windows
      
      * fix test failure
      
      * fix cpp unit test failure
      
      * net_type blocking max_try_times
      
      * fix other comments
      
      * fix lint
      
      * fix comment
      
      * fix lint
      
      * fix cpp
      37be02a4
  27. 12 Apr, 2022 1 commit
  28. 11 Apr, 2022 1 commit
  29. 09 Apr, 2022 1 commit
  30. 31 Mar, 2022 1 commit
  31. 27 Mar, 2022 1 commit
    • Cheng Wan's avatar
      [Feature] METIS Partition with Communication Volume Minimization (#3821) · fbbca994
      Cheng Wan authored
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * upd
      
      * fix OpenMP compatibility issues
      
      * typo
      
      * partition
      
      * misc
      
      * fix typo
      
      * num_parts=1
      
      * import torch
      
      * long
      
      * print info
      
      * print info
      
      * print info
      
      * upd
      
      * remove debug code
      
      * revert partition.py
      
      * fix cut count
      
      * fix cut count
      
      * Revert "fix cut count"
      
      This reverts commit 10926b4fd48f45c8f1ddb58be7db6c22e653effd.
      
      * Revert "fix cut count"
      
      This reverts commit 76465283bef093a2b4209ad70dd15d2437b2ec8a.
      
      * type of deprecate
      
      * typo in deprecate info
      
      * fix typo
      
      * use cv for partitioning
      
      * CE
      
      * no message
      
      * revert
      
      * typo
      
      * add objtype
      
      * no message
      
      * fix bug
      
      * fix bug
      
      * fix bug
      
      * ?
      
      * semicolon
      
      * drop tensors
      
      * no message
      
      * backward
      
      * backward
      
      * max op
      
      * store X.shape
      
      * th
      
      * test
      
      * Revert "test"
      
      This reverts commit 92b3b2f64a3a1128590098fa03ce429c5466e6ce.
      
      * test
      
      * tolist
      
      * debug
      
      * to cuda
      
      * tuple
      
      * fix bug
      
      * remove X
      
      * no message
      
      * fix bug
      
      * workload balance
      
      * Revert "workload balance"
      
      This reverts commit d7f8e4a16ba2a7eabb4a9bb945523bfe6623e723.
      
      * reverse
      
      * Revert "reverse"
      
      This reverts commit 8a71cf25685aa7d889b9b8881b46f7a16b7d6e6d.
      
      * Revert "Revert "reverse""
      
      This reverts commit 196b143932d5cf9813576ece7c990b63d322d063.
      
      * Revert "Revert "Revert "reverse"""
      
      This reverts commit cf9e89a07013582056e7cde235e51331aca7fa9c.
      
      * no message
      
      * Merge commit '5498cf05'
      
      # Conflicts:
      #	python/dgl/distributed/partition.py
      
      * Revert "Merge commit '5498cf05
      
      '"
      
      This reverts commit f79be2ad777897c7025b28308454cad81ad6bb27.
      
      * fix bug
      
      * third party
      
      * no message
      
      * try to avoid memory leak
      
      * try to avoid memory leak
      
      * avoid memory leak with no hope
      
      * Revert "avoid memory leak with no hope"
      
      This reverts commit c77befe9479f46758e744642f66dd209b50eef7d.
      
      * no message
      
      * Revert "no message"
      
      This reverts commit 478cb28fe25fb1002b2f1dc202bb9bdaad8b2a56.
      
      * del
      
      * Revert "del"
      
      This reverts commit 1b468e45ce646b400ff3ffa61a0b2da058b3bdfd.
      
      * no message
      
      * no message
      
      * Revert "no message"
      
      This reverts commit 92e4f5561ed42da0606618b2fff9f1ad5ed439d9.
      
      * third party
      
      * document
      
      * Update metis_partition.cc
      
      * Update metis_partition_hetero.cc
      
      * Update metis_partition_hetero.cc
      
      * Update partition.py
      
      * Update partition.py
      
      * Update partition.py
      Co-authored-by: default avataryzh119 <expye@outlook.com>
      Co-authored-by: default avatarchwan-rice <54331508+chwan-rice@users.noreply.github.com>
      Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
      Co-authored-by: default avatarDa Zheng <zhengda1936@gmail.com>
      fbbca994
  32. 24 Mar, 2022 1 commit
  33. 01 Mar, 2022 1 commit
  34. 28 Feb, 2022 1 commit
  35. 27 Feb, 2022 1 commit