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
Quan (Andy) Gan
f94fa9d975
typo ( #5133 )
2023-01-11 22:21:11 +08:00
Hongzhi (Steve), Chen
f1ed5d6de7
blabla ( #5152 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 20:21:55 +08:00
Hongzhi (Steve), Chen
2a78e48f4e
polish ( #5150 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 19:55:38 +08:00
Hongzhi (Steve), Chen
41b4180950
Polish ( #5149 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 19:31:08 +08:00
Hongzhi (Steve), Chen
9c647d8095
[Sparse] Add elementwise mul and div method, and polish the python doc. ( #5142 )
...
* add mul and div
* polish
* equivalent
* indent
* double
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 19:07:32 +08:00
Chang Liu
491c19fe4a
[Bugfix] Fix the call of tar.extractall() method ( #5139 )
2023-01-10 23:11:56 -08:00
Rhett Ying
46455328e4
[CI] fix bugs for multigpu benchmarks ( #5140 )
2023-01-11 14:50:37 +08:00
Hongzhi (Steve), Chen
d837029925
try again. ( #5141 )
...
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 12:59:50 +08:00
Xin Yao
e032de5848
[Bugfix] Avoid initializing CUDA context at importing ( #5134 )
...
* Avoid initializing CUDA at importing
* renaming
2023-01-11 12:30:20 +08:00
Hongzhi (Steve), Chen
1a33ee99d3
[Sparse] Update doc string of element-wise ops for DiagMatrix and SparseMatrix. ( #5136 )
...
* doc
* minor
* black
* no-lint
* reorg
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 12:08:24 +08:00
Hongzhi (Steve), Chen
c5119480f2
[Sparse] Remove unnecessary API exposure. ( #5135 )
...
* remove unnecessary exposure.
* remove_add_power
* remove_warning
* reorder
Co-authored-by: Steve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal >
2023-01-11 11:47:14 +08:00
Quan (Andy) Gan
c6228c0118
update suffix ( #5128 )
2023-01-10 09:56:09 +08:00
Rhett Ying
b7042a141c
[BugFix] fix unexpected exception when agg_type is GCN and bias disabled ( #5127 )
...
* [BugFix] fix unexpected exception when agg_type is GCN and bias is disabled
* Update sageconv.py
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2023-01-10 09:05:44 +08:00
TrellixVulnTeam
5c6af80444
CVE-2007-4559 Patch ( #5122 )
...
* Adding tarfile member sanitization to extractall()
* Update utils.py
Co-authored-by: Hongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com >
2023-01-09 11:49:10 +08:00
Quan (Andy) Gan
f1fb859f99
bump version to 1.0 ( #5123 )
2023-01-09 11:28:26 +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
bgawrych
e296c468b2
[Optimization] Optimize bias term in SageConv layer ( #4747 )
...
* Optimize bias term in sageconv
* fix lint
* Remove bias sharing
* Update sageconv.py
Co-authored-by: Bartlomiej Gawrych <barlomiej.gawrych@intel.com >
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2023-01-08 13:06:46 +08:00
peizhou001
56ffb650fe
[API Deprecation]Deprecate contrib module ( #5114 )
2023-01-06 20:16:01 +08:00
peizhou001
436de3d120
[API Deprecation] Remove _dataloading and tgcn example ( #5118 )
2023-01-06 19:51:55 +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