- 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>
-
- 09 Apr, 2022 1 commit
-
-
Rhett Ying authored
* [BugFix] record/restore pin status when pickle/unpickle * disable test on TF * set version as expected * unpin memory in test
-
- 31 Mar, 2022 1 commit
-
-
Quan (Andy) Gan authored
* fix uva with partial node types * lint * skip tensorflow unit test
-
- 30 Mar, 2022 1 commit
-
-
rudongyu authored
* [Transform] Random Walk Positional Encoding & Laplacian Positional Encoding * Update python/dgl/transforms/module.py Co-authored-by:
Mufei Li <mufeili1996@gmail.com> * Update python/dgl/transforms/functional.py Co-authored-by:
Mufei Li <mufeili1996@gmail.com> * Update python/dgl/transforms/functional.py Co-authored-by:
Mufei Li <mufeili1996@gmail.com> * Update python/dgl/transforms/functional.py Co-authored-by:
Mufei Li <mufeili1996@gmail.com> * Update python/dgl/transforms/functional.py Co-authored-by:
Mufei Li <mufeili1996@gmail.com> * Update python/dgl/transforms/functional.py Co-authored-by:
Mufei Li <mufeili1996@gmail.com> * Update python/dgl/transforms/functional.py & python/dgl/transforms/module.py * update python/dgl/transforms/functional.py * update doc indexing * update unit test * support weighted graphs for random_walk_pe * change reference * fix linter errors * fix datatype compatibility with MXNet & TF * fix device errors * fix result precision errors * change tensorflow abs api * reboost CI Co-authored-by:
Mufei Li <mufeili1996@gmail.com>
-
- 24 Mar, 2022 1 commit
-
-
Quan (Andy) Gan authored
* fix uva sampling with features * fix * add is_listlike function to distinguish strings from sequence * fix Co-authored-by:nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com>
-
- 24 Feb, 2022 2 commits
-
-
Mufei Li authored
* Update * Update * Update * Fix * Update * Update * Update * Fix
-
Rhett Ying authored
* add train_idx/val_idx/test_idx as dataset attributes * refine docstring
-
- 23 Feb, 2022 2 commits
-
-
Rhett Ying authored
* [Fix] be able to parse ids if numeric and non-numeric values are used together * add required package info and cache note into docstring * duplicate node id is not allowed
-
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
-