提交

1417 次代码提交

作者 SHA1 备注 提交日期
Minjie Wang 54f675c26d [Doc] Update installation instruction
Make it a subsection.
2020-12-15 16:57:17 +08:00
Minjie Wang 0133f76430 [Doc] Update installation instruction
Remove the out-dated section. Put a link to the get started page.
2020-12-15 16:54:32 +08:00
Shaow 954a0835b5 [Doc]modify the wrong code in initialize the hetero_graph negative sampler (#2382)
* 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>
2020-12-09 16:20:51 +08:00
Quan (Andy) Gan d15d693491 disable warn-common on mac (#2374) 0.5.3 2020-11-27 06:43:22 +00:00
Quan Gan 67ce182f7a update version 2020-11-27 04:01:44 +00:00
Zihao Ye eba84bdf73 disable gespmm (#2371) 2020-11-27 03:21:19 +00:00
Quan (Andy) Gan 9d04147020 Update distributed.rst (#2249) (#2368)
Co-authored-by: Hongyu Cai <h.tsai@hotmail.com>
2020-11-27 03:21:19 +00:00
IzabelaMazur 1f66693bba [Performance]: Remove indptr correction for CooToCSR (#2356) 2020-11-27 03:21:18 +00:00
Quan (Andy) Gan 2fedc4d16a [Performance] Accelerate batching (#2363)
* speed up batching

* more fix

* lint

* fix
2020-11-27 03:21:18 +00:00
Zihao Ye 21946df028 Remove redundant print information in #2361 (#2362) 2020-11-27 03:21:04 +00:00
Zihao Ye faf8c71163 [Performance] Use segment operators for graph readout. (#2361)
* upd

* upd

* update

* upd

* upd

* upd

* fix

* lint

* lint

* pylint

* doc
2020-11-27 03:21:04 +00:00
Mufei Li 4fd5e027e4 [WIP] Misc Fix (#2359)
* Update

* Update

* Update
2020-11-27 03:20:50 +00:00
zhjwy9343 2db8ccb487 [Doc] Chinese User Guide chapter 1 - 4 (#2351)
* [Feature] Add full graph training with dgl built-in dataset.

* [Feature] Add full graph training with dgl built-in dataset.

* [Feature] Add full graph training with dgl built-in dataset.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Fix] Add random

* [Bug] Fix batch norm error

* [Doc] Test with CN in Sphinx

* [Doc] Test with CN in Sphinx

* [Doc] Remove the test CN docs.

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Doc] fill readme with new performance results

* [Doc] Add Chinese User Guide, graph and 1.5

* [Doc] Add Chinese User Guide, graph and 1.5

* Update README.md

* [Fix] Temporary remove compgcn

* [Doc] Add CN user guide chapter2

* [Test] Tunning format

* [Test] Tunning format

* [Test] Tunning format

* [Test] Tunning format

* [Test] Tunning format

* [Test] Section headers

* [Fix] Fix format errors

* [Fix] Fix format errors

* [Fix] Fix format errors

* [Doc] Add CN-EN EN-CN links

* [Doc] Add CN-EN EN-CN links

* [Doc] Copyedit chapter2

* [Doc] Copyedit chapter2

* [Doc] Remove EN in 2.1

* [Doc] Remove EN in chapter 2

* [Doc] Copyedit first 2 sections

* [Doc] Copyedit first 2 sections

* [Doc] copyedited chapter 2 CN

* [Doc] Add chapter 3 raw texts

* [Doc] Add chapter 3 preface and 3.1

* [Doc] Add chapter 3.2 and 3.3

* [Doc] Add chapter 3.2 and 3.3

* [Doc] Add chapter 3.2 and 3.3

* [Doc] Remove EN parts

* [Doc] Copyediting 3.1

* [Doc] Copyediting 3.2 and 3.3

* [Doc] Proofreading 3.1 and 3.2

* [Doc] Proofreading 3.2 and 3.3

* [Doc] Add chapter 4 CN raw text.

* [Clean] Remove codes in other branches

* [Doc] Start to copyedit chapter 4 preface

* [Doc] copyedit CN section 4.1

* [Doc] Remove EN in User Guide Chapter 4

* [Doc] Copyedit chapter 4.1

* [Doc] copyedit cn chapter 4.2, 4.3, 4.4, and 4.5.

* [Doc] Fix errors in EN user guide graph feature and heterograph

* [Doc] 2nd round copyediting with Murph's comments

* [Doc] 3rd round copyediting with Murph's comments

* [Doc] 3rd round copyediting with Murph's comments

* [Doc] 3rd round copyediting with Murph's comments

* [Sync] syncronize with the dgl master

* [Doc] edited after Minjie's comments, 1st round

* update cub

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2020-11-27 03:20:50 +00:00
Mufei Li 9e4138a25d Update (#2354) 2020-11-27 03:20:50 +00:00
Zihao Ye 00d4f3c779 upd (#2352) 2020-11-27 03:20:39 +00:00
pawelpiotrowicz c83685c855 [Performance] Dynamic cpu kernel V3 for SpMMSumCsr all Ops (#2309)
* support AVX512

* env DGL_CPU_INTEL_KERNEL_ENABLED=1

* env DGL_CPU_INTEL_KERNEL_LOG=1

* Add unittest test_spmm.cc

Co-authored-by: Izabela Mazur <izabela.mazur@intel.com>
Co-authored-by: Michal Szarmach <michal.szarmach@intel.com>

Review patch
2020-11-27 03:20:27 +00:00
mszarma 45a54a2541 [Fix] Enable mini-batch rgcn for CPU (#2345) 2020-11-27 03:20:19 +00:00
Minjie Wang 82d2a5e48b [Build] use different flags for NVCC and CC (#2342) 2020-11-27 03:20:19 +00:00
Guo Qipeng aa5d222bd8 Fix a bug in the data loading of GraphWriter (#2343)
In the bucket sampler, the length array should be recovered after random picking samples.
2020-11-27 03:20:19 +00:00
Quan (Andy) Gan 9520bf4656 [Bug] Multiple fixes for CUDA 11 support (#2333)
* multiple fixes

* fix CI

* fiddle

* revert stubs

* remove stubs

* poke

* remove linking of driver library

* minor

Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2020-11-27 03:20:19 +00:00
vill e5a5a20b7a Update knowledge_graph.py (#2329)
The l in "bool" is lost.

Co-authored-by: Zihao Ye <expye@outlook.com>
2020-11-27 03:20:07 +00:00
Mufei Li 865933b760 Update appnpconv.py (#2324) 2020-11-27 03:20:07 +00:00
Quan (Andy) Gan e751ff01c7 fix reddit self loop (#2330) 2020-11-27 03:20:07 +00:00
Minjie Wang 91ade38a25 [CUDA] Add CUDA11 support (#2308)
* add support for cuda 11

* fix inc bug in pytorch 1.8

* poke ci

* fix

* small fix

* try fix

* try fix

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2020-11-27 03:20:07 +00:00
Zihao Ye 613d23e351 [kernel] Select GE-SpMM when feature size is large. (#2306)
* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* upd

* fix

* upd

* upd

* upd

* upd
2020-11-27 03:19:50 +00:00
Xiangkun Hu 317be7f188 [Bugfix] GINDataset check whether labels are all valid (#2319)
* PPIDataset

* Revert "PPIDataset"

This reverts commit 264bd0c960cfa698a7bb946dad132bf52c2d0c8a.

* check whether the original labels are valid

* add unit test for gin dataset

* bug of asscalar in mxnet<=1.6

* mxnet<=1.6 asscalar requires ndarray to be shaped (1,)

* skip gpu while testing datasets

* Update test_data.py

* test of gin dataset takes too much time
2020-11-27 03:17:22 +00:00
Lingfan Yu 2fc189a750 [Model] SIGN for OGB dataset (#2316)
* sign for ogbn products, arxiv, mag

* texts

* fix

* update ogb folder readme

* use dgl nightly build

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2020-11-27 03:17:22 +00:00
nv-dlasalle 3d99b0080b [Performance] In HeteroNodeView, build arange on target device, instead of on CPU and copying it (#2266)
* Build arange on target device

* Utilize arange device in viewpy:HeteroNodeView.__call__

* Work around uint64 error in TF to_dlpack

* Restore else clause

Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Da Zheng <zhengda1936@gmail.com>
2020-11-27 03:17:22 +00:00
chwan-rice 9e9fcdb32f [Fix] typo (#2265)
* upd

* upd

* upd

* upd

* upd

* fix OpenMP compatibility issues

* typo

* partition

* misc

* fix typo

* num_parts=1

* import torch

* long

* print info

* print info

* print info

* upd

* remove debug code

* revert partition.py

* fix cut count

* fix cut count

* Revert "fix cut count"

This reverts commit 10926b4fd48f45c8f1ddb58be7db6c22e653effd.

* Revert "fix cut count"

This reverts commit 76465283bef093a2b4209ad70dd15d2437b2ec8a.

* type of deprecate

* typo in deprecate info

* fix typo

* use cv for partitioning

* CE

* no message

* revert

* typo

* no message

* no message

* no message

* practice

* dmlc-core

* DGLGraph

Co-authored-by: yzh119 <expye@outlook.com>
Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
Co-authored-by: Minjie Wang <wmjlyjemaine@gmail.com>
2020-11-27 03:17:12 +00:00
maqy1995 63284c08bb [Example] fix print info (#2305) 2020-11-27 03:17:12 +00:00
Seung-woo Seo b25b442b42 [Doc] Same typos as 0.5.x (#2292)
Some of SAGEGraph equation has typos.
2020-11-27 03:17:12 +00:00
ZenoTan 59b20808e0 Fix typos (#2285) 2020-11-27 03:17:12 +00:00
Quan (Andy) Gan 4286bd2b94 fix bug in flatten and is_unibipartite (#2279) 2020-11-27 03:17:12 +00:00
Quan (Andy) Gan d160bc3b43 [Bug] fix multiple bugs in JTNN example (#2220)
* [Bug] fix multiple bugs in JTNN example

* remove debug code
2020-11-27 03:17:12 +00:00
esang 34e31f8724 [Example]Add sparse embedding in GATNE-T example to support big graph (#2234)
* add sparse and mutil gpu support

* update multi gpu

* update readme

* remove multi gpu

* add multiple gpus support

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
Co-authored-by: Zihao Ye <expye@outlook.com>
2020-11-27 03:17:12 +00:00
mozga-intel 7b4610359f OMP pragma was added to support hetero_graph loop. (#2148)
* OMP pragma was added to support hetero_graph loop, as follows:
pragma omp parallel for

* OMP pragma will be enabled iff the gpu is used for

Co-authored-by: Zihao Ye <expye@outlook.com>
2020-11-27 03:17:12 +00:00
nv-dlasalle 24d25d0a7f [Bugfix][Performance] Fix Column to copy 'self.index' to location of 'self.storage' only on read, and use kwargs. (#2267)
* Pass framework arguments to copy of frames

* Copy for subframe

* Fix mismatched contexts

Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2020-11-27 03:17:12 +00:00
Sami Issaadi d1add2ebee [bugfix] Fix crash due to unfound attribute (#2262)
An unexpected `AttributeError` exception is launched whenever the user defines `save_dir` on `DGLDataset` instantiation and uses `self._save_dir`  within `has_cache` method.
This commit fixes the issue.
2020-11-27 03:17:12 +00:00
Mufei Li 1d588e0dc7 Update index.rst (#2254) 2020-11-27 03:17:12 +00:00
zhjwy9343 3ab2cb0185 [Doc] Chinese User Guide chapter1 (#2240)
* [Feature] Add full graph training with dgl built-in dataset.

* [Feature] Add full graph training with dgl built-in dataset.

* [Feature] Add full graph training with dgl built-in dataset.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Bug] fix model to cuda.

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Feature] Add test loss and accuracy

* [Fix] Add random

* [Bug] Fix batch norm error

* [Doc] Test with CN in Sphinx

* [Doc] Test with CN in Sphinx

* [Doc] Remove the test CN docs.

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Feature] Add input embedding layer

* [Doc] fill readme with new performance results

* [Doc] Add Chinese User Guide, graph and 1.5

* [Doc] Add Chinese User Guide, graph and 1.5

* [Doc] Add Chines User Guide

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* Update README.md

* [Doc] Finalize CN user guide chapter 1

* [Doc] Finalize CN user guide chapter 1

* [Doc] Finalize CN user guide chapter 1

* [Doc] Add CN link in user guide chapter 1

* [Doc] Add CN link in user guide chapter 1

* [Fix] Temporary remove compgcn

* [Doc] Add Chines User Guide

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] user guide cn chapter 1

* [Doc] Finalize CN user guide chapter 1

* [Doc] Finalize CN user guide chapter 1

* [Doc] Finalize CN user guide chapter 1

* [Doc] Add CN link in user guide chapter 1

* update hash in 3rd party

* [Fix] copyedit some errors

* [Fix] copyedit some errors

* [Fix] copyedit some errors

* [Fix] copyedit some errors

* [Fix] copyedit some errors

* Update

Co-authored-by: Mufei Li <mufeili1996@gmail.com>
2020-11-27 03:17:12 +00:00
Zihao Ye 3f994308c0 [bugfix] Fix the behavior of min/max reducer for 1-dim dta. (#2250)
* udp

* add test

* udp

* fix mxnet
2020-11-27 03:17:12 +00:00
Mufei Li ef5c14c864 Update message-efficient.rst (#2247) 2020-11-27 03:17:11 +00:00
Mufei Li c363bd895a Update README.md (#2213) 2020-11-27 03:17:11 +00:00
Quan (Andy) Gan 3b429f52a4 [Doc] fix minibatch user guide broken code (#2233) 2020-11-27 03:17:11 +00:00
Junki Ishikawa 694c2b177b Fix typo (#2235)
Co-authored-by: Chao Ma <mctt90@gmail.com>
2020-11-27 03:17:11 +00:00
Chao Ma aa6968caee update (#2236) 2020-11-27 03:17:11 +00:00
Mingjian Wen ef74721896 Fix segment_reduce() ignoring tailing 0 segments (#2228)
Co-authored-by: Quan (Andy) Gan <coin2028@hotmail.com>
2020-11-27 03:17:11 +00:00
Mufei Li 26757bd383 [HeteroGraph] Fix the failure of apply_nodes when the input function changes feature size for all nodes (#2223)
* Fix

* Fix
2020-11-27 03:17:11 +00:00
Mufei Li ae9c6d7299 Update (#2225)
Co-authored-by: Ubuntu <ubuntu@ip-172-31-52-53.us-west-2.compute.internal>
2020-11-27 03:17:11 +00:00
Mufei Li 805eedddff Update dgl.data.rst (#2217) 2020-11-27 03:17:11 +00:00