提交

提交图

3215 次代码提交

作者 SHA1 备注 提交日期
xiang song(charlie.song) 165d453806 [Doc] Update README.md for pytorch PinSage example. (#770)
Add noting that the PinSage model example under
example/pytorch/recommendation only work with Python 3.6+
as its dataset loader depends on stanfordnlp package
which work only with Python 3.6+.
2019-08-16 02:23:05 -03:00
Quan (Andy) Gan fd3d54ba98 bump up version for prerelease (#768) 2019-08-16 10:32:54 +08:00
Mufei Li cd9fb7baa0 [Model Zoo] Refactor GCN on Tox21 (#766)
* [Model zoo] Model zoo (#765)

* tox21

* fix ci

* fix ci

* fix urls to url

* add doc

* remove binary

* model zoo

* test

* markdown

* fix typo

* fix typo

* fix typo

* raise error

* fix lint

* remove unnecessary

* fix doc

* fix

* fix

* fix

* fix

* fix

* fix

* Update

* CI

* Fix

* Fix

* Fix

* Fix

* Fix

* CI
2019-08-16 02:49:25 +08:00
Quan (Andy) Gan bdcba9c85c setup for prerelease builds (#763) 2019-08-14 23:13:37 +08:00
VoVAllen 2ee3c78c7c [Dataset] Tox21 (#760)
* tox21

* fix ci

* fix ci

* fix urls to url

* add doc

* remove binary
2019-08-14 16:55:01 +08:00
Zihao Ye 17b60e1af0 [Bugfix] EdgeBatch.edges call attempts tuple item assignment (#747)
* upd

* fig edgebatch edges

* add test

* trigger
2019-08-11 04:07:41 +08:00
Xiagkun Hu b2f7f0ee7c [Model] Recurrent Relational Network (RRN) on sudoku (#733)
* rrn model and sudoku

* add README

* refine the code, add doc strings

* add sudoku solver
2019-08-10 02:00:11 +08:00
lunar e1f08644fb [Model] Schnet & MGCN (#726)
* [Model] SchNet

* [Model] SchNet model

* [Model] Schnet Model fix device-related bug

* [Model] SchNet fix bugs

* [Model] SchNet fix some bugs

* [Model] Schnet 🎨 code indent format

* [Model] SchNet ✏️ fix some typos
2019-08-07 14:08:31 +08:00
Chao Ma 747a8beea5 [Fix] Hold NDArray reference during send() (#740)
* fix NDArray reference

* fix lint

* capture NDArray in the closure
2019-08-07 13:28:41 +08:00
Quan (Andy) Gan 16061925d5 [NodeFlow] Non-uniform neighbor sampling (#711)
* nonuniform sampler

* unit test

* test on out neighbors

* error checks

* lint

* fix

* clarification

* use macro switcher

* use empty array for uniform sampling

* oops

* Revert "oops"

This reverts commit a11f9ae707aaeb67fb5921c887a17d3711d5b04a.

* Revert "use empty array for uniform sampling"

This reverts commit 8526ce4cade89f2c1b09a08aca8830375ebafb31.

* re-reverting

* use a method
2019-08-07 09:42:08 +08:00
Zihao Ye 742d79a792 upd (#741) 2019-08-06 18:39:05 +08:00
Zihao Ye 5d3f470b72 [Feature] DGL Pooling modules (#669)
* removal doc

* glob

* upd

* rm knn

* add softmax

* upd

* upd

* add broadcast and s2s

* optimize max_on

* forsaken changes to heterograph

* upd

* upd

* upd

* upd

* upd

* bugfix

* upd

* upd

* upd

* upd

* format upd

* upd format

* upd doc

* upd

* import order

* upd

* rm warnings

* fix

* upd test

* upd

* upd

* fix device

* upd

* upd

* upd

* upd

* remove 1.1

* upd

* trigger

* trigger

* add more tests

* fix device

* upd

* upd

* refactor

* fix?

* fix

* upd docstring

* refactor

* upd

* fix

* upd

* upd

* upd

* fix

* upd docs

* add shape

* refactor & upd doc

* upd doc

* upd
2019-08-06 01:43:25 +08:00
Chao Ma c3516f1a8e [Network] Refactoring Communicator (#679)
* Refactoring Communicator

* fix lint

* change non-const reference

* add header file

* use MemoryBuffer

* update PR

* fix bug on csr shape

* zero-copy msg_queue

* fix lint

* fix lint

* fix lint

* add header file

* fix windows build error

* fix windows build error

* update

* fix lint

* update

* fix lint

* fix lint

* add more test

* fix windows test

* update windows test

* update windows test

* update windows test

* update

* fix lint

* fix lint

* update

* update

* update

* update

* use STATUS code

* update test

* remove mem_cpy

* fix lint

* update

* finish

* ConstructNFTensor

* add test for deallocator

* update

* fix lint
2019-08-05 10:49:25 +08:00
Minjie Wang fc9d30fae4 [Graph] add local scope function (#735)
* add local scope function

* fix lint

* fix docstring

* change local_scope to local_var; add context manager

* address comments
2019-08-02 00:11:48 -04:00
Quan (Andy) Gan e9e587b6cb [Refactor] C random number generator (#729)
* rng refactor

* fix bugs

* unit test

* remove setsize

* lint

* fix test

* use explicit instantiation instead of inlining

* stricter test

* use tvm solution

* moved python interface to dgl.random

* lint

* address comments

* make getthreadid an inline function
2019-07-31 17:54:30 +08:00
Da Zheng 34ac2ab47b [Fix] Fix MXNet install doc (#732) 2019-07-30 09:25:41 +08:00
Quan (Andy) Gan 86f28d6553 [Misc] Provide a "return 1s instead of edge IDs" option in scipy adjacency matrix (#730)
* return 1 option in scipy adjacency matrix

* lint

* use dgl warning

* i'm an idiot

* lint x2

* rename
2019-07-29 21:40:09 +08:00
Minjie Wang 7ad663c3a9 [Hetero] Heterograph C++ implementation; Bipartite and Python wrapper (#725)
* finish bipartite graph implementation; compiled

* finished heterograph implementation; compiled

* WIP: apis

* C API codes

* compiled

* WIP: python

* HeteroGraphIndex

* WIP: test

* add DGLContext support in ffi

* fix bug in has edge

* unittests except edge subgraph

* edge subgraph

* fix lint

* address comments

* poke ci

* try fix

* fix msvc
2019-07-27 15:22:56 -04:00
Minjie Wang 6c77f26438 [Doc] Update README.md (#724) 2019-07-23 15:59:03 -04:00
Minjie Wang 67dc11971f [Refactor] Use object system for all CAPIs (#716)
* WIP: using object system for graph

* c++ side refactoring done; compiled

* remove stale apis

* fix bug in DGLGraphCreate; passed test_graph.py

* fix bug in python modify; passed utest for pytorch/cpu

* fix lint

* address comments
2019-07-23 12:47:05 -04:00
Minjie Wang b0d9e7aa43 [Refactor] Separating graph and sparse matrix operations (#699)
* WIP: array refactoring

* WIP: implementation

* wip

* most csr part

* WIP: on coo

* WIP: coo

* finish refactoring immutable graph

* compiled

* fix undefined ndarray copy bug; add COOToCSR when coo has no data array

* fix bug in COOToCSR

* fix bug in CSR constructor

* fix bug in in_edges(vid)

* fix OutEdges bug

* pass test_graph

* pass test_graph

* fix bug in CSR constructor

* fix bug in CSR constructor

* fix bug in CSR constructor

* fix stupid bug

* pass gpu test

* remove debug printout

* fix lint

* rm biparate grpah

* fix lint

* address comments

* fix bug in Clone

* cpp utests
2019-07-17 17:49:38 -04:00
Da Zheng f79188da4c fix. (#712) 2019-07-15 16:25:29 -07:00
Quan (Andy) Gan 6d42005052 [WIP][CI] Build Windows packages within virtualenv (#709)
* try venv for win64

* update

* update

* trying another

* update

* update

* update

* trigger ci

* update

* update
2019-07-12 16:50:54 -07:00
Pin 9cc83b4bc7 [Bugfix] Fix nodeflow.prop_flow range check (#700) 2019-07-10 14:11:06 -04:00
HQ bf3994eea6 [Model][Hotfix] DiffPool formatting fix (#696)
* formatting

* formatting
2019-07-02 15:19:57 +08:00
Minjie Wang 90e78c5854 [FFI] FFI container support, custom structure extension via Object (#693)
* WIP: import tvm runtime node system

* WIP: object system

* containers

* tested basic container composition

* tested custom object

* fix setattr bug

* tested object container return

* fix lint

* some comments about get/set state

* fix lint

* fix lint

* update cython

* fix cython

* ffi doc

* fix doc
2019-07-01 14:40:07 -04:00
HQ 684a61ad09 [Model] DiffPool with both DGL and tensorized operatons (#665)
* diffpool original file added

* make diffpool fuse up and running

* minor tweak on tu dataset statistics method

* fix tu

* break

* delete break

* pre_org

* diffpool fuse reorg

* fix random shuffling

* fix bn

* add dgl layers

* early stopping

* add readme

* fix

* add diffpool preprocess script

* tweak tu dataset

* tweak

* tweak

* tweak

* tweak

* tweak

* preprocess dataset

* fix early stopping

* fix

* fix

* fix

* tweak

* readme

* code review

* code review

* dataset code review

* update README

* code review

* tu doc
2019-07-01 20:00:15 +08:00
VoVAllen fc2e166ba6 [Fix] Fix Memory Leak in Edge Softmax (#692)
* Add serialization

* fix memory leak

* Revert "Add serialization"

This reverts commit e838bb1faa2503d14593d702be00514f936c9027.

* fix
2019-06-28 17:31:54 -04:00
Quan (Andy) Gan 31b1c49433 [Hetero] C++ Heterogeneous Graph Interfaces (#663)
* c++ heterograph interfaces

* addressing comments

* update hetero api

* missing interfaces

* fix lint
2019-06-26 22:12:56 -04:00
Zihao Ye 8ecedfb369 [Fix] Bugfix in docs and check gradient of edge_softmax in test (#686)
* upd

* Add stronger test

* Update test_nn.py

* Update test_nn.py

* trigger

* trigger

* trigger
2019-06-27 00:43:26 +08:00
VoVAllen c3d74e0f7f [Fix] Fix license badge (#671)
* Add serialization

* fix broken badge

* Revert "Add serialization"

This reverts commit e838bb1faa2503d14593d702be00514f936c9027.

* fix
2019-06-20 14:49:26 +08:00
Quan (Andy) Gan 714f2e1ced fix node id dtype (#674) 2019-06-20 10:53:26 +08:00
Da Zheng f8feee1cc6 fix install. (#673) 2019-06-19 14:08:35 -07:00
Da Zheng fe2b6ca6e8 [Text] fix test; remove torch import. (#670) 2019-06-18 19:30:56 -04:00
Da Zheng 401f22cadd [API] Heterograph (#657)
* [Feature][RFC] Heterogeneous graph interface (#553)

* heterogeneous graph interface

* lint

* disable lints

* disable lint checks

* change node_types to dict

* update

* update

* heterograph view

* message passing with types

* clarifications

* graph queries

* clarifications

* moving add_XXX to Base

* from_networkx

* register functions

* Update heterograph.py

* lint.
2019-06-17 16:59:04 +08:00
Lingfan Yu 82bb9a9b6a [README] Update speed numbers in README (#661)
* update speed numbers in readme

* numbers in examples/pytorch/readme
2019-06-15 14:27:58 -07:00
Da Zheng 11974812ca [Backend] use new split in MXNet (#660)
* use new split.

* fix.

* fix.

* add zero copy from numpy.
2019-06-15 14:08:42 -07:00
Tianyi f3d3fdf8cd add reddit example. (#658) 2019-06-14 22:53:59 +08:00
Quan (Andy) Gan 73e5fb552a New installation guide for CUDA builds (#655) 2019-06-14 13:52:17 +08:00
Minjie Wang 4be1d3e70c [CI] workspace and disable mx tutorial (#656)
* workspace and disable mx tutorial

* try cleanws

* poke

* poke

* poke
2019-06-13 19:26:57 -04:00
Da Zheng be58224f0e [CI] enable tutorial test in CI. (#631)
* enable tutorial test in CI.

* reduce overhead.
v0.3
2019-06-13 02:31:36 -07:00
Quan (Andy) Gan 7d61936577 update minigun to include algorithm header (#654) 2019-06-13 11:32:43 +08:00
Quan (Andy) Gan 2f25eac732 [Build][Release] Windows release fixes (#650)
* bump up version

* conda+cuda trial

* switch conda branch

* revert

* disable cudnn

* windows cuda arch fix

* more fix
2019-06-13 09:12:00 +08:00
Minjie Wang e8e56b3423 [Build][Win] fix mgpu include problem (#652) 2019-06-12 13:22:59 -04:00
Da Zheng 8059fa6f8b print errors if users sample from mutable graph. (#649)
* give warning.

* fix.

* update error msg.
2019-06-12 17:54:02 +08:00
Quan (Andy) Gan 059b1a6d6f [Release] Bump up version (#636)
* bump up version

* conda+cuda trial

* switch conda branch

* revert

* disable cudnn
2019-06-12 16:50:05 +08:00
Da Zheng 94ecb8eb96 [BUGFIX] copy graph index to shared memory. (#634)
* copy graph index to shared memory.

* fix.

* fix.

* fix.

* use a diff name for in-csr and out-csr.

* fix lint.

* remove print.

* add test.

* add comments.
2019-06-12 01:32:25 -07:00
Da Zheng 16ec2a8b10 we need to sync for mxnet. (#648) 2019-06-11 18:22:21 -07:00
Da Zheng d706298019 fix a bug. (#646) 2019-06-11 16:23:48 -07:00
Minjie Wang e16e895d53 [Doc] fix some document warnings (#645)
* fix doc

* fix some format and warnings

* fix
2019-06-11 13:41:41 -04:00