提交

提交图

3215 次代码提交

作者 SHA1 备注 提交日期
Quan (Andy) Gan 9e630101a1 fix and lots of tests (#2650) 2021-02-12 11:40:05 +08:00
Zihao Ye cf8a3fb305 [hotfix] Address the performance issue of topk. (#2628)
* upd

* fix

* upd

* upd

* udp

* upd

* upd

* upd

* upd

* upd

* upd

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-02-11 00:00:39 +08:00
Tianqi Zhang (张天启) e46983f662 [Bug Fix][Example] fix dataloader bug in gxn (#2631)
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-02-10 11:21:34 +08:00
Minjie Wang 22ccf4365a [Test] Tweak end2end benchmarks to be more reasonable (#2643)
* change timeout to reasonable ranges

* rgcn ns

* fix all ns speed tests

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-02-09 11:08:55 +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
Jinjing Zhou 0aca566000 [Regression] Fix regression tests (#2639)
* add bench jenkins

* instance type

* fix

* fix

* fix

* 111

* test

* 111

* 111

* fix

* test

* run

* fix

* fix

* fix

* fix

* fix

* publish results

* 111

* regression

* launch ec2 script

* fix

* add

* run on master

* change

* rrr

* run gpu

* fix

* fix

* try fix

* fix

* ff

* fix

* fix

* fix

* refactor

* fix

* fix

* update

* fix

* fix

* fix

* fix

* remove import torchtext

* add shm size

* update

* fix

* fix

* fix

* fix

* fix this!!!!

* 111

* fix

* remove verbose

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* update readme

* fix

* fix

* fix

* change asv default to head

* commit sage and rgcn

* fix

* update

* add benchmarks

* add

* fix

* update

* remove RandomState

* tmp remove

* new batch

* fix

* fix

* fix

* address comment

* fix warning

* fix

* fix

* fix

* fix

* add multiupdate all

* address comment

* fix

* add benchmarks

* add

* fix timing

* fix

* push

* add -v

* [Example] NGCF (#2564)

* ngcf

* ngcf

* update

Co-authored-by: zhjwy9343 <6593865@qq.com>

* Revert "[Example] NGCF (#2564)" (#2611)

This reverts commit a75e04f408c719289f478ca129784e05655d8def.

* fix

* change task

* fix

* fix

* fix2

* enable tensoradapter when benchmark

* minor fix

* trigger ci

* fix

* fix

* fix

* fix

* fix

* fix

* lint

* fix

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
Co-authored-by: KounianhuaDu <51199171+KounianhuaDu@users.noreply.github.com>
Co-authored-by: zhjwy9343 <6593865@qq.com>
2021-02-08 17:01:35 +08:00
Quan (Andy) Gan 117dd25204 [Doc] Fix inconsistencies and GPU code (#2642)
* fix inconsistencies and GPu

* bug fixes

* fix

* trigger new tutorials
2021-02-08 16:33:39 +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
xiang song(charlie.song) 48d357b8f6 Fix numbers (#2641)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-56-220.ec2.internal>
2021-02-08 14:05:30 +08:00
nv-dlasalle bc3a532f5e [Sampling] Implement dgl.to_block() for the GPU (#2339)
* Add start of to_block gpu implementation

* Pull in more changes from 0.4.2 cuda_to_block

* Move more code to IdArray

* Refactor DeviceNodeMapMaker

* Updates

* get compiling

* Integrate to_block

* Fix ID allocation

* Minor fixes

* Cleanup cuda calls to use cuda_common

* Reduce kernel calls

* Lint cleanup

* Expand documentation

* Remove unused function

* Rename variables for consistency

* Add doxygen comments

* Fix file extension

* Remove raw asynccopy for deviceapi

* Remove unused function

* Fix block/tile configuration

* Add cuda_device_common.cuh

* Add basic hashtable

* Migrate part of hashtable

* Refactor to use external hashtable

* Make functions members

* Format hash table functions

* Migrate duplicate filling

* Move last function over

* Refactor with cu file

* lint c++ code

* Move context check to C++ code

* Use macro switch

* Add missing files

* Update docstring

* update docs

* Move atomic functions

* Refactor hashtable

* Fix linting

* Expand docs

* Fix mismatched argument names

* Switch doxygen comments from using @param to \param

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-02-08 13:00:43 +08:00
Tianjun Xiao ae18d7f04e [Example]Add dependencies for GNN-Film and dagnn (#2633)
* add dependencies for GNN-Film and dagnn

* fix

* fix

* fix
2021-02-08 10:42:32 +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
Jinjing Zhou 0346b0aa80 [Test] Add test for Cython and force rebuild when run setup.py (#2635) 2021-02-05 22:38:46 +08:00
Tianqi Zhang (张天启) 3cf42fd199 [Bug Fix][Example] hgp-sl: More info for running (#2634)
* [Bug Fix][Example] hgp-sl: More info for running

* change list to table

* change dataset summary in gxn and sagpool

* remove redundent

Co-authored-by: Tong He <hetong007@gmail.com>
2021-02-05 18:26:33 +08:00
Mufei Li 3ca52b1e59 [Fix] Various Fix after Bug Bash (#2620)
* update

* Misc fix

* Update
2021-02-05 17:34:16 +08:00
Chen Sirui f8c9d58aed [Bug] Hardgat enable gpu training (#2632)
* add multihead in DotGatConv

* Fix spacing issue

* Add Unit test for dotgat

* Modified Unit test for dotgat

* Add transformer like divisor

* Update dotgatconv.py

* Update hgao.py

* Update train.py

Co-authored-by: Chen <chesirui@3c22fbe5458c.ant.amazon.com>
Co-authored-by: Zihao Ye <expye@outlook.com>
2021-02-05 16:52:41 +08:00
xiang song(charlie.song) 23afe911b2 [Bug Fix] Fix several sparse optimizer bugs (#2596)
* Fix pytorch TCP kvstore bug

* lint

* Fix

* upd

* Fix lint

* Fix

* trigger

* fix

Co-authored-by: Ubuntu <ubuntu@ip-172-31-56-220.ec2.internal>
2021-02-05 11:49:41 +08:00
KounianhuaDu 2f71bc507a [Example] Neural Graph Collaborative Filtering (NGCF). (#2612)
* ngcf

* ngcf

* update

* ngcf

* ngcf

* remove data

* update

* data

Co-authored-by: zhjwy9343 <6593865@qq.com>
Co-authored-by: Zihao Ye <expye@outlook.com>
2021-02-05 00:32:21 +08:00
Minjie Wang 469088ea52 [Test] Add benchmarks for end-to-end training w/ UDF message passing (#2609)
* model acc test

* add model speed test

* [Example] NGCF (#2564)

* ngcf

* ngcf

* update

Co-authored-by: zhjwy9343 <6593865@qq.com>

* Revert "[Example] NGCF (#2564)" (#2611)

This reverts commit d88a9b1b2c52becb8cc7faebceca6e52c763de19.

* use timer

Co-authored-by: KounianhuaDu <51199171+KounianhuaDu@users.noreply.github.com>
Co-authored-by: zhjwy9343 <6593865@qq.com>
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Zihao Ye <expye@outlook.com>
2021-02-04 14:40:00 +08:00
张恒瑞 94ab9709a7 [Bugfix] fix a typo in consis_loss function (#2616) 2021-02-04 11:59:41 +08:00
wcyjames ff345c2e22 [Example] update PointNet and PointNet++ examples for Part Segmentation (#2547)
* [Model] update PointNet example for Part Segmentation

* Fixed issues with pointnet examples

* update the README

* Added image

* Fixed README and tensorboard arguments

* clean

* Add timing

* Update README.md

* Update README.md

Fixed a typo

Co-authored-by: Tong He <hetong007@gmail.com>
2021-02-03 22:15:46 +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
Jinjing Zhou d460efee3e [Test] More regression tests (#2591)
* add bench jenkins

* instance type

* fix

* fix

* fix

* 111

* test

* 111

* 111

* fix

* test

* run

* fix

* fix

* fix

* fix

* fix

* publish results

* 111

* regression

* launch ec2 script

* fix

* add

* run on master

* change

* rrr

* run gpu

* fix

* fix

* try fix

* fix

* ff

* fix

* fix

* fix

* refactor

* fix

* fix

* update

* fix

* fix

* fix

* fix

* remove import torchtext

* add shm size

* update

* fix

* fix

* fix

* fix

* fix this!!!!

* 111

* fix

* remove verbose

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* update readme

* fix

* fix

* fix

* change asv default to head

* commit sage and rgcn

* fix

* update

* add benchmarks

* add

* fix

* update

* remove RandomState

* tmp remove

* new batch

* fix

* fix

* fix

* address comment

* fix warning

* fix

* fix

* fix

* fix

* add multiupdate all

* address comment

* fix

* add benchmarks

* add

* fix timing

* fix

* push

* add -v

* [Example] NGCF (#2564)

* ngcf

* ngcf

* update

Co-authored-by: zhjwy9343 <6593865@qq.com>

* Revert "[Example] NGCF (#2564)" (#2611)

This reverts commit a75e04f408c719289f478ca129784e05655d8def.

* fix

* change task

* fix

* fix

* fix2

* enable tensoradapter when benchmark

* minor fix

* trigger ci

* fix

* fix

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
Co-authored-by: KounianhuaDu <51199171+KounianhuaDu@users.noreply.github.com>
Co-authored-by: zhjwy9343 <6593865@qq.com>
2021-02-03 19:10:07 +08:00
Zihao Ye fb4a0508c6 [bugfix] Solve the boundary issue in backward function of segment sum (#2610)
* upd

* trigger

* upd
2021-02-03 18:50:07 +08:00
S22 b04cf65b2b [Bugfix] Fix sparseadam bug in metapath2vec(pytorch) (#2607)
It seems that there is a bug in Sparseadam in PyTorch, and it can be temporarily fixed by: 
optimizer = optim.SparseAdam(list(self.skip_gram_model.parameters()), lr=self.initial_lr)

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-02-03 17:27:20 +08:00
Quan (Andy) Gan 47c9380555 [Performance] Fix Cython not being imported after switching to RTLD_LOCAL (#2608)
* fix

* ?

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-02-02 16:23:54 +08:00
Yu Sun 20d49771df [Feature] Add reverse edges in CitationGraphDataset (#2588)
* [Feature] Add reverse edges in CitationGraphDataset

* fix bug

* fix bug

* fix bug

* Update python/dgl/data/citation_graph.py

Co-authored-by: Xiangkun Hu <huxk_hit@qq.com>

* fix notes

* fix notes

* fix bugs

* solve requested changes

* fix bug

* fix bug

Co-authored-by: Xiangkun Hu <huxk_hit@qq.com>
2021-02-02 15:52:43 +08:00
Quan (Andy) Gan 3a19bbc508 fix doc (#2604) 2021-02-02 11:04:43 +08:00
Zihao Ye db57809da1 [hotfix] Add data type check for kernels. (#2598)
* upd

* upd
2021-01-31 13:08:05 +08:00
Quan (Andy) Gan 460bb42df7 fix build problems (#2594) 2021-01-29 17:46:31 +08:00
Quan (Andy) Gan 1f6eba9ed3 [Bug] Heterogeneous graph convolution bugfix (#2578)
* fix heterograph conv

* remove test cases

* fix test

* fix test

* fix test

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-01-29 09:30:19 +08:00
Chen Sirui e4ddafe951 [NN] add multihead in DotGatConv (#2549)
* add multihead in DotGatConv

* Fix spacing issue

* Add Unit test for dotgat

* Modified Unit test for dotgat

* Add transformer like divisor

* Update dotgatconv.py

Co-authored-by: Chen <chesirui@3c22fbe5458c.ant.amazon.com>
Co-authored-by: Zihao Ye <expye@outlook.com>
2021-01-28 21:05:10 +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
Jinjing Zhou 6ce2dc3415 [Test] Regression Test for update_all and apply_edges (#2568)
* add bench jenkins

* instance type

* fix

* fix

* fix

* 111

* test

* 111

* 111

* fix

* test

* run

* fix

* fix

* fix

* fix

* fix

* publish results

* 111

* regression

* launch ec2 script

* fix

* add

* run on master

* change

* rrr

* run gpu

* fix

* fix

* try fix

* fix

* ff

* fix

* fix

* fix

* refactor

* fix

* fix

* update

* fix

* fix

* fix

* fix

* remove import torchtext

* add shm size

* update

* fix

* fix

* fix

* fix

* fix this!!!!

* 111

* fix

* remove verbose

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* update readme

* fix

* fix

* fix

* change asv default to head

* commit sage and rgcn

* fix

* update

* add benchmarks

* add

* fix

* update

* remove RandomState

* tmp remove

* new batch

* fix

* fix

* fix

* address comment

* fix warning

* fix

* fix

* fix

* fix

* add multiupdate all

* address comment

* fix

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-01-28 15:50:05 +08:00
Zihao Ye fb3c07094f Revert part of #2563 (#2584) 2021-01-28 14:53:55 +08:00
Minjie Wang 878acdb0fc Revert "Refactor code for retaining formats in message-passing. (#2570)" (#2583)
This reverts commit a613ad8806.
2021-01-28 14:04:07 +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
Minjie Wang 362f72cbe9 [Test] Performance benchmarks for DGL kernels (#2582)
* add initial kernel benchmarks

* finished kernel benchmarks

* add desc
2021-01-27 21:29:48 +08:00
Tong He 12f6429616 remove hash_func from dataset object (#2572)
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2021-01-27 18:49:40 +08:00
Tianqi Zhang (张天启) 8e981db960 [Example] Add Graph Cross Net (GXN) example for pytorch backend (#2559)
* add sagpool example for pytorch backend

* polish sagpool example for pytorch backend

* [Example] SAGPool: use std variance

* [Example] SAGPool: change to std

* add sagpool example to index page

* add graph property prediction tag to sagpool

* [Example] add graph classification example HGP-SL

* [Example] fix sagpool

* fix bug

* [Example] change tab to space in README of hgp-sl

* remove redundant files

* remote redundant network

* [Example]: change link from code to doc in HGP-SL

* [Example] in HGP-SL, change to meaningful name

* [Example] Fix path mistake for 'hardgat'

* [Bug Fix] Fix undefined var bug in LegacyTUDataset

* upt

* [Bug Fix] Fix cache file name bug in TUDataset

* [Example] Add GXN example for pytorch backend

* modify readme

* add more exp result

Co-authored-by: zhangtianqi <tianqizh@amazon.com>
Co-authored-by: Tong He <hetong007@gmail.com>
2021-01-27 18:14:27 +08:00
Minjie Wang 9fc5eed6fd [Doc] Fix docstring of aten::Sort (#2579)
A small patch to #2391.
2021-01-27 17:24:28 +08:00
nv-dlasalle 2576647c1f [Performance] Improve COO to CSR, and sort columns of CSR only when necessary. (#2391)
* Remove double-checking sorted

* Remove sorting of CSR by default

* Update unit test to use unsorted matix

* delete whitespace

* Expand unit tests

* Replace cusparse sort

* Fix row column sorting

* Explicitly don't sort columns

* Fix linting errors

* Fix bit-width calculation

* Fix sorting assertion and unit test

* Fix linting

* Improve CPU COO2CSR

* Remove references

* Rename and add documentation to edge encoding/decoding funcionts

* Fix sorting keys as 64 bit

* Revert cosmetic changes to unit tests

* Update documentation

* Update complexity documentation for coo to csr conversion

* Remove COOIsSorted check in CPU implementation too
2021-01-27 15:33:34 +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
lt610 8900450d9e [Example] DAGNN (#2545)
* dagnn

* dagnn

* Update README.md

* Update README.md

* fixed some details

* fixed some details

* Update README.md

* Update README.md

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2021-01-26 17:06:32 +08:00
Jinjing Zhou c45f6eb575 [Bugfix] Fix duplicate edges in Coauthor Dataset #2553 (#2569)
* fix

* address comment
2021-01-26 15:30:27 +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
Zihao Ye a613ad8806 Refactor code for retaining formats in message-passing. (#2570) 2021-01-25 16:55:16 +08:00
Zihao Ye 0f9056edb9 [feature] Implement missing CUDA operators for COO format (part 1). (#2565)
* upd

* upd

* upd

* upd

* fix

* upd

* upd

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
2021-01-25 16:15:22 +08:00
Da Zheng 25ac334403 [Distributed] Heterogeneous graph support (#2457)
* Distributed heterograph (#3)

* heterogeneous graph partition.

* fix graph partition book for heterograph.

* load heterograph partitions.

* update DistGraphServer to support heterograph.

* make DistGraph runnable for heterograph.

* partition a graph and store parts with homogeneous graph structure.

* update DistGraph server&client to use homogeneous graph.

* shuffle node Ids based on node types.

* load mag in heterograph.

* fix per-node-type mapping.

* balance node types.

* fix for homogeneous graph

* store etype for now.

* fix data name.

* fix a bug in example.

* add profiler in rgcn.

* heterogeneous RGCN.

* map homogeneous node ids to hetero node ids.

* fix graph partition book.

* fix DistGraph.

* shuffle eids.

* verify eids and their mappings when loading a partition.

* Id map from homogneous Ids to per-type Ids.

* verify partitioned results.

* add test for distributed sampler.

* add mapping from per-type Ids to homogeneous Ids.

* update example.

* fix DistGraph.

* Revert "add profiler in rgcn."

This reverts commit 36daaed8b660933dac8f61a39faec3da2467d676.

* add tests for homogeneous graphs.

* fix a bug.

* fix test.

* fix for one partition.

* fix for standalone training and evaluation.

* small fix.

* fix two bugs.

* initialize projection matrix.

* small fix on RGCN.

* Fix rgcn performance (#17)

Co-authored-by: Ubuntu <ubuntu@ip-172-31-62-171.ec2.internal>

* fix lint.

* fix lint.

* fix lint.

* fix lint.

* fix lint.

* fix lint.

* fix.

* fix test.

* fix lint.

* test partitions.

* remove redundant test for partitioning.

* remove commented code.

* fix partition.

* fix tests.

* fix RGCN.

* fix test.

* fix test.

* fix test.

* fix.

* fix a bug.

* update dmlc-core.

* fix.

* fix rgcn.

* update readme.

* add comments.

Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-202.us-west-1.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-132.us-west-1.compute.internal>
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-62-171.ec2.internal>

* fix.

* fix.

* add div_int.

* fix.

* fix.

* fix lint.

* fix.

* fix.

* fix.

* adjust.

* move code.

* handle heterograph.

* return pytorch tensor in GPB.

* remove some tests in example.

* add to_block for distributed training.

* use distributed to_block.

* remove unnecessary function in DistGraph.

* remove distributed to_block.

* use pytorch tensor.

* fix a bug in ntypes and etypes.

* enable norm.

* make the data loader compatible with the old format.

* fix.

* add comments.

* fix a bug.

* add test for heterograph.

* support partition without reshuffle.

* add test.

* support partition without reshuffle.

* fix.

* add test.

* fix bugs.

* fix lint.

* fix dataset.

* fix for mxnet.

* update docstring.

* rename to floor_div

* avoid exposing NodePartitionPolicy and EdgePartitionPolicy.

* fix docstring.

* fix error.

* fixes.

* fix comments.

* rename.

* rename.

* explain IdMap.

* fix docstring.

* fix docstring.

* update docstring.

* remove the code of returning heterograph.

* remove argument.

* fix example.

* make GraphPartitionBook an abstract class.

* fix.

* fix.

* fix a bug.

* fix a bug in example

* fix a bug

* reverse heterograph sampling.

* temp fix.

* fix lint.

* Revert "temp fix."

This reverts commit c450717b9f578b8c48769c675f2a19d6c1e64381.

* compute norm.

* Revert "reverse heterograph sampling."

This reverts commit bd6deb7f52998de76508f800441ff518e2fadcb9.

* fix.

* move id_map.py

* remove check

* add more comments.

* update docstring.

Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-202.us-west-1.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-9-132.us-west-1.compute.internal>
Co-authored-by: xiang song(charlie.song) <classicxsong@gmail.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-62-171.ec2.internal>
2021-01-24 19:18:00 -08:00