提交

提交图

2937 次代码提交

作者 SHA1 备注 提交日期
Minjie Wang c7e3754d38 [Doc] fix colab tutorials (#5205)
* Created using Colaboratory

* Created using Colaboratory

* Created using Colaboratory

* Created using Colaboratory

* minor tweak

* minor fix

* Created using Colaboratory

* Update notebooks/sparse/quickstart.ipynb
2023-01-19 20:53:51 +08:00
Hongzhi (Steve), Chen d965acab7f Change size to shape in print. (#5207)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-19 17:21:11 +08:00
Hongzhi (Steve), Chen c4ffd75223 [Misc] Polish the doc strings. (#5203)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-19 16:37:08 +08:00
Hongzhi (Steve), Chen 050798e9aa Update dgl.sparse rst. (#5201)
* dgl

* blabla

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-19 12:22:48 +08:00
Rhett Ying 535f4b29e3 [Doc] enable note book exec for pytorch backend 2023-01-19 12:19:05 +08:00
Mufei Li dffe722f5d Update (#5196)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-36-188.ap-northeast-1.compute.internal>
2023-01-19 10:16:46 +08:00
Rhett Ying 995c1913aa Update conf.py 2023-01-18 23:26:37 +08:00
Rhett Ying 11d7994708 [Doc] disable nbsphinx exec 2023-01-18 22:52:16 +08:00
Rhett Ying aba0506c81 Update conf.py 2023-01-18 22:29:55 +08:00
Rhett Ying 395b89e4b1 [Doc] add nbsphinx for pytorch only 2023-01-18 21:40:49 +08:00
Rhett Ying 9120b5a71c [Doc] specify backend as pytorch for tutorials (#5198) 2023-01-18 18:40:57 +08:00
Rhett Ying ebca7860f0 [Doc] disable include/exclude_patterns 2023-01-18 17:06:53 +08:00
Rhett Ying 6b3891cb13 Update conf.py 2023-01-18 15:07:47 +08:00
Rhett Ying 8c7d8bd878 [Doc] exclude some patterns 2023-01-18 14:15:21 +08:00
Rhett Ying f7573c6de4 [Doc] run tutorials only in pytorch backend 2023-01-18 13:43:31 +08:00
Rhett Ying fcf9663e69 [Doc] fix regular expression for include/exclude_patterns 2023-01-18 13:04:36 +08:00
Rhett Ying 84fccf5793 [Doc] add include/exclude_patterns when build sphinx (#5195) 2023-01-18 11:59:45 +08:00
Rhett Ying 56682040f1 [Doc] specify pytorch backend for tutorials 2023-01-18 09:59:34 +08:00
Rhett Ying 2331feacca Update conf.py 2023-01-17 17:50:51 +08:00
Rhett Ying ad3b09f189 Update conf.py 2023-01-17 16:29:39 +08:00
Rhett Ying 491237aa16 [Doc] ignore tutorial files for non-pytorch backend (#5191) 2023-01-17 16:09:36 +08:00
Rhett Ying 39106b7de2 [Doc] fix NDArray.numpy() issue (#5190) 2023-01-17 15:25:06 +08:00
Minjie Wang 1a6dd73552 [Doc] other colab tutorials (#5189)
* Created using Colaboratory

* Created using Colaboratory

* Created using Colaboratory

* add link

* Created using Colaboratory

* add link
2023-01-17 14:53:48 +08:00
Minjie Wang 2c143dafab [Doc] Colab tutorial for graph transformer (#5188)
* Created using Colaboratory

* add gt nblink

* Created using Colaboratory

* update

* Add nblink
2023-01-17 14:28:01 +08:00
Minjie Wang 2a8062311f [Doc] Colab tutorial for graph diffusion (#5185)
* Created using Colaboratory

* add diffusion notebook

* update
2023-01-17 14:26:19 +08:00
Hongzhi (Steve), Chen 16dd9584e6 [Sparse] Polish softmax.py. (#5182)
* polish

* [Sparse] Polish softmax.py.

* fix parameter and example

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-17 14:22:10 +08:00
Hongzhi (Steve), Chen 82eb3d71a6 [Sparse] polish strings of matmul.py and sddmm.py. (#5177)
* polish mm docstrings

* fix typo

* small fix.

* fix

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-17 13:55:07 +08:00
Hongzhi (Steve), Chen 84aae0863f [Sparse] Polish reduction.py. (#5180)
* polish

* example

* revert_example

* pylint

* revert_input

* order

* add input as parameter

* example

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-17 13:34:11 +08:00
Hongzhi (Steve), Chen b9c8d458d8 move to cpu (#5187)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-17 13:17:56 +08:00
czkkkkkk f554bc4873 [Sparse] Polish the docstring of SparseMatrix.csr() and SparseMatrix.csc() (#5179)
* [Sparse] Polish the docstring of SparseMatrix.csr() and SparseMatrix.csc()

* Update sparse_matrix.py

* Update

Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-01-17 13:12:48 +08:00
Minjie Wang a1a43d98e8 [Doc] Update notebook (#5184) 2023-01-17 11:23:32 +08:00
Hongzhi (Steve), Chen fa74ea706a [Sparse] Polish diag_matrix.py and sparse_matrix.py. (#5178)
* polish diagonal

* polsih

* more

* more

* add paramaters-back

Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-17 10:46:11 +08:00
Minjie Wang 0868f1796d [Doc] sparse lib tutorial and colab links (#5181)
* Created using Colaboratory

* nbsphinx & nblink

* Created using Colaboratory

* update notebook

* minor update
2023-01-16 18:59:19 +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
czkkkkkk 419fb8151b [Sparse] Use X to represent dense tensors in sddmm (#5174)
* [Sparse] Use X to represent dense tensors in sddmm

* indent

* pylint: disable=invalid-name

Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
2023-01-15 11:52:06 +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
czkkkkkk 1d1b08b044 [Sparse] Fix sddmm docstring (#5169) 2023-01-13 13:53:03 +08:00
Rhett Ying 85bd0cdeca [Doc] remove deprected Node/EdgeDataLoader (#5171) 2023-01-13 13:22:16 +08:00
Rhett Ying f65bd2d6f6 [CI] fix device configure when run on GPU (#5154) 2023-01-13 08:39:04 +08:00
Xin Yao cdfd1e382f Delete train_sampling_unsupervised.py (#5161) 2023-01-12 11:15:48 -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
Quan (Andy) Gan 84e4d0215f change regex (#5158) 2023-01-12 15:04:22 +08:00
czkkkkkk bff32a0986 [Sparse] Use efficient implementation for Diag @ Sparse and Sparse @ Diag. (#5147) 2023-01-12 11:53:46 +08:00
czkkkkkk 21c4c29a36 [Sparse] Reduce peak memory of SpSpAdd. (#5143)
* [Sparse] Reduce peak memory usage of SpSpAdd

* Update

* Update
2023-01-12 11:53:04 +08:00
Hongzhi (Steve), Chen b743f767b6 fix (#5151)
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
2023-01-12 10:13:18 +08:00