文件历史

提交图

726 次代码提交

作者 SHA1 备注 提交日期
Chang Liu e26d206437 [Example][Bugfix] Fix link pred example in graphsage (#4255) 2022-07-14 08:30:51 +08:00
Chang Liu c56e27a807 [Bugfix] Accessing data from the indexes stored in same device (#4242)
* First update to fix two examples

* Update to fix RGCN/graphsage example and dataloader

* Update
2022-07-13 09:02:07 +08:00
Xin Yao 3e26c3d198 fix caregnn (#4211)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-07-08 16:16:30 +08:00
Chang Liu 52d43127f7 [Example][Bugfix] Fix arma example (#4218)
* Fix arma example

* Update

Co-authored-by: Xin Yao <xiny@nvidia.com>
2022-07-08 12:25:21 +08:00
Chang Liu 28b0904779 [Example][Bugfix] Fix dimenet example (#4219)
Co-authored-by: Xin Yao <xiny@nvidia.com>
2022-07-07 14:52:10 +08:00
Chang Liu 0d1b2c5a2c [Example] Update README file of eges example (#4220) 2022-07-07 09:14:40 +08:00
Chang Liu 885be1784b [Example][Refactor] Refactor GCN example (#4160)
* Refactor GCN example

* Refactor GCN based on graphsage

* Readme update

* Minor update

* update

* Remove user-defined GCN implementation

* README update

* Update

* Update CONTRIBUTORS.md

* update task_example_test

Co-authored-by: Xin Yao <xiny@nvidia.com>
2022-07-05 15:58:31 +08:00
Chang Liu 0f0e7c7fad [Example][Bugfix] Bugfix for dgi example (#4201) 2022-07-02 12:48:17 +08:00
Chang Liu a9768cb38f [Example][Refactor] Minor update on the golden example (#4197)
* minor update on golden example

* update

* update

* Update README

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2022-07-01 14:34:45 +08:00
Chang Liu b76d0ed1db [Example][Refactor] Regolden graphsage example for future guide (#4186)
* Regolden graphsage example to guide others

* update golden

* update

* Update example and propagate to original folder

* Update to remove ^M (windows DOS) character

* update

* Merge file changes and update README

* Minor comment update

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-06-30 21:56:13 +08:00
Chang Liu a6bd96aa96 Fix example crashes due to DGL API update (#4194)
Co-authored-by: Xin Yao <xiny@nvidia.com>
2022-06-30 21:10:44 +08:00
Lucas Prieto 548c85fff6 [BugFix] Fix Correct&Smooth (#4102) (#4158)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
Co-authored-by: Xin Yao <xiny@nvidia.com>
2022-06-23 18:11:15 +08:00
Chang Liu 598d746e59 [Example][Bugfix] Remove all torchtext legacy-related APIs for pytorch/pinsage example (#4130)
* Remove all torchtext legacy-related APIs

* Remove unused BagOfWordsPretrained class, and fix some typos

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-06-23 16:06:18 +08:00
Xin Yao 077e002fe5 [Bugfix][Rework] Automatically unpin tensors pinned by DGL (rework #3997) (#4135)
* 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>
2022-06-23 13:56:54 +08:00
Chang Liu 549df65a77 [Bugfix] Fix example case: examples/pytorch/ogb/ogbn-proteins and examples/pytorch/ogb/ogbn-products (#4080)
* [Bugfix] Fix ogbn-gat-proteins/products examples

* Remove unused BatchSampler definition

* Remove comments to ease reading/reviewing

* Remove dataloader wrapper
2022-06-09 15:45:28 +08:00
Sai Kandregula a3ea4873d3 [Example] Remove Bias in Linear layer because of BatchNorm1d usage (#4071)
* typo fix in TUDataset docs

* remove bias in Linear layer because of BatchNorm1d

Co-authored-by: decoherencer <decoherencer@users.noreply.github.com>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-06-04 17:16:20 +08:00
Chang Liu d31448dd24 [Bugfix] Fix GCMC examples (#4082)
* [Example][Bug] Fix GCMC examples

* Revert the change of model.py from #74f01405
2022-06-04 11:19:33 +08:00
RecLusIve-F 0f2ff47de6 [Example] Add BGRL example (#4077)
* Add BGRL example

* Update README.md

* Update utils.py

* Update

* Update utils.py
2022-06-03 23:13:30 +08:00
Chang Liu 9e46423e4f [Bugfix] Fix cluster-gat examples (#4068)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-06-02 21:39:59 +08:00
Mufei Li bef993076e [Bugfix] Fix PinSAGE Benchmark (#4058)
* Update

* Update

* Update dgl.data.rst

* CI
2022-05-28 00:31:57 +08:00
彭齐荣 d1124b7bef [Example][BugFix] Fix Lightning GraphSAGE examples (dmlc#4046) (#4053) 2022-05-26 12:40:40 +08:00
Quan (Andy) Gan 744896e2d8 fix examples (#4016)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-05-23 23:41:12 +08:00
Mufei Li bdaccc8270 [Bug Fix] Fix KeyError for rgcn-hetero Entity Classification w/ minibatch training (#4022)
* Update model.py

* Update entity_classify_mb.py
2022-05-23 20:25:01 +08:00
rudongyu 3fe5eea791 [NN] Label Propagation & Directional Graph Networks (#4017)
* add label propagation module

* fix prev bug in example

* add dgn

* fix linting and doc issues

* update label propagation & dgn

* update label propagation & dgn

* update example

* fix unit test

* fix agg heritage issue

* fix agg issue

* fix lint

* fix idx

* fix lp gpu issue

* Update

* Update

Co-authored-by: mufeili <mufeili1996@gmail.com>
2022-05-20 15:23:19 +08:00
Hao Yuan 6de7d5faa7 [Bugfix] Fix conditional judgment of cuda (#4026) (#4027) 2022-05-20 11:01:03 +08:00
Peiqi Yin cba465f2c8 [BugFix] hetero ogbn-mag full neighbor inference. (#4010)
* fix hetero ogbn-mag full neighbor inference.

* fix hetero

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-05-18 16:46:55 +08:00
Quan (Andy) Gan 74f0140533 [Example] Rename NodeDataLoader to DataLoader in GraphSAGE example (#3972)
* rename

* Update node_classification.py

* more fixes...

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2022-05-11 09:10:54 +08:00
Xinger d4d4fa1eaf Update pinsage readme: torchtext>=0.9.0 (#3974)
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
2022-05-10 12:41:01 +08:00
Hengrui Zhang ae7e3db631 fix bugs in gat training script (#3505)
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Zihao Ye <expye@outlook.com>
2022-04-29 17:53:00 +08:00
Rhett Ying 37be02a486 [Feature] enable socket net_type for rpc (#3951)
* [Feature] enable socket net_type for rpc

* fix lint

* fix lint

* fix build issue on windows

* fix test failure on windows

* fix test failure

* fix cpp unit test failure

* net_type blocking max_try_times

* fix other comments

* fix lint

* fix comment

* fix lint

* fix cpp
2022-04-28 00:10:06 +08:00
Sharique Shamim 306e0a46e1 [Bug] Fixed optimizer definition in gnn_explainer (#3944) (#3948)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-04-25 16:39:44 +08:00
Quan (Andy) Gan dc1c0ac28a [Example][Bug] Fix GAT example (#3947)
* fix

* oops

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-04-22 23:44:45 +08:00
WangYQ f5bba284f8 [Example] Add EGES example (#3756)
* add eges example

* remove csv files and add data link

* Update README.md

* Update main.py

* Update model.py

* Update sampler.py

* Update utils.py

* Update model.py

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-04-14 16:23:08 +08:00
Tong He a0bf5daa65 fix (#3903)
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2022-04-13 12:28:19 +08:00
Mufei Li c380f0b5fa Update gatv2.py (#3921)
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-04-13 09:47:52 +08:00
Quan (Andy) Gan e06e63d5d5 [Feature] Enable UVA sampling with CPU indices (#3892)
* enable UVA sampling with CPU indices

* add docs

* add more docs

* lint

* fix

* fix

* better error message

* use mp.Barrier instead of queues

* revert

* revert

* oops

* revert dgl.multiprocessing.spawn

* Update pytorch.py
2022-04-12 20:56:51 +08:00
Quan (Andy) Gan 0d878ff8ef [Example] Cleaned GraphSAGE node classification example with PyTorch Lightning (#3863)
* cleaned pl node classification example

* conform to PL's method of updating the dataloader

* update

* lint

* fix test

* fix
2022-04-12 17:26:23 +08:00
Serge Panev f931c6ba54 [Examples] Add pure gpu mode in the GraphSAGE node classification and link prediction (#3856)
Signed-off-by: Serge Panev <spanev@nvidia.com>

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-04-12 13:03:03 +08:00
Mufei Li 01e50626d3 [Example] Add TorchMetrics in README (#3913)
* Update README.md

* Update README.md

* Update README.md

Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
2022-04-09 23:25:51 +08:00
nv-dlasalle 27a6eb564c [Examples] Update graphsage multi-gpu example to use mutliple GPUs for validation and testing. (#3827)
* Update graphsage multi-gpu example to use mutliple GPUs for validation and
testing.

* Remove argmax

* Fix rebase error

* Add more documentation to example and simplify

* Switch to name shared memory

* Add comment about how training is distributed

* Restore iteration count

* fix munmap error reporting for better error messages

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-04-06 00:32:37 +08:00
Mufei Li 9fee20b91d [Sampler] [Example] SAINTSampler and Simplify GraphSAINT Example (#3879)
* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Fix

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2022-03-30 13:51:37 +08:00
Liang Wang 0dd500e386 [BugFix] Remove redundant reference of networkx package in pagerank.py (#3888)
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2022-03-30 11:54:03 +08:00
Sai Kandregula 6752bd4515 [Example] layers number fix in GAT example (#3872)
* gat layers fix

* minor bug

Co-authored-by: decoherencer <decoherencer@users.noreply.github.com>
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2022-03-26 15:02:16 +08:00
Quan (Andy) Gan 7d4160869c [Bug] Fix multiple issues in distributed multi-GPU GraphSAGE example (#3870)
* fix distributed multi-GPU example device

* try Join

* update version requirement in README

* use model.join

* fix docs

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2022-03-25 22:04:02 +08:00
Xin Yao 172949d429 [Example] Fix multi-GPU RGCN example (#3871)
* fix multi-gpu rgcn example

* remove dgl.multiprocessing in turorials

* add a comment

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2022-03-23 09:28:36 -07:00
nv-dlasalle 57d2f31f20 [Examples] Add pure gpu example of graphsage (#3796)
* Add pure_gpu example of graphsage

* move to advanced directory

Co-authored-by: Quan Gan <coin2028@hotmail.com>
2022-03-10 17:33:23 -08:00
RecLusIve-F f908f35c38 [Example]Add P-GNN example (#3823)
* [Model]P-GNN

* updata

* [Example]P-GNN

* Update README.md

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2022-03-10 17:39:32 +08:00
Quan (Andy) Gan 44638b9336 fix ddp dataloader in heterogeneous cases (#3801) 2022-03-07 16:56:43 +08:00
Rhett Ying 0528e90d7d [Examples] fix path for load_graph (#3797) 2022-03-03 15:36:48 +08:00
Rhett Ying 0ec439247a [Examples] re-locate load_graph for share (#3784) 2022-03-01 09:32:53 +08:00