- 10 Oct, 2022 1 commit
-
-
Hongzhi (Steve), Chen authored
Co-authored-by:Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
-
- 08 Oct, 2022 1 commit
-
-
Zhiteng Li authored
* refactor the function and module of laplacian_pe * add blank lines between design doc * 1st approving review * update the unittest * fix lint issues * fix trailing space * update by mufei's comments and fix backend bugs * del test file Co-authored-by:
rudongyu <ru_dongyu@outlook.com> Co-authored-by:
Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
-
- 19 Sep, 2022 1 commit
-
-
nv-dlasalle authored
* updates * Enable caching C++ result * Add missing docstring * Remove unused function * Add unit test * Address comments
-
- 07 Sep, 2022 1 commit
-
-
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:Minjie Wang <wmjlyjemaine@gmail.com>
-
- 05 Sep, 2022 2 commits
-
-
peizhou001 authored
* enable turn on/off libxsmm at runtime by adding a global config and related API Co-authored-by:Ubuntu <ubuntu@ip-172-31-19-194.ap-northeast-1.compute.internal>
-
nv-dlasalle authored
* Remove async_transferer * remove test * Remove AsyncTransferer Co-authored-by:
Xin Yao <xiny@nvidia.com> Co-authored-by:
Xin Yao <yaox12@outlook.com>
-
- 31 Aug, 2022 1 commit
-
-
Rhett Ying authored
* [BugFix] fix crash due to incorrect dtype in dgl.to_block() * fix test failure in TF
-
- 15 Aug, 2022 1 commit
-
-
Xin Yao authored
-
- 09 Aug, 2022 1 commit
-
-
Quan (Andy) Gan authored
* bunch of fixes * Update test_edge_softmax_hetero.py * Update test_edge_softmax_hetero.py Co-authored-by:Minjie Wang <wmjlyjemaine@gmail.com>
-
- 01 Aug, 2022 1 commit
-
-
Xin Yao authored
* enable use for weighted neighbor sampler and biased random walk * add unit tests * fix for mxnet/tf * fix typo
-
- 29 Jul, 2022 1 commit
-
-
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:彭齐荣 <657017034@qq.com>
-
- 27 Jul, 2022 1 commit
-
-
Pengfei Xia authored
* Update * Update functional.py * Update * Update test_transform.py * Update * Update functional.py * Update functional.py * Update functional.py * Update functional.py * Update * Update * Update functional.py * Update functional.py * Update functional.py * Update functional.py * Update module.py * Update test_transform.py * Update test_transform.py Co-authored-by:Mufei Li <mufeili1996@gmail.com>
-
- 26 Jul, 2022 1 commit
-
-
Dewvin authored
* [Feature] Add CUDA Weighted Randomwalk Sampling * [Feature] Add CUDA Weighted Randomwalk Sampling * [Feature] Add CUDA Weighted Randomwalk Sampling * [Feature] Add CUDA Weighted Randomwalk Sampling * fix empty prob array && enable non-uniform for restart && enable unit tests * update doc and guide for randomwalk and pinsage * update comments Co-authored-by:
zhenliangqiu <ubuntu@ip-172-31-24-245.ap-southeast-1.compute.internal> Co-authored-by:
xiny <xiny@nvidia.com>
-
- 14 Jul, 2022 1 commit
-
-
Xin Yao authored
* Fix test_csrmm for tensor core * unset allow tf32 flag * update test unified tensor * skip fp16 for CPU
-
- 01 Jul, 2022 2 commits
-
-
Rhett Ying authored
-
Rhett Ying authored
* [Feature] extend sort_csr/csc_by_tag to edge * fix test ffailure in tensorflow * refine sorting by edges * fix docstring * remove unnecessary mem Co-authored-by:Xin Yao <xiny@nvidia.com>
-
- 30 Jun, 2022 2 commits
-
-
Minjie Wang authored
* try optimize CI * fix go test; adjust timing report * disable certain tests for mx/tf backends * fix ut * add pydantic
-
nv-dlasalle authored
* * Workaround for graph data saving/loading compatibility problem in Column class. There may be more places in DGL with the same issue, due to using Python serialization, instead of a more cohesive, comprehensive strategy. This is just a local fix. * Add checking for non-empty states * Add unit test * Handle the case of columns without storage Co-authored-by:
ndickson <ndickson@nvidia.com> Co-authored-by:
Xin Yao <xiny@nvidia.com>
-
- 29 Jun, 2022 2 commits
-
-
Mufei Li authored
-
nv-dlasalle authored
* Update nccl communicator for when NCCL is missing * Use static_cast * Add doc string * Fix whitespace * Resrtict unit test to GPU runs Co-authored-by:Xin Yao <xiny@nvidia.com>
-
- 28 Jun, 2022 1 commit
-
-
Mufei Li authored
-
- 23 Jun, 2022 1 commit
-
-
Xin Yao authored
* Explicitly unpin tensoradapter allocated arrays * Undo unrelated change * Add unit test * update unit test * add pinned_by_dgl flag to NDArray::Container * use dgl.ndarray for holding the pinning status * update multi-gpu uva inference * reinterpret cast NDArray::Container* to DLTensor* in MoveAsDLTensor * update unpin column and examples * add unit test for unpin column Co-authored-by:
Dominique LaSalle <dlasalle@nvidia.com> Co-authored-by:
nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com>
-
- 14 Jun, 2022 1 commit
-
-
RecLusIve-F authored
* Add Flickr and Yelp dataset * Update flickr.py * update * Update yelp.py * Update yelp.py * update * Update yelp.py * Update test_data.py * Update yelp.py * update * Update test_data.py * Update yelp.py Co-authored-by:Mufei Li <mufeili1996@gmail.com>
-
- 12 Jun, 2022 1 commit
-
-
Huarui HE authored
* add argument reorder=False for citation_graph * add description of the argument reorder * add reordered/un_reordered save_path * add version number postfix Co-authored-by:Mufei Li <mufeili1996@gmail.com>
-
- 07 Jun, 2022 1 commit
-
-
ndickson-nvidia authored
* * Added specialization of cublasGemm function for `__half` type, to try to address https://github.com/dmlc/dgl/issues/3988 * * Added USE_FP16 guard * * Added test cases to test_segment_mm, to test newly-added FP16 specialization of cublasGemm * * Replaced for loop in test_segment_mm with pytest.mark.parametrize, as recommended Co-authored-by:
Xin Yao <xiny@nvidia.com>
-
- 02 Jun, 2022 2 commits
-
-
RecLusIve-F authored
* Fix bugs & Update dataset * Update * Update wikics.py * Update wikics.py * Update test_data.py * Update wikics.py * Update wikics.py * Update wikics.py * update * Update module.py * Update dgl.data.rst * Update wikics.py * Update wikics.py Co-authored-by:Mufei Li <mufeili1996@gmail.com>
-
Mufei Li authored
* Update * CI * Update * Update * Fix * Fix
-
- 28 May, 2022 1 commit
-
-
Quan (Andy) Gan authored
-
- 25 May, 2022 1 commit
-
-
Minjie Wang authored
* cython nogil * move APIs to internal and add unit test * fix lint * disable callback array test
-
- 24 May, 2022 1 commit
-
-
Mufei Li authored
* Update module.py * Update utils.py * Update utils.py * Update utils.py * Update module.py * Update * Update * Update
-
- 23 May, 2022 1 commit
-
-
nv-dlasalle authored
Co-authored-by:Mufei Li <mufeili1996@gmail.com>
-
- 17 May, 2022 1 commit
-
-
ndickson-nvidia authored
* * Added half_(), float_(), and double_() functions to DGLHeteroGraph, HeteroNodeDataView, and HeteroEdgeDataView, for converting floating-point tensor data to float16, float32, or float64 precision * * Extracted out private functions for floating-point type conversion, to reduce code duplication * * Added test for floating-point data conversion functions, half_(), float_(), and double_() * * Moved half_(), float_(), and double_() functions from HeteroNodeDataView and HeteroEdgeDataView to Frame class * * Updated test_float_cast() to use dgl.heterograph instead of dgl.graph * Added to CONTRIBUTORS.md * * Changed data type conversion to be deferred until the data is accessed, to avoid redundant conversions of data that isn't used. * * Addressed issues flagged by linter * * Worked around a bug in the old version of mxnet that's currently used for DGL testing * * Only defer Column data type conversion if there is a pending device transfer or index sampling to be done. This is expected to be the desired behaviour based on discussions of a few use cases, as described in the comments. * * Moved floating-point feature data conversion functions to dgl.transforms.functional * Changed them from in-place behaviour to shallow copy (out-of-place) behaviour * * Fixed linter issues * * Removed lines that unintentionally added to_half, to_float, and to_double to DGLHeteroGraph * Moved _init_api line to the end of the file again * * Removed one of the two leading underscores from Frame.__astype_float, making it not fully private Co-authored-by:nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com>
-
- 16 May, 2022 3 commits
-
-
nv-dlasalle authored
Prevent users from attempting to pin PyTorch non-contiguous tensors or views only encompassing part of tensor. (#3992) * Disable pinning non-contiguous memory * Prevent views from being converted for write * Fix linting * Add unit tests * Improve error message for users * Switch to pytest function * exclude mxnet and tensorflow from inplace pinning * Add skip * Restrict to pytorch backend * Use backend to retrieve device * Fix capitalization in decorator Co-authored-by:Quan (Andy) Gan <coin2028@hotmail.com>
-
Mufei Li authored
* Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Fix * Update * Update * Update
-
Xin Yao authored
* remove unnecessary induced vertices in EdgeSubgraph * add unit test
-
- 07 May, 2022 1 commit
-
-
RecLusIve-F authored
* [Model]P-GNN * updata * [Example]P-GNN * Update README.md * Add NodeFeatureMasking and NormalizeFeatures * Update * Update transforms.rst * Update * Update * Update * Update test_transform.py * Update * Update * Update test_transform.py * Update module.py * Update module.py * Update module.py Co-authored-by:Mufei Li <mufeili1996@gmail.com>
-
- 23 Apr, 2022 1 commit
-
-
Serge Panev authored
Signed-off-by:
Serge Panev <spanev@nvidia.com> Co-authored-by:
Mufei Li <mufeili1996@gmail.com>
-
- 12 Apr, 2022 2 commits
-
-
Quan (Andy) Gan authored
* cleaned pl node classification example * conform to PL's method of updating the dataloader * update * lint * fix test * fix
-
nv-dlasalle authored
* Add failing unit test * Fix negative sampler edge types * fix test * oops * revert Co-authored-by:
Minjie Wang <wmjlyjemaine@gmail.com> Co-authored-by:
Quan Gan <coin2028@hotmail.com>
-
- 11 Apr, 2022 1 commit
-
-
Xin Yao authored
* enable uva for pinsage sampler * unit test * modify some checks on the python side * remove legacy random walk code * update unit test * update unit test * fix unit test * adjust checks * move some checks to c++ * move max_nodes check to cuda kernel * fix ci for tf Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com> Co-authored-by:
nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com>
-