Commit Graph

49 Commits

Author SHA1 Message Date
Andrei Ivanov
cf829dc38e Fixing some unittest warnings. (#6122)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-08-10 11:53:20 +08:00
Andrei Ivanov
77c84834c8 Improving serialize tests (#6116) 2023-08-10 10:21:01 +08:00
Andrei Ivanov
d19887cde5 Improving transform tests. (#6123) 2023-08-10 09:59:25 +08:00
caojy1998
bcb5be4ac8 [Bug fix] Fix the bug in creating unibipartite heterogenous graph (#6093)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-21-37.ap-northeast-1.compute.internal>
2023-08-07 18:50:22 +08:00
Andrei Ivanov
5c7681b2d1 Removing warnings appearing in heterograph tests (#6095)
Co-authored-by: Xin Yao <xiny@nvidia.com>
2023-08-07 10:46:35 +08:00
Ilia Taraban
8c213ef122 [Feature] Enable bfloat16 convert functions in Python API (#5760) 2023-07-31 18:09:32 +08:00
Quan (Andy) Gan
cf5c19302e [Bugfix] Fix 5873 (#5884)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-07-27 12:33:22 +08:00
Muhammed Fatih BALIN
69a532c1ab [Feature] Gpu cache for node and edge data (#4341)
Co-authored-by: xiny <xiny@nvidia.com>
2023-07-24 13:17:10 +08:00
AdamGrabowski
4135b1bd5b [Performance] Fused sampling with compaction (#5924)
Co-authored-by: Hesham Mostafa <hesham.mostafa@intel.com>
2023-07-20 09:38:22 +08:00
Rhett Ying
b26da25297 [GraphBolt] remove pydantic_yaml from dependency (#6011)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-07-19 10:48:46 +08:00
Muhammed Fatih BALIN
c3aea1b62c [Performance][CUDA] Labor UVA optimization (#5885)
Co-authored-by: Xin Yao <xiny@nvidia.com>
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com>
2023-07-13 19:56:31 +08:00
caojy1998
55af15d4a9 [BugFix]Use Python API for relabel_nodes (#5937)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-6-31.ap-northeast-1.compute.internal>
2023-07-04 20:44:59 +08:00
Rhett Ying
cdf65f4dd6 Revert "[CI] Temmprarily skip ogb-related tests" (#5944) 2023-07-04 07:22:55 +08:00
Andrzej Kotłowski
4bc256b11f [Test] Run test_spmm also on floats (#5930) 2023-06-30 12:04:31 +02:00
Rhett Ying
a49c6ddc9c [CI] Temmprarily skip ogb-related tests (#5907) 2023-06-28 07:23:34 +08:00
Jiahang Li
d381f2263d [Dataset] MovieLens (#5567)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-17-164.ap-northeast-1.compute.internal>
2023-06-19 16:48:27 +08:00
OlegPlatonov
921476c8c6 [Dataset] Add heterophilous graphs. (#5853)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-06-15 09:14:19 +08:00
keli-wen
ae17185a65 [Sparse] Update code and add unittest for formats (#5859) 2023-06-13 15:46:34 +08:00
caojy1998
2446f2fd69 [Test] Add testcase for function AddSelfLoop (#5858)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-6-31.ap-northeast-1.compute.internal>
2023-06-13 14:59:50 +08:00
rudongyu
9211d34fb8 [BugFix] Fix khop_adj (#5754) 2023-06-07 14:16:20 +08:00
Nicola Vitucci
a9d6f77012 [Feature] Support heterogeneous graphs in the to_networkx method (#5726)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-06-01 19:49:15 +08:00
galogm
dd768a57f6 [Bugfix] dgl.linkx_homophily calculation fails when all class homophily=0 (#5720)
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-05-22 14:34:31 +08:00
Chang Liu
e6eefd1a13 [Bugfix] Fix the uninitialized pin_memory flag for empty graph (#5609) 2023-04-26 17:56:01 -07:00
Chang Liu
00c3edc1cf [Bugfix] Fix unit test failures on older GPUs (#5579) 2023-04-21 18:33:51 -07:00
czkkkkkk
f41934df87 [Sparse] Add conversion between DGLGraph and SparseMatrix. (#5553) 2023-04-20 18:00:34 +08:00
Kunal Mukherjee
95aaa4934a [Fix] np.float and np.int deprecated usage (#5563)
Co-authored-by: kxm180046 <kxm180046@utdallas.edu>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-04-17 18:48:03 +08:00
Kunal Mukherjee
23ef2ddd71 [Fix] np.asscalar deprecated usage (#5557)
Co-authored-by: kxm180046 <kxm180046@utdallas.edu>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-04-17 13:52:25 +08:00
rudongyu
bb1f8850e5 [NN] Refactor the Code Structure of GT (#5100) 2023-04-14 11:50:14 +08:00
Chang Liu
62b5f50a5c [Feature] Import PyTorch's pin_memory() method for DGL graph structure (#5366) 2023-04-10 19:21:32 -07:00
Ilia Taraban
acb4eb7ecd [Feature] Add bfloat16 support for CPU (#5497)
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-04-06 11:16:41 +02:00
Mufei Li
a244de579c [Dataset] WisconsinDataset (#5520)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-04-04 16:44:26 +08:00
Mufei Li
dd4c74ff32 [Dataset] CornellDataset and TexasDataset (#5513)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-04-03 16:16:37 +08:00
Mufei Li
2b5921e759 [Dataset] Actor (#5511)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-03-31 10:28:50 +08:00
Mufei Li
690f37bbe9 update (#5507)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-03-28 19:22:44 +08:00
Hongzhi (Steve), Chen
5b409bf7f5 Rename_test (#5487)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-03-24 18:44:24 +08:00
Mufei Li
9e532e7def [Dataset] Chameleon (#5477)
* update

* update

* update

* lint

* update

* CI

* lint

* update doc

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-03-23 22:34:00 +08:00
ZhenyuLU_Heliodore
4534650f5f [Dataset] Add ZINC Dataset (#5428)
* Update dgl.data.rst

* Add files via upload

* Add files via upload

* Add files via upload

* Update zinc.py

* Update dgl.data.rst

* Update test_data.py

* Add files via upload

* Update cluster.py

* Update pattern.py

* Update zinc.py

* Update zinc.py

* Update test_data.py

* lint

* fix

* fix path

* update test on label shape

---------

Co-authored-by: rudongyu <ru_dongyu@outlook.com>
2023-03-22 18:04:41 +08:00
Hongzhi (Steve), Chen
8a83027274 [Misc] Merge test utils. (#5440)
* merge

* format

* rename

* sort

* sort

* update

* update

* update

* Update tests/utils/checks.py

Co-authored-by: Mufei Li <mufeili1996@gmail.com>

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2023-03-20 15:32:45 +08:00
Daniil Sizov
87fb7ed05b [Config] Enable libxsmm by default for AVX cpu (#5165)
* Enable AVX by default

* Fix linting errors

* Fix win64 build (libxsmm not linked)

Libxsmm on Win64 is not linked, should be disabled by default

* Fix clang format issues

* Change lower supported cpu version to LIBXSMM_X86_AVX2

Change lower supported cpu version to LIBXSMM_X86_AVX2 to address https://github.com/dmlc/dgl/issues/3459 issue

* Fix unit test

Remove assumption that libxsmm is enabled in the config by default (only true for intel CPUs with AVX2 instructions)

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-15-137.us-west-2.compute.internal>
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2023-03-16 02:05:22 +08:00
Gleb Bazhenov
54b4bd0acd [Data] new functional for creating data splits in graph (#5418)
* new functional for creating data splits in graph

* minor fix in data split implementation

* apply suggestions from code review

Co-authored-by: Mufei Li <mufeili1996@gmail.com>

* refactoring + unit tests

* fix test file name

* move imports to the top

* Revert "fix test file name"

This reverts commit 126323e38c.

* remove nccl submodule

* address linter issues

---------

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-03-09 18:55:25 +08:00
Hongzhi (Steve), Chen
e250ba3d99 [Misc] Rename test_utils -> pytests_utils. (#5438)
* rename

* sort

* rename

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-03-09 09:42:29 +08:00
Guangyu Zhou
178290249e [Dataset] Add PATTERN dataset (#5422)
* add PATTERN dataset

* fix bug

* fix bugs

* fix issues

* refine according to dongyu's comments

---------

Co-authored-by: BuptTab <gyzhou2000@gmail.com>
Co-authored-by: rudongyu <ru_dongyu@outlook.com>
2023-03-08 14:08:12 +08:00
Xin Yao
8d5d8962ad [Refactor] Replace third_party/nccl with PyTorch's NCCL backend (#4989)
* expose GeneratePermutation

* add sparse_all_to_all_push

* add sparse_all_to_all_pull

* add unit test

* handle world_size=1

* remove python nccl wrapper

* remove the nccl dependency

* use pinned memory to speedup D2H copy

* fix lint

* resolve comments

* fix lint

* fix ut

* resolve comments
2023-03-08 12:59:10 +08:00
Mufei Li
f00cd6efbd [Utils] Edge and LINKX homophily measure (#5382)
* Update

* lint

* lint

* r prefix

* CI

* lint

* skip TF

* Update

* edge homophily

* linkx homophily

* format

* skip TF

* fix test

* update

* lint

* lint

* review

* lint

* update

* lint

* update

* CI

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-03-03 16:58:20 +08:00
Zhiteng Li
a53ecd229b [Dataset] Add CLUSTER dataset (#5389)
* add CLUSTER dataset

* refine according to dongyu's comments

---------

Co-authored-by: rudongyu <ru_dongyu@outlook.com>
2023-03-01 16:36:12 +08:00
Mufei Li
fcf5ad5f49 [Utils] Node homophily measure (#5376)
* Update

* lint

* lint

* r prefix

* CI

* lint

* skip TF

* Update

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-02-24 14:26:02 +08:00
peizhou001
7ff041528c [Refactor] Add default ffi namespce capi (#5359) 2023-02-22 21:33:30 +08:00
Hongzhi (Steve), Chen
74c9d27d16 [Misc] Auto-format tests. (#5313)
* [Misc] Auto-format tests.

* more

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-02-17 23:33:44 +08:00
Hongzhi (Steve), Chen
d9e550369f [Misc] Reorg python test according to the guideline. (#5307)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal>
2023-02-17 16:08:20 +08:00