1. 16 Nov, 2022 1 commit
  2. 06 Nov, 2022 1 commit
  3. 27 Oct, 2022 1 commit
  4. 08 Oct, 2022 1 commit
  5. 07 Sep, 2022 1 commit
    • ndickson-nvidia's avatar
      [Feature] Added exclude_self and output_batch to knn graph construction... · 684f66b7
      ndickson-nvidia authored
      
      [Feature] Added exclude_self and output_batch to knn graph construction (Issues #4323 #4316) (#4389)
      
      * * Added "exclude_self" and "output_batch" options to knn_graph and segmented_knn_graph
      * Updated out-of-date comments on remove_edges and remove_self_loop, since they now preserve batch information
      
      * * Changed defaults on new knn_graph and segmented_knn_graph function parameters, for compatibility; pytorch/test_geometry.py was failing
      
      * * Added test to ensure dgl.remove_self_loop function correctly updates batch information
      
      * * Added new knn_graph and segmented_knn_graph parameters to dgl.nn.KNNGraph and dgl.nn.SegmentedKNNGraph
      
      * * Formatting
      
      * * Oops, I missed the one in segmented_knn_graph when I fixed the similar thing in knn_graph
      
      * * Fixed edge case handling when invalid k specified, since it still needs to be handled consistently for tests to pass
      * Fixed context of batch info, since it must match the context of the input position data for remove_self_loop to succeed
      
      * * Fixed batch info resulting from knn_graph when output_batch is true, for case of 3D input tensor, representing multiple segments
      
      * * Added testing of new exclude_self and output_batch parameters on knn_graph and segmented_knn_graph, and their wrappers, KNNGraph and SegmentedKNNGraph, into the test_knn_cuda test
      
      * * Added doc comments for new parameters
      
      * * Added correct handling for uncommon case of k or more coincident points when excluding self edges in knn_graph and segmented_knn_graph
      * Added test cases for more than k coincident points
      
      * * Updated doc comments for output_batch parameters for clarity
      
      * * Linter formatting fixes
      
      * * Extracted out common function for test_knn_cpu and test_knn_cuda, to add the new test cases to test_knn_cpu
      
      * * Rewording in doc comments
      
      * * Removed output_batch parameter from knn_graph and segmented_knn_graph, in favour of always setting the batch information, except in knn_graph if x is a 2D tensor
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      684f66b7
  6. 31 Aug, 2022 1 commit
  7. 27 Jul, 2022 1 commit
  8. 29 Jun, 2022 1 commit
  9. 28 Jun, 2022 1 commit
  10. 24 May, 2022 1 commit
  11. 23 May, 2022 1 commit
  12. 16 May, 2022 1 commit
  13. 07 May, 2022 1 commit
  14. 23 Apr, 2022 1 commit
  15. 30 Mar, 2022 1 commit
  16. 24 Feb, 2022 1 commit
  17. 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
  18. 17 Feb, 2022 1 commit
  19. 30 Jan, 2022 1 commit
    • 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
  20. 29 Jan, 2022 1 commit
  21. 25 Jan, 2022 1 commit
  22. 17 Jan, 2022 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. 12 Oct, 2021 1 commit
  25. 17 Sep, 2021 1 commit
  26. 16 Sep, 2021 1 commit
  27. 13 Jul, 2021 1 commit
  28. 12 Jul, 2021 1 commit
  29. 30 Jun, 2021 1 commit
  30. 18 May, 2021 1 commit
  31. 22 Apr, 2021 1 commit
  32. 21 Feb, 2021 1 commit
  33. 08 Feb, 2021 1 commit
    • nv-dlasalle's avatar
      [Sampling] Implement `dgl.to_block()` for the GPU (#2339) · bc3a532f
      nv-dlasalle authored
      
      
      * Add start of to_block gpu implementation
      
      * Pull in more changes from 0.4.2 cuda_to_block
      
      * Move more code to IdArray
      
      * Refactor DeviceNodeMapMaker
      
      * Updates
      
      * get compiling
      
      * Integrate to_block
      
      * Fix ID allocation
      
      * Minor fixes
      
      * Cleanup cuda calls to use cuda_common
      
      * Reduce kernel calls
      
      * Lint cleanup
      
      * Expand documentation
      
      * Remove unused function
      
      * Rename variables for consistency
      
      * Add doxygen comments
      
      * Fix file extension
      
      * Remove raw asynccopy for deviceapi
      
      * Remove unused function
      
      * Fix block/tile configuration
      
      * Add cuda_device_common.cuh
      
      * Add basic hashtable
      
      * Migrate part of hashtable
      
      * Refactor to use external hashtable
      
      * Make functions members
      
      * Format hash table functions
      
      * Migrate duplicate filling
      
      * Move last function over
      
      * Refactor with cu file
      
      * lint c++ code
      
      * Move context check to C++ code
      
      * Use macro switch
      
      * Add missing files
      
      * Update docstring
      
      * update docs
      
      * Move atomic functions
      
      * Refactor hashtable
      
      * Fix linting
      
      * Expand docs
      
      * Fix mismatched argument names
      
      * Switch doxygen comments from using @param to \param
      Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      bc3a532f
  34. 24 Aug, 2020 1 commit
  35. 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
  36. 13 Aug, 2020 1 commit
  37. 11 Aug, 2020 1 commit
    • Quan (Andy) Gan's avatar
      [Feature] Edge DataLoader for edge classification & link prediction (#1828) · f5eb80d2
      Quan (Andy) Gan authored
      * clean commit
      
      * oops forgot the most important files
      
      * use einsum
      
      * copy feature from frontier to block
      
      * Revert "copy feature from frontier to block"
      
      This reverts commit 5224ec963eb6a3ef1b6ab74d8ecbd44e4e42f285.
      
      * temp fix
      
      * unit test
      
      * fix
      
      * revert jtnn
      
      * lint
      
      * fix win64
      
      * docstring fixes and doc indexing
      
      * revert einsum in sparse bidecoder
      
      * fix some examples
      
      * lint
      
      * fix due to some tediousness in remove_edges
      
      * addresses comments
      
      * fix
      
      * more jtnn fixes
      
      * fix
      f5eb80d2
  38. 10 Aug, 2020 1 commit
    • Da Zheng's avatar
      Fix the performance issue of graph partitioning in new DGLGraph (#1934) · 729ff2ef
      Da Zheng authored
      
      
      * fix perf.
      
      * fix.
      
      * accelerate metis.
      
      * fix lint.
      
      * use gklib.
      
      * fix perf.
      
      * fix.
      
      * update metis.
      
      * update launch script
      
      * handle synchronized API.
      
      * fix.
      
      * fix example.
      
      * fix dataloader.
      
      * temp fix.
      
      * temp fix omp.
      
      * distinguish roles.
      
      * initialize iterator of DistDataloader correctly.
      
      * check the correctness of launch script.
      
      * move feature copy to sampler.
      
      * measure mem/network copy time.
      
      * remove
      
      * Revert "measure mem/network copy time."
      
      This reverts commit 86cefdc14b7815fcf5aad6496af912dba48e4aa6.
      
      * fix.
      
      * fix
      
      * fix.
      
      * fix cmake.
      
      * disable metis in windows.
      
      * disable metis tests in windows.
      
      * remove test for multigraph.
      
      * fix test.
      
      * fix.
      
      * fix cmake.
      
      * fix.
      
      * revert.
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-19-115.us-west-2.compute.internal>
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-19-1.us-west-2.compute.internal>
      729ff2ef
  39. 07 Aug, 2020 2 commits
    • Minjie Wang's avatar
      [Refactor] Enable new kernel in all message passing APIs (#1953) · 22167f72
      Minjie Wang authored
      * WIP: frame refactor
      
      * new frame
      
      * simple update_all builtin
      
      * move all subgraph routines into the same file
      
      * sddmm & spmm schedule; node & edge udf
      
      * degree bucketing
      
      * some tricky 0deg corner cases
      
      * bug in frame append
      
      * merge test_hetero_basics and test_basics
      
      * some code rearange
      
      * fix test_heterograph
      
      * add mean spmm
      
      * enable all builtin combinations
      
      * pass gpu test
      
      * pass pytorch tests
      
      * wip
      
      * fix some pt debugging codes
      
      * fix bug in mxnet backward
      
      * pass all mxnet utests
      
      * passed tf tests
      
      * docstring
      
      * lint
      
      * lint
      
      * fix broadcasting bugs
      
      * add warning and clamp for mean reducer
      
      * add test for zero-degree mean
      
      * address comments
      
      * lint
      
      * small fix
      22167f72
    • xiang song(charlie.song)'s avatar
      [HotFix] Fix add_reverse_edges (#1960) · 35c9473b
      xiang song(charlie.song) authored
      
      
      * Hot fix
      
      * more test
      Co-authored-by: default avatarUbuntu <ubuntu@ip-172-31-51-214.ec2.internal>
      35c9473b