1. 07 Jan, 2022 1 commit
    • Quan (Andy) Gan's avatar
      [Feature] Negative sampling (#3599) · 90f10b31
      Quan (Andy) Gan authored
      * first commit
      
      * a bunch of fixes
      
      * add unique
      
      * lint
      
      * lint
      
      * lint
      
      * address comments
      
      * Update negative_sampler.py
      
      * fix
      
      * description
      
      * address comments and fix
      
      * fix
      
      * replace unique with replace
      
      * test pylint
      
      * Update negative_sampler.py
      90f10b31
  2. 04 Jan, 2022 1 commit
  3. 20 Dec, 2021 1 commit
  4. 19 Dec, 2021 1 commit
  5. 17 Dec, 2021 1 commit
  6. 16 Dec, 2021 1 commit
  7. 15 Dec, 2021 1 commit
    • lixiaobai's avatar
      [PinSAGESampler] support PinSAGE sampler on GPU (#3567) · dd762a1e
      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
      
      * Feat: support randomwalk and SelectPinSageNeighbors on GPU
      
      Port RandomWalk algorithm on GPU,
      and port SelectPinSageNeighbors on GPU.
      
      * Feat: support GPU on python APIs
      
      * Feat: remove perf print information in FrequenchHashmap
      
      * Fix: modified the code format
      
      Modified the code format as task_lint.sh suggested
      
      * Feat: let test script support PinSAGESampler on GPU
      
      Let test script support PinSAGESampler on GPU,
      minor of "restart_prob".
      
      * Minor
      
      * Minor
      
      * Minor
      
      * Refactor: use the atomic operations from the array module
      
      * Minor: change the long lines
      
      * Refactor: modified the get_node_types for gpu
      
      * Feat: update the contributor date
      
      * Perf: remove unnecessary stream sync
      
      * Feat: support other random walk
      
      But the non-uniform choice is still not supported.
      
      * Fix: add CUDA switch for random walk
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      dd762a1e
  8. 07 Dec, 2021 1 commit
  9. 06 Dec, 2021 3 commits
  10. 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
  11. 02 Dec, 2021 1 commit
  12. 22 Nov, 2021 1 commit
  13. 21 Nov, 2021 1 commit
  14. 19 Nov, 2021 1 commit
  15. 17 Nov, 2021 1 commit
    • Rhett Ying's avatar
      [Feature] enable async transfer in NodeDataLoader for homograph (#3407) · e053df79
      Rhett Ying authored
      * [Feature] enable async transfer in NodeDataLoader for homograph
      
      * fix lint issues
      
      * fix device choose when creating stream
      
      * fix test on cpu only machine
      
      * fix pin_memory config
      
      * support homo only
      
      * avoid creating stream in each step and sync via event
      
      * fix lint
      
      * enable graph copy on non-default stream
      
      * fix lint
      
      * refine arg description
      
      * fix conflicts
      e053df79
  16. 16 Nov, 2021 1 commit
  17. 10 Nov, 2021 2 commits
    • Mufei Li's avatar
      [NN] GNNExplainer (#3490) · dfa32ae0
      Mufei Li authored
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * lint fix
      
      * lint fix
      
      * Fix lint
      
      * Update
      
      * Fix CI
      
      * Fix CI
      
      * Fix
      
      * CI
      
      * Fix
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix CI
      
      * Fix CI
      dfa32ae0
    • Rhett Ying's avatar
      [BugFix] fix in_degree/out_degree computation logic (#3477) · ea8b93f9
      Rhett Ying authored
      * [BugFix] fix in/out degree computation
      
      * add unit tests
      ea8b93f9
  18. 06 Nov, 2021 1 commit
  19. 05 Nov, 2021 1 commit
  20. 04 Nov, 2021 3 commits
  21. 03 Nov, 2021 1 commit
  22. 27 Oct, 2021 1 commit
  23. 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
  24. 14 Oct, 2021 1 commit
  25. 12 Oct, 2021 2 commits
  26. 30 Sep, 2021 1 commit
  27. 29 Sep, 2021 1 commit
  28. 28 Sep, 2021 1 commit
  29. 22 Sep, 2021 1 commit
  30. 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
  31. 17 Sep, 2021 1 commit
  32. 16 Sep, 2021 1 commit
  33. 14 Sep, 2021 1 commit
  34. 10 Sep, 2021 1 commit