- 29 Jan, 2022 1 commit
-
-
Mufei Li authored
* Update * Update * Update
-
- 25 Jan, 2022 1 commit
-
-
Mufei Li authored
* Update * Update * Fix * Update * Update * Update * Update * Fix * Update * Update * Update * Update * Fix lint * lint * Update * Update * lint fix * Fix CI * Fix * Fix CI * Update * Fix * Update * Update * Augmentation (#10) * Update * PPR * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * Update * CI * lint * lint * Update * Update * Fix AddEdge * try import * Update * Fix * CI Co-authored-by:
Ubuntu <ubuntu@ip-172-31-31-136.us-west-2.compute.internal> Co-authored-by:
Minjie Wang <wmjlyjemaine@gmail.com>
-
- 21 Jan, 2022 1 commit
-
-
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:Jinjing Zhou <VoVAllen@users.noreply.github.com>
-
- 18 Jan, 2022 1 commit
-
-
Rhett Ying authored
* [Fix] check and load dependencies when needed * refine rdflib import
-
- 17 Jan, 2022 3 commits
-
-
Quan (Andy) Gan authored
* oops * test
-
Mufei Li authored
* Update * Update * Fix * Update * Update * Update * Update * Fix * Update * Update * Update * Update * Fix lint * lint * Update * Update * lint fix * Fix CI * Fix * Fix CI * Update * Fix * Update * Update * resolve conflict * Fix CI Co-authored-by:Ubuntu <ubuntu@ip-172-31-31-136.us-west-2.compute.internal>
-
Quan (Andy) Gan authored
* fix GPU global negative sampling code * Update negative_sampling.cu
-
- 11 Jan, 2022 2 commits
-
-
Andrew authored
* Added graph updating method and tests. resolves #3488 * removed spaces around named args * customizing indices for graph's idtype and ctx * changing torch ops to generic backend ops * changing tensors to np arrays * created dgl merge function and tests * Changed per-graph edge updates to single ag update * removed update method and tests * reformat newlines & spaces * concatenating in one-shot instead of iteratively Co-authored-by:
Mufei Li <mufeili1996@gmail.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
Rhett Ying authored
-
- 10 Jan, 2022 1 commit
-
-
Rhett Ying authored
* [Feature] add CSVDataset to load data from csv files * add CSVDataset class file * install pyyaml when running unit tests * install pandas for unit tests * utilize pydantic for YAML config check * generate yaml and csv files during test * make more keys as optional * remove/rename several keys in yaml config and more tets though looks a bit clumsy * fix test failure on mxnet * pass /path/to/dataset instead of yaml path * code refinement * code refine * change several yaml field such as feat and graph_id * merge graph generation logic * refine code * Refactored_first_version * DGLCSVDataset works for single heterograph * add more tests * fix test failure in mxnet * add docstring * use list comprehension for dict * fix version in YAML * refine data length assert * use dict.pop directly * remove ambiguous variable names * refine graph id missing logic * refine graph create call * separate node/edge/graph data parser * remove separator in DefaultDataParser * refine validation error log for yaml field * minor check * refine code via dict.get() * move load_from_csv into Node/Edge/GraphData * move _parse_node/edge/graph_data into Node/Edge/GraphData * refine id-related fields check * check duplicate ntypes/etypes when load yaml * refine docstring
-
- 07 Jan, 2022 1 commit
-
-
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
-
- 04 Jan, 2022 1 commit
-
-
Quan (Andy) Gan authored
* support shared memory on windows * Update shared_mem.cc
-
- 20 Dec, 2021 1 commit
-
-
Israt Nisa authored
* add unittest for binary ops * Changed loss func Co-authored-by:
Israt Nisa <nisisrat@amazon.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
- 19 Dec, 2021 1 commit
-
-
Israt Nisa authored
* edge_softmax_hetero forwar+cpu+norm=dst * convert eids to list * addedunittest * added unittest * added backward. Not tested correctness * minor * changed reducer to max from sum * bugfix * docstring * add GPU unittest * output converted to dict from tuple * lint check Co-authored-by:
Israt Nisa <nisisrat@amazon.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
- 17 Dec, 2021 1 commit
-
-
Israt Nisa authored
* fixed bug * added in test cases * unittest resolved * bugfix Co-authored-by:
Israt Nisa <nisisrat@amazon.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
- 16 Dec, 2021 1 commit
-
-
Israt Nisa authored
[Feature] Add CUDA support for `min` and `max` reducer in heterogeneous API for unary message functions (#3566) * CUDA support max/min reducer on forward pass * docstring * concised UpdateGradMinMax_hetero * reorganized UpdateGradMinMax_hetero * CUDA kernels for max/min reducer * variable name * lint check * changed CUDA 2D thread mapping to 1D * removed legacy cusparse for min/max reducer * git CI issue * restarting git CI * adding namespace std Co-authored-by:
Israt Nisa <nisisrat@amazon.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
- 15 Dec, 2021 1 commit
-
-
lixiaobai authored
* Feat: support API "randomwalk_topk" in library * Feat: use the new API "randomwalk_topk" for PinSAGESampler * Minor * Minor * Refactor: modified codes as checker required * Minor * Minor * Minor * Minor * Fix: checking errors in RandomWalkTopk * Refactor: modified the docstring for randomwalk_topk * change randomwalk_topk to internal * fix * rename * Minor for pinsage.py * Feat: support randomwalk and SelectPinSageNeighbors on GPU Port RandomWalk algorithm on GPU, and port SelectPinSageNeighbors on GPU. * Feat: support GPU on python APIs * Feat: remove perf print information in FrequenchHashmap * Fix: modified the code format Modified the code format as task_lint.sh suggested * Feat: let test script support PinSAGESampler on GPU Let test script support PinSAGESampler on GPU, minor of "restart_prob". * Minor * Minor * Minor * Refactor: use the atomic operations from the array module * Minor: change the long lines * Refactor: modified the get_node_types for gpu * Feat: update the contributor date * Perf: remove unnecessary stream sync * Feat: support other random walk But the non-uniform choice is still not supported. * Fix: add CUDA switch for random walk Co-authored-by:Quan Gan <coin2028@hotmail.com>
-
- 06 Dec, 2021 1 commit
-
-
Quan (Andy) Gan authored
* first commit * second commit * spaghetti unit tests * rewrite test
-
- 03 Dec, 2021 1 commit
-
-
Israt Nisa authored
* min/max support for forward CPU heterograph * Added etype with each argU values * scatter_add needs fix * added scatter_add_hetero. Grads dont match for max reducer * storing ntype in argX * fixing scatter_add_hetero * hetero matches with torch's scatter add * works copy_e forward+cpu * added backward for copy_rhs * Computes gradient for all node types in one kernel * bug fix * unnitest for max/min on CPU * renamed scatter_add_hetero to update_grad_minmax_hetero * lint check and comment out cuda call for max. Code is for CPU only * lint check * replace inf with zero * minor * lint check * removed LIBXSMM code from hetro code * fixing backward operator of UpdateGradMinMaxHetero * removed backward from update_grad_minmax_hetero * docstring * improved docstring and coding style * Added pass by pointer for output * typos and pass by references * Support for copy_rhs * Added header <string> * fix bug in copy_u_max * Added comments and dimension check of all etypes * skip mxnet check * pass by pointer output arrays * updated docstring Co-authored-by:
Israt Nisa <nisisrat@amazon.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
- 10 Nov, 2021 2 commits
-
-
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
-
Rhett Ying authored
* [BugFix] fix in/out degree computation * add unit tests
-
- 04 Nov, 2021 2 commits
-
-
Xin Yao authored
* relabel gpu * unittest for ralebl_ on the GPU * finish Relabel_ for the GPU * copyright * re-enable the unittest for edge_subgrah on the GPU * fix unittest for tensorflow * use a fixed number of threads Co-authored-by:
Jinjing Zhou <VoVAllen@users.noreply.github.com> Co-authored-by:
nv-dlasalle <63612878+nv-dlasalle@users.noreply.github.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
Mufei Li authored
* Update * Fix * Fix * Update * Update * Update * Fix CI * Fix * Fix * Fix * Update * Update * Update * Fix * Fix * Fix for TF
-
- 21 Oct, 2021 1 commit
-
-
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
-
- 12 Oct, 2021 1 commit
-
-
Rhett Ying authored
-
- 30 Sep, 2021 1 commit
-
-
Rhett Ying authored
-
- 22 Sep, 2021 1 commit
-
-
Quan (Andy) Gan authored
* graceful c++ exception in OpenMP * credits * add test Co-authored-by:Jinjing Zhou <VoVAllen@users.noreply.github.com>
-
- 21 Sep, 2021 1 commit
-
-
mszarma authored
* [Feature] Exclude edges in sample_neighbors Extending sample_neighbors and sample_frontier API to support exclude_edges parameter. exclude_edges support tensor and dict data Feature enable excluding certain edges during neighborhood sampling Exclude_edges contains EID's of edges which will be excluded during neighbor picking for seed nodes. Added test case for heterograph and homograph RFC issue id: 2944 * compatibility * fix * fix Co-authored-by:Quan Gan <coin2028@hotmail.com>
-
- 17 Sep, 2021 1 commit
-
-
Rhett Ying authored
-
- 16 Sep, 2021 1 commit
-
-
nv-dlasalle authored
[Performance][Feature] Add `src_nodes` paramter to `to_block()` to avoid cost running unique() when available. (#2973) * Add lhs_nodes are paremeter to to_block * Update unit test * Switch to simplified node conversion * Switch lhs_nodes to be in/out parameter * Update docs Co-authored-by:
Da Zheng <zhengda1936@gmail.com> Co-authored-by:
Jinjing Zhou <VoVAllen@users.noreply.github.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com> Co-authored-by:
Minjie Wang <wmjlyjemaine@gmail.com>
-
- 09 Sep, 2021 1 commit
-
-
Israt Nisa authored
* rgcn with new heterograph API * apply_edge() forward for multi relation * undoing changes from rgcn-hetero * backward apply_edge(copy_u) added * unittest for apply_edge(copy_e) * Compatible with new PRs * resolving conflict with master * Bringing back change after resolving conflict * minor * minor Co-authored-by:Israt Nisa <nisisrat@amazon.com>
-
- 07 Sep, 2021 1 commit
-
-
Israt Nisa authored
* Added binary builtinMsgFunc forward() for heterograph * Added backward for u_op_v * Supports all binary builtin forward * Supports binary message funcs with reduce func sum * lint check * removed import torch from unittest * enabled GPU test * lint check * Fixed docstrings * rename func get_hs_id * edited comment Co-authored-by:Israt Nisa <nisisrat@amazon.com>
-
- 06 Sep, 2021 1 commit
-
-
Jinjing Zhou authored
* remove * remove * fix * remove * remove
-
- 31 Aug, 2021 1 commit
-
-
nv-dlasalle authored
* Make column double indices lazy * Copy indices to proper contexts * Fix initialization * Add unit test * Fix unit test for tensorflow * Remove unused member Co-authored-by:Quan (Andy) Gan <coin2028@hotmail.com>
-
- 20 Aug, 2021 1 commit
-
-
nv-dlasalle authored
* Implement range based NDArrayPartition * Finish implement range based partition support * Add unit test * Fix whitepace * Add Kernel suffix * Fix argument passing * Add doxygen docs and improve variable naming * Add unit test * Add function for converting a partition book * Add example to partition_op docs * Fix dtype conversion for mxnet and tensorflow
-
- 19 Aug, 2021 1 commit
-
-
nv-dlasalle authored
* Update filter code * Add unit tests * Fixes * Switch to indices * Rename functions * Fix linting * Fix whitespace * Add doc * Fix heterograph * Change workspace allocation * Fix linting * Fix docs in filter.py * Add todo Co-authored-by:
Jinjing Zhou <VoVAllen@users.noreply.github.com> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com>
-
- 18 Aug, 2021 1 commit
-
-
Quan (Andy) Gan authored
-
- 29 Jul, 2021 1 commit
-
-
Rhett Ying authored
-
- 28 Jul, 2021 1 commit
-
-
xiang song(charlie.song) authored
* fix. * fix. * fix. * fix. * Fix test * Deprecate old DistEmbedding impl, use synchronized embedding impl * Basic imple of heterogeneous on homogenenous sampling * make pass * Pass C++ test * Add python test code * lint * lint * Add MultiLayerEtypeNeighborSampler * Add unitest for single machine dataloader * Add dist dataloader test for edge type sampler * Fix lint * fix * support for per etype sample * Fix some bug and enable distributed training with per edge sample * fix * Now distributed training works * turn off some mxnet * turn off mxnet for some dist test * fix * upd * upd according to the comments * Fix * Fix test and now distributed works. * upd * upd * Fix * Fix bug * remove dead code. * upd * Fix * upd * Fix Co-authored-by:
Ubuntu <ubuntu@ip-172-31-71-112.ec2.internal> Co-authored-by:
Ubuntu <ubuntu@ip-172-31-2-66.ec2.internal> Co-authored-by:
Da Zheng <zhengda1936@gmail.com>
-
- 13 Jul, 2021 1 commit
-
-
Mufei Li authored
* Update * Update * Update * Update * Update * Update * Update * Fix lint * Fix * Update * Fix test cases * Fix * add docstrings * Update Co-authored-by:
Ubuntu <ubuntu@ip-172-31-28-17.us-west-2.compute.internal> Co-authored-by:
Quan (Andy) Gan <coin2028@hotmail.com> Co-authored-by:
Jinjing Zhou <VoVAllen@users.noreply.github.com>
-