Hongzhi (Steve), Chen
b8ed4d9ba3
[Misc] Revert status.py ( #5348 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-21 14:00:08 +08:00
Hongzhi (Steve), Chen
e4e0132972
[Misc] Add debug output to avoid silent failure. ( #5347 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-21 13:42:00 +08:00
Hongzhi (Steve), Chen
0127a2ea4d
[Misc] Update Jenkins status. ( #5345 )
...
* update
* polish
* polish
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-21 12:29:00 +08:00
Hongzhi (Steve), Chen
e330954ca6
[Misc] Print jenkins response for test. ( #5344 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-21 11:32:29 +08:00
Hongzhi (Steve), Chen
deed945625
[Misc] Revert jenkins update change and add build url in log. ( #5343 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-21 11:18:05 +08:00
Hongzhi (Steve), Chen
f87e98e4b5
Update Jenkins response status ( #5342 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-21 11:06:56 +08:00
Hongzhi (Steve), Chen
f0759a96ee
[Misc] Auto-reformat test/. ( #5324 )
...
* auto-format-test
* more
* remove
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-19 22:50:37 +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
86193c26f7
[Misc] Reorg python test (with backend) according to the guideline. ( #5312 )
...
* rename
* remove test transpose
* udpate
* rename
* cleanup
---------
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-17 16:11:39 +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
Hongzhi (Steve), Chen
2bf2566fed
remove ( #5309 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-28-63.ap-northeast-1.compute.internal >
2023-02-17 12:14:02 +08:00
Songqing Zhang
1329be9606
[Misc] Fix build warnings ( #5303 )
...
Co-authored-by: songqing.zhang <songqing.zhang@shopee.com >
2023-02-16 16:44:50 +08:00
nv-dlasalle
2bbca12ad5
[bugfix] Fix assertions in /src/runtime/workspace.h and expand unit tests for sparse optimizer ( #5299 )
...
* Fix assertions for size 0 workspaces
* Expand unit test to cover case of communication
* Fixes
* Format
* Fix c++ formatting
2023-02-16 13:43:03 +08:00
Hongzhi (Steve), Chen
a5e3139155
Set USE_LIBXSMM default to OFF. ( #5287 )
...
* Set USE_LIBXSMM default to OFF.
* update
---------
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-02-16 13:08:11 +08:00
Tingyu Wang
19b3cea166
[Model] Update CuGraphRelGraphConv to use pylibcugraphops=23.02 ( #5217 )
...
* update cugraph_relgraphconv
* update equality test
* update cugraph rgcn example
* update RelGraphConvAgg based on latest API changes
* enable fallback option to fg when fanout is large
---------
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-02-15 20:11:20 +08:00
Quan (Andy) Gan
fb8677b419
[Test] Move example test from unit test to examples ( #5290 )
...
* move example test from unit test to examples
* oops
* oops
* ok
2023-02-14 16:25:05 +08:00
kylasa
432c71ef25
Code changes to fix order sensitivity of the pipeline ( #5288 )
...
Following changes are made in this PR.
1. In dataset_utils.py, when reading edges from disk we follow the order defined by the STR_EDGE_TYPE key in the metadata.json file. This order is implicitly used to assign edgeid to edge types. This same order is used to read edges from the disk as well.
2. Now the unit test framework will also randomize the order of edges read from the disk. This is done for the edges when reading from the disk for the unit tests.
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2023-02-13 10:56:26 -08:00
Quan (Andy) Gan
f62669b05c
enable sparse on windows and mac ( #5277 )
...
* enable sparse on windows and mac
* that was stupid
* let's see what's going on..
* [Sparse] Fix the import error on Mac OS.
When using template functions that are defined in source files from DGL,
the loader of MacOS somehow cannot find their definitions. This fix simply
avoids depending on template functions from DGL headers.
With this fix, the sparse tests all pass on the MAC environment.
* ok this is the problem
* make errors clearer
* uh
* test
* Update __init__.py
* disabling ddp on windows
---------
Co-authored-by: czkkkkkk <zekucai@gmail.com >
2023-02-13 13:16:17 +08:00
Rhett Ying
465828cdbc
[CI] pre-install required py packages in image for unit/tutorial test ( #5276 )
2023-02-10 19:11:30 +08:00
peizhou001
f0b7cc96bd
[Performance]Add concurrent cpu id hashmap ( #5241 )
...
Add Id hash map
2023-02-09 08:51:08 +08:00
ZhenyuLU_Heliodore
5598503aa0
[Transform] Add SVDPE Transform Module ( #5121 )
...
* add SVD positional encoding
* modify importing module
* Fixed certain problems
* Change the test unit to a nonsigular one
* Fixed typo and make accord with lintrunner
* added svd_pe into dgl.rst
* Modified dgl.rst
2023-02-08 12:29:03 +08:00
Hongzhi (Steve), Chen
b3308ae795
Cleanup mock_sparse related code. ( #5230 )
...
* remove_mock_sparse_example
* mock_sparse_test
* remove_mock_sparse
---------
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-02-01 15:17:14 +08:00
Rhett Ying
0c5d6f1b00
[BUILD] enable dgl sparse build in default ( #5175 )
...
* enable dgl sparse build in default
* disable sparse build on cugraph
* update
2023-01-16 14:01:39 +08:00
Quan (Andy) Gan
27010dbc55
[Sparse] Sparse matrix subtraction ( #5164 )
...
* use NotImplemented
* format
* sparse sub
* address comments
* lint
* Update elementwise_op_diag.py
* ugh
Co-authored-by: Rhett Ying <85214957+Rhett-Ying@users.noreply.github.com >
2023-01-16 11:37:42 +08:00
Quan (Andy) Gan
acc567aa08
[Sparse] Support sparse matrix dividing scalar ( #5173 )
...
* use NotImplemented
* format
* extend to pytorch scalar
* sparse div scalar
* oops
* Apply suggestions from code review
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2023-01-13 22:54:58 +08:00
czkkkkkk
b5c5c860f6
[Sparse] Refactor matmul interface. ( #5162 )
...
* [Sparse] Refactor matmul interface.
* Update
2023-01-13 20:08:40 +08:00
Hongzhi (Steve), Chen
9334421d2b
[Sparse] Rename as_sparse to to_sparse, dense to to_dense. ( #5170 )
...
* as_sp_to_sp
* dense
* revert_mock
* test
* revert
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-13 17:03:20 +08:00
Quan (Andy) Gan
5f5db2dfc7
[Sparse] Make functions compatible with PyTorch scalar tensors ( #5163 )
...
* use NotImplemented
* format
* extend to pytorch scalar
* reformat
* reformat
* lint
2023-01-13 14:00:52 +08:00
Quan (Andy) Gan
8abf9d54e3
[Sparse] Use NotImplemented to let Python dispatch types ( #5160 )
...
* use NotImplemented
* add TypeError tests
* format
* lint
* fix type
* fix docstring
* lint
* remove redundant condition
2023-01-12 21:12:29 +08:00
nv-dlasalle
751b4c269d
[Bugfix] Replace global cudaStream in Filter with runtime calls ( fix #5153 ) ( #5157 )
...
* Add failing unit test
* Add fix
* Remove extra newline
* skip cpu test
Co-authored-by: Xin Yao <yaox12@outlook.com >
2023-01-12 16:27:29 +08:00
czkkkkkk
bff32a0986
[Sparse] Use efficient implementation for Diag @ Sparse and Sparse @ Diag. ( #5147 )
2023-01-12 11:53:46 +08:00
Chang Liu
491c19fe4a
[Bugfix] Fix the call of tar.extractall() method ( #5139 )
2023-01-10 23:11:56 -08:00
Quan (Andy) Gan
580c702417
[DataLoader] Allow batch_size=None for GraphDataLoader ( #4483 )
...
* overwrite default_collate_fn
* Update dataloader.py
* Update dataloader.py
* Update dataloader.py
* Update dataloader.py
* Update test_dataloader.py
* revert the test code being reverted in #4956
2023-01-09 00:44:46 +08:00
peizhou001
56ffb650fe
[API Deprecation]Deprecate contrib module ( #5114 )
2023-01-06 20:16:01 +08:00
Mufei Li
c8bc558880
[Sparse] Remove SparseMatrix.indices and add device/dtype conversions ( #5108 )
...
* Update
* Update
* Update
* lint
* lint
* Update
* CI
* Update diag_matrix.py
* Update sparse_matrix.py
* Update sparse_matrix.py
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-01-06 17:37:13 +08:00
peizhou001
c55ab2d147
deprecate candidates in dataloader ( #5117 )
2023-01-06 16:18:32 +08:00
peizhou001
3a2a5031e9
[API Deprecation]Deprecate candidates in dgl.distributed ( #5116 )
2023-01-06 16:17:44 +08:00
Theodore Vasiloudis
9890201d58
[Dist] Allow reading and writing single-column vector Parquet files. ( #5098 )
...
* Allow reading and writing single-column vector Parquet files.
These files are commonly produced by Spark ML's feature processing code.
* [Dist] Only write single-column vector files for Parquet in tests.
2023-01-05 20:37:28 +08:00
Mufei Li
9169fc3541
[Sparse] Polish sparse matrix creation functions ( #5093 )
...
* update
* Update
* Update
* Update
* Update
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2023-01-03 22:59:57 +08:00
czkkkkkk
0698e91a0e
[Sparse] Use Pytorch dense computation in SpMM tests ( #5096 )
2023-01-03 22:26:06 +08:00
Theodore Vasiloudis
774709d399
[Dist] Add support for Parquet-formatted edges files, remove some assumptions on edge file number. ( #5051 )
...
* [Dist] Add support for Parquet-formatted edges files, remove some assumptions on edge file number.
* [Dist] Add parquet edges option to unit tests.
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com >
2023-01-03 16:01:50 +08:00
ZhenyuLU_Heliodore
cd817a1a00
[NN] Add SpatialEncoder and SpatialEncoder3d ( #4991 )
...
* Add SpatialEncoder and SpatialEncoder3d
* Optimize the code execution efficiency
* Fixed certain problems according to Dongyu's suggestions.
* Fix an error about probability of division by zero in PathEcoder; Change certain designs in SpatialEncoder
* Fix a typo
* polish the docstring
* fix doc
* lint
Co-authored-by: Ubuntu <ubuntu@ip-172-31-14-146.ap-northeast-1.compute.internal >
Co-authored-by: rudongyu <ru_dongyu@outlook.com >
2023-01-03 14:02:14 +08:00
Xin Yao
ce378327c7
fix bf16 tests ( #5089 )
2022-12-29 21:36:39 +08:00
Mufei Li
37bd092587
[Sparse] Namespace migration and doc update ( #5088 )
...
* update
* lint
* lint
* comments
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-29 20:34:29 +08:00
Minjie Wang
255ad1b35b
[Sparse] New print for SparseMatrix and DiagMatrix ( #5085 )
...
* new print func
* lintrunner
2022-12-29 15:38:10 +08:00
Minjie Wang
025e43210f
[Sparse] Add tests for sparse examples; Migrate from mock_sparse to mock_sparse2 ( #5073 )
...
* pass gcn
* example tests
* pass gcnii, hgnn, sgc, sign
* black
* test file
* add torchmetrics
* migrate appnp, c_and_s, twirls
* fix style
* minor fix
* fix hypergraphatt and twirls
* pass gat
* fix torchmetric
* lintrunner
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2022-12-29 08:55:25 +08:00
czkkkkkk
14429df661
[Sparse] Support BSpMM and BSDDMM ( #5079 )
...
* [Sparse] Support BSpMM and BSDDMM
* Update SpMM and SDDMM error messages
* Use TORCH_CHECK
* Update error string
2022-12-28 17:14:12 +08:00
Minjie Wang
fa5ff2fceb
[Sparse] Add coalesce and has_duplicate to SparseMatrix ( #5071 )
...
* add coalesce() and has_duplicate()
* Add duplicate check in spspmm
* black
* fix
* clang-format
* lintrunner
* minor fix
* fix
2022-12-28 13:10:10 +08:00
Mufei Li
8c3e7830dc
[Sparse] Elementwise multiplication of a SparseMatrix object by a scalar ( #5076 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-28 09:37:44 +08:00
Mufei Li
0f1bcd9927
[Sparse] Softmax based on Reduction and BroadcastOp ( #5067 )
...
* Update
* update
* Update
* Update
* Update
* format
* Update
* lint
* Update
* lint
* CI
* CI
* Update
* address comments
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal >
2022-12-27 14:50:15 +08:00