1. 23 Feb, 2022 1 commit
    • Minjie Wang's avatar
      [NN] Rework RelGraphConv and HGTConv (#3742) · 0227ddfb
      Minjie Wang authored
      * WIP: TypedLinear and new RelGraphConv
      
      * wip
      
      * further simplify RGCN
      
      * a bunch of tweak for performance; add basic cpu support
      
      * update on segmm
      
      * wip: segment.cu
      
      * new backward kernel works
      
      * fix a bunch of bugs in kernel; leave idx_a for future
      
      * add nn test for typed_linear
      
      * rgcn nn test
      
      * bugfix in corner case; update RGCN README
      
      * doc
      
      * fix cpp lint
      
      * fix lint
      
      * fix ut
      
      * wip: hgtconv; presorted flag for rgcn
      
      * hgt code and ut; WIP: some fix on reorder graph
      
      * better typed linear init
      
      * fix ut
      
      * fix lint; add docstring
      0227ddfb
  2. 17 Feb, 2022 5 commits
  3. 15 Feb, 2022 1 commit
    • Israt Nisa's avatar
      [Feature] Gather mm (#3641) · b3d3a2c4
      Israt Nisa authored
      
      
      * init
      
      * init
      
      * working cublasGemm
      
      * benchmark high-mem/low-mem, err gather_mm output
      
      * cuda kernel for bmm like kernel
      
      * removed cpu copy for E_per_Rel
      
      * benchmark code from Minjie
      
      * fixed cublas results in gathermm sorted
      
      * use GPU shared mem in unsorted gather mm
      
      * minor
      
      * Added an optimal version of gather_mm_unsorted
      
      * lint
      
      * init gather_mm_scatter
      
      * cublas transpose added
      
      * fixed h_offset for multiple rel
      
      * backward unittest
      
      * cublas support to transpose W
      
      * adding missed file
      
      * forgot to add header file
      
      * lint
      
      * lint
      
      * cleanup
      
      * lint
      
      * docstring
      
      * lint
      
      * added unittest
      
      * lint
      
      * lint
      
      * unittest
      
      * changed err type
      
      * skip cpu test
      
      * skip CPU code
      
      * move in-len loop inside
      
      * lint
      
      * added check different dim length for B
      
      * w_per_len is optional now
      
      * moved gather_mm to pytorch/backend with backward support
      
      * removed a_/b_trans support
      
      * transpose op inside GEMM call
      
      * removed out alloc from API, changed W 2D to 3D
      
      * Added se_gather_mm, Separate API for sortedE
      
      * Fixed gather_mm (unsorted) user interface
      
      * unsorted gmm backward + separate CAPI for un/sorted A
      
      * typecast to float to support atomicAdd
      
      * lint typecast
      
      * lint
      
      * added gather_mm_scatter
      
      * minor
      
      * const
      
      * design changes
      
      * Added idx_a, idx_b support gmm_scatter
      
      * dgl doc
      
      * lint
      
      * adding gather_mm in ops
      
      * lint
      
      * lint
      
      * minor
      
      * removed benchmark files
      
      * minor
      
      * empty commit
      Co-authored-by: default avatarIsrat Nisa <nisisrat@amazon.com>
      b3d3a2c4
  4. 14 Feb, 2022 1 commit
  5. 11 Feb, 2022 1 commit
  6. 09 Feb, 2022 2 commits
    • Rhett Ying's avatar
      [Feature] Launch Long Live Servers and Multiple Client Groups (#3688) · fcd8ed9a
      Rhett Ying authored
      * enable to launch multiple client groups sequentially
      
      * launch simultaneously is enabled
      
      * refine docstring
      
      * revert unnecessary change
      
      * [DOC] add doc for long live server
      
      * refine
      
      * refine doc
      
      * refine doc
      fcd8ed9a
    • Xin Yao's avatar
      [Feature] CUDA UVA sampling for MultiLayerNeighborSampler (#3674) · 738e8318
      Xin Yao authored
      
      
      * implement pin_memory/unpin_memory/is_pinned for dgl.graph
      
      * update python docstring
      
      * update c++ docstring
      
      * add test
      
      * fix the broken UnifiedTensor
      
      * XPU_SWITCH for kDLCPUPinned
      
      * a rough version ready for testing
      
      * eliminate extra context parameter for pin/unpin
      
      * update train_sampling
      
      * fix linting
      
      * fix typo
      
      * multi-gpu uva sampling case
      
      * disable new format materialization for pinned graphs
      
      * update python doc for pin_memory_
      
      * fix unit test
      
      * UVA sampling for link prediction
      
      * dispatch most csr ops
      
      * update graphsage example to combine uva sampling and UnifiedTensor
      
      * update graphsage example to combine uva sampling and UnifiedTensor
      
      * update graphsage example to combine uva sampling and UnifiedTensor
      
      * update doc
      
      * update examples
      
      * change unitgraph and heterograph's PinMemory to in-place
      
      * update examples for multi-gpu uva sampling
      
      * update doc
      
      * fix linting
      
      * fix cpu build
      
      * fix is_pinned for DistGraph
      
      * fix is_pinned for DistGraph
      
      * update graphsage unsupervised example
      
      * update doc for gpu sampling
      
      * update some check for sampling device switching
      
      * fix linting
      
      * adapt for new dataloader
      
      * fix linting
      
      * fix
      
      * fix some name issue
      
      * adjust device check
      
      * add unit test for uva sampling & fix some zero_copy bug
      
      * fix linting
      
      * update num_threads in graphsage examples
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
      738e8318
  7. 30 Jan, 2022 2 commits
    • Quan (Andy) Gan's avatar
      [Sampling] New sampling pipeline plus asynchronous prefetching (#3665) · 701b4fcc
      Quan (Andy) Gan authored
      * initial update
      
      * more
      
      * more
      
      * multi-gpu example
      
      * cluster gcn, finalize homogeneous
      
      * more explanation
      
      * fix
      
      * bunch of fixes
      
      * fix
      
      * RGAT example and more fixes
      
      * shadow-gnn sampler and some changes in unit test
      
      * fix
      
      * wth
      
      * more fixes
      
      * remove shadow+node/edge dataloader tests for possible ux changes
      
      * lints
      
      * add legacy dataloading import just in case
      
      * fix
      
      * update pylint for f-strings
      
      * fix
      
      * lint
      
      * lint
      
      * lint again
      
      * cherry-picking commit fa9f494
      
      * oops
      
      * fix
      
      * add sample_neighbors in dist_graph
      
      * fix
      
      * lint
      
      * fix
      
      * fix
      
      * fix
      
      * fix tutorial
      
      * fix
      
      * fix
      
      * fix
      
      * fix warning
      
      * remove debug
      
      * add get_foo_storage apis
      
      * lint
      701b4fcc
    • Minjie Wang's avatar
      [Data] Utility function and class for converting a dataset for node prediction (#3695) · 5152a879
      Minjie Wang authored
      * add ut
      
      * add doc link
      
      * install dep
      
      * fix  ci
      
      * fix ut; more comments
      
      * remove deprecated attributes in rdf datasets; fix label feature name
      
      * address comments
      
      * fix ut for other frameworks
      5152a879
  8. 26 Jan, 2022 1 commit
  9. 25 Jan, 2022 3 commits
  10. 21 Jan, 2022 1 commit
    • Xin Yao's avatar
      [Feature] Pin dgl.graph to the page-locked memory (#3616) · 40b44a43
      Xin Yao authored
      
      
      * implement pin_memory/unpin_memory/is_pinned for dgl.graph
      
      * update python docstring
      
      * update c++ docstring
      
      * add test
      
      * fix the broken UnifiedTensor
      
      * eliminate extra context parameter for pin/unpin
      
      * fix linting
      
      * fix typo
      
      * disable new format materialization for pinned graphs
      
      * update python doc for pin_memory_
      
      * fix unit test
      
      * update doc
      
      * change unitgraph and heterograph's PinMemory to in-place
      
      * update comments for NDArray's PinMemory_ and PinData
      
      * update doc
      Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
      40b44a43
  11. 17 Jan, 2022 1 commit
  12. 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
  13. 09 Dec, 2021 1 commit
  14. 07 Dec, 2021 1 commit
  15. 02 Dec, 2021 2 commits
  16. 19 Nov, 2021 1 commit
  17. 18 Nov, 2021 1 commit
  18. 16 Nov, 2021 1 commit
  19. 14 Nov, 2021 1 commit
    • Yang Su's avatar
      Fix User Guide EN and CN typo (#3495) · 863c2495
      Yang Su authored
      
      
      * Update graph-heterogeneous.rst
      
      `tensor([0, 1, 2, 0, 1, 2])` should be output instead of code
      
      * Update message-api.rst
      
      `updata_all_example()` should be `update_all_example()`
      
      * Update message-efficient.rst
      
      `cat_feat` need to concatenate with `dim=1` for the # edge features to match # edges
      
      * Update nn-construction.rst
      
      all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
      
      * Update graph-heterogeneous.rst
      
      `tensor([0, 1, 2, 0, 1, 2])` should be output instead of code
      
      * Update message-api.rst
      
      `updata_all_example()` should be `update_all_example()`
      
      * Update message-efficient.rst
      
      `cat_feat` need to concatenate with `dim=1` for the # edge features to match # edges
      
      * Update nn-construction.rst
      
      all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
      
      * Update nn-forward.rst
      
      all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
      
      * Update nn-forward.rst
      
      all `max_pool` in the aggregator type of `SAGEConv` should be `pool` instead
      Co-authored-by: default avatarzhjwy9343 <6593865@qq.com>
      863c2495
  20. 10 Nov, 2021 1 commit
    • 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
  21. 04 Nov, 2021 1 commit
  22. 03 Nov, 2021 1 commit
  23. 27 Oct, 2021 1 commit
  24. 14 Oct, 2021 1 commit
  25. 28 Aug, 2021 1 commit
  26. 26 Aug, 2021 1 commit
  27. 21 Aug, 2021 1 commit
  28. 16 Aug, 2021 1 commit
  29. 02 Aug, 2021 1 commit
  30. 30 Jul, 2021 1 commit
  31. 28 Jul, 2021 1 commit