Akash Choudhuri
5906fa4ce0
[Doc] Made a spelling correction ( #3503 )
...
Changed 'questios' to 'questions'
2021-11-15 18:34:32 +08:00
Ruoyun Huang
5496a99d69
[Doc] Update distributed-preprocessing.rst ( #2850 )
2021-04-20 16:51:46 +08:00
Jialu Zhu
f33f022626
Update message.rst ( #2809 )
2021-04-07 08:35:50 +00:00
Da Zheng
e36c5db614
[Distributed] Simplify distributed API ( #2775 )
...
* remove num_workers.
* remove num_workers.
* remove num_workers.
* remove num-servers.
* update error message.
* update docstring.
* fix docs.
* fix tests.
* fix test.
* fix.
* print messages in test.
* fix.
* fix test.
* fix.
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-132.us-west-1.compute.internal >
2021-03-29 19:19:23 -07:00
Hengrui Zhang
1789972c4b
[Bugfix] add default value for BlockSampler ( #2771 )
...
* [Bugfix] add default value for BlockSampler
* [Doc] modify user_guide description about MultiLayerDropoutSample
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-03-22 14:02:27 +08:00
Da Zheng
17f863569e
fix ( #2744 )
2021-03-21 22:38:55 -07:00
Hengrui Zhang
a1f59c3b68
[Feature] QM9Edge Dataset Support ( #2704 )
...
* [Feature] Support QM9Edge Datset
* Update qm9_edge.py
* disable tqdm
* Update qm9_edge.py
* Update qm9_edge.py
* Update qm9_edge.py
* Update qm9_edge.py
* Update qm9_edge.py
* Update qm9_edge.py
* Update qm9_edge.py
* remove preprocessing part
* add comparisons in qm9.py
* [docs] add qm9edge dataset
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2021-03-09 14:51:21 +08:00
Quan (Andy) Gan
99751d4960
[Doc] Rename block to message flow graph ( #2702 )
...
* rename block to mfg
* revert
* rename
2021-02-25 18:26:19 +08:00
Quan (Andy) Gan
71d53d9eef
add thumbnails for tutorials ( #2695 )
...
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-02-23 20:33:35 +08:00
Da Zheng
48a1794f85
[Doc] Fix the user guide for distributed partitioning. ( #2684 )
...
* fix doc.
* explain the schema file.
* fix.
2021-02-22 18:59:15 -08:00
Minjie Wang
8a07ab7737
[Doc] Tutorials re-organization ( #2683 )
...
* reorg
* change titles
* rm some stale API doc; minor fix
* fix docs
* add warning
* rm new-tutorial run in ci
* lint
2021-02-20 17:42:45 +08:00
Da Zheng
0fc649523b
[Doc] Distributed heterogeneous graph training ( #2654 )
...
* update DistGraph docstrings.
* add user guide.
* add doc string.
* fix.
* fix.
* fix.
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-02-19 10:48:05 -08:00
xiang song(charlie.song)
453d358d2c
[Doc] Fix docs for sparse optimizer ( #2680 )
...
Co-authored-by: Ubuntu <ubuntu@ip-172-31-56-220.ec2.internal >
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-02-19 14:07:35 +08:00
Quan (Andy) Gan
9e04a52abd
[Doc] Reorganize tutorial ( #2678 )
2021-02-19 13:49:13 +08:00
Da Zheng
e4ff484494
[Distributed] Distributed METIS partition ( #2576 )
...
* add convert.
* fix.
* add write_mag.
* fix convert_partition.py
* write data.
* use pyarrow to read.
* update write_mag.py
* fix convert_partition.py.
* load node/edge features when necessary.
* reshuffle nodes.
* write mag correctly.
* fix a bug: inner nodes in a partition might be empty.
* fix bugs.
* add verify code.
* insert reverse edges.
* fix a bug.
* add get node/edge data.
* add instructions.
* remove unnecessary argument.
* update distributed preprocessing.
* fix readme.
* fix.
* fix.
* fix.
* fix readme.
* fix doc.
* fix.
* update readme
* update doc.
* update readme.
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-132.us-west-1.compute.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-202.us-west-1.compute.internal >
2021-02-08 17:19:18 -08:00
Tong He
8ccb8206bf
[Doc] Update docs to motivate the use of set_batch_num_nodes and set_batch_num_edges ( #2630 )
...
* fix doc
* update docstring for transformation on batch graph
* update cn guide
* fix format
* update rst
2021-02-08 14:43:24 +08:00
Quan (Andy) Gan
98ac391ed9
[Doc] Large graph training tutorials ( #2595 )
...
* large graph training tutorials
* add full graph link prediction update
* fix
* fix
* fix
* addressed comments
2021-02-07 17:55:49 +08:00
Mufei Li
3ca52b1e59
[Fix] Various Fix after Bug Bash ( #2620 )
...
* update
* Misc fix
* Update
2021-02-05 17:34:16 +08:00
Mufei Li
b1840f49fa
[Dataset] Change the Data Type of the Node Features in GINDataset/TUDataset from Float64 to Float32 ( #2592 )
...
* Update
* Update
* Update
* update
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Tong He <hetong007@gmail.com >
2021-02-03 21:00:45 +08:00
Quan (Andy) Gan
3a19bbc508
fix doc ( #2604 )
2021-02-02 11:04:43 +08:00
Minjie Wang
4ca706e1b4
[Doc] Update doc of dgl.function ( #2585 )
...
* update doc of dgl.function
* small fix
2021-01-28 16:32:18 +08:00
Zihao Ye
7bab1365e2
[feature] Supporting half precision floating data type (fp16). ( #2552 )
...
* add tvm as submodule
* compilation is ok but calling fails
* can call now
* pack multiple modules, change names
* upd
* upd
* upd
* fix cmake
* upd
* upd
* upd
* upd
* fix
* relative path
* upd
* upd
* upd
* singleton
* upd
* trigger
* fix
* upd
* count reducible
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* upd
* only keep related files
* upd
* upd
* upd
* upd
* lint
* lint
* lint
* lint
* pylint
* upd
* upd
* compilation
* fix
* upd
* upd
* upd
* upd
* upd
* upd
* upd doc
* refactor
* fix
* upd number
Co-authored-by: Zhi Lin <linzhilynn@gmail.com >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-42-78.us-east-2.compute.internal >
Co-authored-by: Ubuntu <ubuntu@ip-172-31-21-156.us-east-2.compute.internal >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-01-28 11:21:58 +08:00
xiang song(charlie.song)
a7e941c379
[Feature] Add support for sparse embedding ( #2451 )
...
* Add sparse embedding for dgl and update rgcn example
* upd
* Fix
* Revert "Fix"
This reverts commit 4da87cdfb8b8c3506b7fc7376cd2385ba8045c2a.
* Fix
* upd
* upd
* Fix
* Add unitest and update impl
* fix
* Clean up rgcn example code
* upd
* upd
* update
* Fix
* update score
* sparse for sage
* remove model sparse
* upd
* upd
* remove global norm
* revert delete model_sparse.py
* update according to comments
* Fix doc
* upd
* Fix test
* upd
* lint
* lint
* lint
* upd
* upd
* clean up
Co-authored-by: Ubuntu <ubuntu@ip-172-31-56-220.ec2.internal >
2021-01-28 00:26:49 +08:00
Tong He
0855d25501
[NN] Support scalar edge weight for GraphConv, SAGEConv and GINConv ( #2557 )
...
* add edge weight in forward
* fix lint
* fix
* fix
* address comments
* add utils
* add util to normalize in gcn way
* fix lint
* add unittest
* fix lint
* fix docstring
* fix docstring
* address comments
* improve notation consistence
* use preferred fn
2021-01-26 23:34:12 +08:00
Quan (Andy) Gan
6c23fba8fa
[Doc][Org] move edge_softmax to functional ( #2442 )
...
* move edge_softmax to functional
* change examples
* fixes
* revert
* fix
* fix
* remove
* fix
* test
* add init
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-01-26 12:46:37 +08:00
Quan (Andy) Gan
2288098ba6
[Feature] Converting a block to a graph and allow block construction ( #2555 )
...
* first commit
* more commit
* fix and docstring
* add to api reference
* address comments
* Update convert.py
2021-01-24 12:44:54 +08:00
xnouhz
2c6d071617
[Feature] QM9 Dataset Support ( #2521 )
...
* [Model] MixHop for Node Classification task
* [docs] update
* [docs] update
* [fix] remove seed option
* [fix] update readme
* [feature] support qm9 dataset
* [style] update
* [docs] fix the details
* [fix] indexing only support int
* [style] update
* [fix] multiple backends support
* [docs] add qm9
* [fix] Z type: float32 -> int32
* [fix] Z type: int32 -> long
* [docs] add ref
* [docs] fix
* [docs] update
* [docs] update
* [fix] test eval
* [docs] fix example
Co-authored-by: xnuohz@126.com <ubuntu@ip-172-31-44-184.us-east-2.compute.internal >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-01-21 01:33:30 +08:00
Jinjing Zhou
917a755291
[Fix] fix version check ( #2544 )
2021-01-19 19:35:43 +08:00
Mufei Li
a6ec8480ef
[Doc] Update FAQ ( #2536 )
2021-01-14 14:26:02 +08:00
Da Zheng
1db7588739
fix. ( #2534 )
...
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-01-14 14:23:36 +08:00
zhjwy9343
c448e61b55
[Doc] CN User Guide Chapter 7 ( #2481 )
...
* [Doc] Add Chapter 7
* [Doc] Add CN part 7, 7.1, 7.2, and 7.3
* [Doc] Add CN part 7, 7.1, 7.2, and 7.3
* [Doc] 1st round copyediting, 7, 7.1, 7.2, and 7.3, removing EN parts.
* [Doc] 2nd round copyediting.
* [Doc] 3rd round copyediting.
* [Doc] Copyedit with reviewers' comments.
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2021-01-13 19:28:20 +08:00
zhjwy9343
31f65f036a
[Doc] user guide CN chapter 6 ( #2452 )
...
* [Doc] Add 1st CN in chapter 6
* [Doc] Add 1st CN in chapter 6
* [Doc] Add 1st CN in chapter 6.1
* [Doc] Add 1st CN in chapter 6.1
* [Doc] Add 1st CN in chapter 6.2
* [Doc] Add CN in chapter 6.2
* [Doc] Add CN in chapter 6.3
* [Doc] Fix a code bug in chapter 6.3
* [Doc] Add CN in chapter 6.4, 6.5, and 6.6.
* [Doc] Add CN in chapter 6.4, 6.5, and 6.6,then remove EN parts.
* [Doc] revised 6.4, 6.5, and 6.6.
* [Doc] 2nd round of copyediting.
* Delete syn1.bin
Remove this unrelated file to this branch
* [Doc] Update guide_cn index.rst.
* [Doc] Update guide_cn index.rst.
* [Doc] Update guide_cn index.rst.
* [Doc] Update guide_cn index.rst.
* [Doc] Add chapter 7 in index page
* [Doc] edit chapter 6 in PR
* [Doc] edit chapter 6 in PR
* [Doc] Copyediting with Murphy and Minjie's comments.
* [Doc] Fix doc line in the previous chapters.
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2021-01-13 17:12:33 +08:00
Tong He
a9f8f2589c
[Doc] Update GraphDataLoader in our docs ( #2504 )
...
* update graphdataloader in docs
* fix
* update examples
* fix sagpool
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com >
2021-01-11 13:11:19 +08:00
Quan (Andy) Gan
e018939729
[Tutorial] New tutorials for small graphs ( #2482 )
...
* new tutorials for small graphs
* address changes and use GraphDataLoader
* fix and add data
* fix load_data
* style fixes
* Update 5_graph_classification.py
2021-01-10 22:24:21 +08:00
Tong He
e2e524df41
[Feature] Add GraphDataLoader implementation ( #2496 )
...
* add graph dataloader
* add to doc
* fix
* fix
* fix docstring
* update according to torch default_collate
* add unittest
* fix
* fix lint
* fix
2021-01-07 13:38:21 +08:00
Zihao Ye
fa5f4d6aa7
[Doc] Hotfix on docstring of set_batch_num_edges ( #2498 )
2021-01-06 21:45:04 +08:00
Quan (Andy) Gan
4507bebc1a
add compute_loss example in link prediction user guide ( #2487 )
2021-01-06 14:27:51 +08:00
Zihao Ye
f960468f50
[feature] APIs for manually set batch_num_nodes and batch_num_edges ( #2430 )
...
* wip
* udp
* upd
* fix typo
* lint
* lint
* upd
* upd
* lint
* lint
* upd
* upd
* tftest
* fix
* fallback numpy
* fix tf
* docstring
Co-authored-by: Mufei Li <mufeili1996@gmail.com >
2021-01-04 23:43:58 +08:00
Quan (Andy) Gan
d696558b0b
fix building script for tensoradapter on mac ( #2472 )
...
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com >
2021-01-02 02:59:14 +08:00
Quan (Andy) Gan
9a7235faf2
[Performance] Use allocator from PyTorch if possible ( #2328 )
...
* first commit
* some thoughts
* move around
* more commit
* more fixes
* now it uses torch allocator
* fix symbol export error
* fix
* fixes
* test fix
* add script
* building separate library per version
* fix for vs2019
* more fixes
* fix on windows build
* update jenkinsfile
* auto copy built dlls for windows
* lint and installation guide update
* fix
* specify conda environment
* set environment for ci
* fix
* fix
* fix
* fix again
* revert
* fix cmake
* fix
* switch to using python interpreter path
* remove scripts
* debug
* oops sorry
* Update index.rst
* Update index.rst
* copies automatically, no need for this
* do not print message if library not found
* tiny fixes
* debug on nightly
* replace add_compile_definitions to make CMake 3.5 happy
* fix linking to wrong lib for multiple pytorch envs
* changed building strategy
* fix nightly
* fix windows
* fix windows again
* setup bugfix
* address comments
* change README
2020-12-25 13:57:51 +08:00
Zihao Ye
baace710cf
[documentation] Improve the docstring of global pooling layer ( #2437 )
...
* upd
* fix-link
* lint
2020-12-21 10:12:54 +08:00
Mufei Li
492ad9be81
[Fix] Avoid Overloading Nonzero for PyTorch Backend ( #2434 )
...
* Update gatedgraphconv.py
* Update entity_classify.py
* Update data-process.rst
* Update reading_data.py
* Update data-process.rst
* Update utils.py
* Update knowledge_graph.py
* Update entity_classify.py
* Update rdf.py
* Update entity_classify_mb.py
* Update test_classify.py
* Update tensor.py
* Update sparse.py
* Update entity_classify_mp.py
* Update 6_line_graph.py
2020-12-20 13:12:17 +08:00
Tianjun Xiao
50f1f4ae78
Remove details about message passing optimization ( #2425 )
...
* remove details about message passing optimization
* address comments
2020-12-16 14:56:38 +08:00
Minjie Wang
8d0811385b
[Doc] Update installation page
...
Remove the out-dated part. Add a link to the get started page.
2020-12-15 16:58:13 +08:00
zhjwy9343
dc072dca7d
[Doc] Add User Guide CN index page ( #2413 )
...
* [Doc] Add CN index page
* [Doc] Test table in contributor list
* [Doc] Test table in contributor list
* [Doc] Add table contents in contributor list
* [Doc] Add table contents in contributor list
* [Doc] Edit table contents in contributor list
* [Doc] Edit table contents in contributor list
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2020-12-10 12:39:54 +08:00
Quan (Andy) Gan
535aa3d33a
[Doc]modify the wrong code in initialize the hetero_graph negative sampler ( #2382 ) ( #2411 )
...
* modify the wrong code in initialize the hetero_graph negative sampler
the etype in hetero graph should be name of edges
self.weights = {
etype: g.in_degrees(etype=etype).float() ** 0.75
for _, etype, _ in g.canonical_etypes
}
the original code will give etype a Tuple format, it cannot apply to the next processing:
self.weights[etype].multinomial(len(src), replacement=True)
and I add the part which confusing me to generate eid_dict
* fix
Co-authored-by: Quan Gan <coin2028@hotmail.com >
Co-authored-by: Shaow <coco11563@yeah.net >
2020-12-09 23:41:02 +08:00
zhjwy9343
35f27c73df
[Doc] user guide Chinese chapter 5 ( #2384 )
...
* [Doc] Add CN chapter 5
* [Doc] Add CN 5.1
* [Doc] Add CN 5.2, 5.3, and 5.4 raw text
* [Doc] Add CN 5.2, 5.3, and 5.4 raw text
* [Doc] Put 5.1 CN parts
* [Doc] Put 5.2,5.3, and 5.4 raw CN parts
* [Doc] Fix linkage bugs.
* [Doc] 1st round of copyediting, Chapter5, 5.1, and part of 5.2
* [Doc] 2nd round of copyediting, removing EN parts.
* [Doc] 2nd round of copyediting, removing EN parts.
* [Doc] 2nd round of copyediting, removing EN parts.
* [Doc] 2nd round of copyediting, removing EN parts.
* [Doc] 3rd round of copyediting.
* [Doc] 4th round of copyediting to Minjie's comments.
* [Doc] 4th round of copyediting to Minjie's comments.
* [Doc] 4th round of copyediting to Minjie's comments.
* [Doc] 4th round of copyediting to Minjie's comments.
* [Doc] 4th round of copyediting to Minjie's comments.
* [Doc] 4th round of copyediting to Minjie's comments.
* [Doc] 5th round of copyediting to Murphy's comments.
2020-12-09 16:27:29 +08:00
Tong He
73a008d479
[Doc]Add example graph batch code to graph classification guide ( #2401 )
...
* add example code to user guide
* improvement
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com >
2020-12-08 17:01:15 +08:00
Xiangkun Hu
fcf1193579
[Doc] Hidden implementations that may cause confusion to the user. ( #2378 )
...
* PPIDataset
* Revert "PPIDataset"
This reverts commit 264bd0c960cfa698a7bb946dad132bf52c2d0c8a.
* data pipeline user guide
* remove chapter numbers
* Update data.rst
* image in dataset userguide
* update links using ref
* modify the link of save_graphs and load_graphs in dataset user guide
* move image to s3 server.
* fix links and ref
* Hide implementations that may cause confusions to the user
2020-12-03 13:09:19 +08:00
Quan (Andy) Gan
38077e298b
installation and doc fix ( #2379 )
2020-11-30 19:47:40 +08:00