1. 11 Jan, 2023 1 commit
  2. 06 Jan, 2023 1 commit
  3. 29 Dec, 2022 1 commit
  4. 26 Dec, 2022 1 commit
  5. 19 Dec, 2022 1 commit
    • Xin Yao's avatar
      [Fix core lib warning] Remove LooseVersion (#5026) · f4eef726
      Xin Yao authored
      * replace LooseVersion with packaging.version
      
      * import packaging from setuptools
      
      * import packaging.version in dgl.utils
      
      * format
      
      * revert changes to apps/kg
      
      * revert changes to _dataloading
      f4eef726
  6. 09 Dec, 2022 1 commit
  7. 01 Dec, 2022 1 commit
  8. 16 Nov, 2022 1 commit
  9. 15 Nov, 2022 1 commit
  10. 10 Nov, 2022 1 commit
  11. 06 Nov, 2022 2 commits
    • Xin Yao's avatar
      [Feature] Add bfloat16 (bf16) support (#4648) · 96297fb8
      Xin Yao authored
      * add bf16 specializations
      
      * remove SWITCH_BITS
      
      * enable amp for bf16
      
      * remove SWITCH_BITS for cpu kernels
      
      * enbale bf16 based on CUDART
      
      * fix compiling for sm<80
      
      * fix cpu build
      
      * enable unit tests
      
      * update doc
      
      * disable test for CUDA < 11.0
      
      * address comments
      
      * address comments
      96297fb8
    • rudongyu's avatar
      [Transform] Add shortest distance (#4799) · 1d229194
      rudongyu authored
      * shortest dist
      
      * update
      
      * address issues
      
      * update
      
      * fix indent
      
      * lint
      
      * fix indent
      1d229194
  12. 04 Nov, 2022 1 commit
  13. 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
  14. 28 Oct, 2022 1 commit
  15. 27 Oct, 2022 1 commit
  16. 19 Oct, 2022 1 commit
  17. 13 Oct, 2022 1 commit
  18. 10 Oct, 2022 2 commits
  19. 08 Oct, 2022 1 commit
  20. 19 Sep, 2022 1 commit
  21. 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
  22. 05 Sep, 2022 2 commits
  23. 31 Aug, 2022 1 commit
  24. 15 Aug, 2022 1 commit
  25. 09 Aug, 2022 1 commit
  26. 01 Aug, 2022 1 commit
  27. 29 Jul, 2022 1 commit
    • Xin Yao's avatar
      [Feature] Add CUDA Weighted Neighborhood Sampling (#4064) · 86c81b4e
      Xin Yao authored
      
      
      * add weighted sampling without replacement (A-Chao)
      
      * improve Algorithm A-Chao with block-wise prefix sum
      
      * correctly fill out_idxs
      
      * implement weighted sampling with replacement
      
      * small fix
      
      * merge host-side code of weighted/uniform sampling
      
      * enable unit tests for cuda weighted sampling
      
      * move thrust/cub wrapper to the cmake file
      
      * update docs accordingly
      
      * fix linting
      
      * fix linting
      
      * fix unit test
      
      * Bump external CUB/Thrust versions
      
      * Fix code style and update description of algorithm design
      
      * [Feature] GPU support weighted graph neighbor sampling
      commit by pengqirong(OPPO)
      
      * merge pengqirong's implementation
      
      * revert the change to cub and thrust
      
      * fix linting
      
      * use DeviceSegmentedSort for better performance
      
      * add more comments
      
      * add necessary notes
      
      * add necessary notes
      
      * resolve some comments
      
      * define THRUST_CUB_WRAPPED_NAMESPACE
      
      * fix doc
      Co-authored-by: default avatar彭齐荣 <657017034@qq.com>
      86c81b4e
  28. 27 Jul, 2022 1 commit
  29. 26 Jul, 2022 1 commit
  30. 14 Jul, 2022 1 commit
  31. 01 Jul, 2022 2 commits
  32. 30 Jun, 2022 2 commits
  33. 29 Jun, 2022 2 commits
  34. 28 Jun, 2022 1 commit