文件历史

提交图

1382 次代码提交

作者 SHA1 备注 提交日期
Minjie Wang 3e76bcc052 remove anonymous repr 2018-10-18 21:43:40 -04:00
Da Zheng fb6be9fbd7 [GraphIndex] Create graph index directly from scipy matrix. (#87)
* create synthetic data with scipy.

* changes as comments
2018-10-18 16:39:45 -04:00
Da Zheng 4af3f8bcc8 update the MXNet backend. (#89)
* update mxnet.

* add get_tvmtype.

* remove undefined test.
2018-10-18 12:49:13 -07:00
Minjie Wang 6cbdf37c37 Merge branch 'master' into cpp 2018-10-18 15:29:20 -04:00
Minjie Wang b9631912db [Frame] Refactor frame. (#85)
* refactor frame codes

* fix unit test

* fix gcn example

* minor doc/message changes

* raise errors for non-exist columns in FrameRef; sanity check when append

* fix unittest; change error msg

* Add warning for none initializer

* fix unittest

* use warnings package
2018-10-18 15:08:21 -04:00
Minjie Wang 66261aee03 [Hotfix] Revert part of the send logic; disable the send twice test case; GCN on GPU works again. (#88) 2018-10-18 14:20:44 -04:00
Gan Quan bc3f852dab [GRAPHINDEX] Multigraph support (#79)
* multigraph support on graph index

* more tests

* multigraph flag, bugfix on clear & copy

* networkx interfaces

* including graph index tests in Jenkins

* node subgraph test

* edge subgraphs

* removing duplicates in pred/succ

* more explicit test and doc

* query source and destination from edge id

* subgraphindex

* renaming has_edge to has_edge_between, apply_edges adding eid

* send_on and send_and_recv_on

* DGLGraph edge subgraph

* merged send_on and send_and_recv_on

* change request

* removing hashmap

* creating multigraph by flag; mingw support

* changes per request

* reverting networkx auto multigraph discovery

* notes on send/send_and_recv on multigraphs

* changing test reducer from sum to max

* added a fixme note in spmv scheduler
2018-10-17 21:46:10 -04:00
Lingfan Yu 750e50372a Efficient send_and_recv (#83)
* python side send_and_recv shortcut

* common util function for c apis

* degree bucketing scheduler

* scheduler c apis

* cmake

* python side logics

* minor

* fix multiple msg/red func cases

* remove shell echo command in Jenkinsfile...

* fuse apply for send_and_recv

* fuse update func for update_all

* typo...

* handle anonymous

* add degree bucketing for entire graph

* degree bucketing executor

* minor

* style

* rename graph_mapping to recv_nodes

* fix some comments
2018-10-17 11:14:52 -04:00
Gan Quan b2c1c4facd node/edge filtering (#80)
* node/edge filtering

* changing to tensor operations (what did i do???)

* ???
2018-10-16 21:37:43 -04:00
Gan Quan 16da76c4b4 fix #81 2018-10-16 10:39:50 -04:00
Da Zheng 5567f4a4d9 [BACKEND] Add MXNet backend. (#77)
* support mxnet.

* add mxnet version of GCN.

* rename mxnet.nd as F.

* add mxnet GAT.

* enable GPU for GCN.

* fix MXNet GCN train.

* Use adam to optimize GAT

* support more operators.

* support sparse arrays.

* update mxnet backend.

* support index_copy.

* remove NN.

* update mxnet backend.

* temp check in.

* fix data conversion.

* add test.

* clean up mxnet backend.

* update mxnet examples.

* Revert "remove NN."

This reverts commit d815d9a0ec619f9ce9099c48cd35db9d8e947483.

* temp disable MXNet version of NN.
2018-10-14 11:15:48 -04:00
GaiYu0 e7679cf2e6 implement requested changes 2018-10-13 14:24:46 +08:00
GaiYu0 eb46dc0018 Merge branch 'line-graph' of https://github.com/jermainewang/dgl into line-graph 2018-10-10 12:43:39 +08:00
GaiYu0 0a6d720c30 fix build failure 2018-10-10 12:43:05 +08:00
GaiYu0 4baed9645c Merge branch 'cpp' into line-graph 2018-10-10 07:53:44 +08:00
Minjie Wang 7603b8c351 Fix dlpack bug; zero copy between dgl.ndarray and user tensor enabled 2018-10-09 11:37:59 -04:00
GaiYu0 885f5e7313 Merge branch 'cpp' of https://github.com/jermainewang/dgl into line-graph 2018-10-09 16:08:18 +08:00
Minjie Wang 3d38c2a93e small fix 2018-10-08 13:30:50 -04:00
GaiYu0 baf5906bab (non)-backtracking line graph 2018-10-08 08:04:25 +08:00
GaiYu0 5119a50475 sparse line graph 2018-10-08 07:38:03 +08:00
Lingfan Yu cdf7334cc6 Dockerfile and CI (#74)
* Test CPP branch CI (#2)

* Fix batching node-only graphs (#62)

* fixing batching with graphs with no edges

* oops forgot test

* fix readme

* Docker and Jenkins (#1)

* docker ci cpu

* install python packages

* docker ci gpu

* add readme

* use dgl cpu image

* run command in container as root

* use python3

* fix test case

* remove nose from docker file

* docker folder readme

* parallelize cpu and gpu

* top level stages

* comment out python2 related installation

* fix

* remove igraph

* building for cpp

* change building order

* export env in test stage

* withEnv

* run docker container as root

* fix test cases

* fix test cases

* minor

* remove old build
2018-10-07 19:18:43 -04:00
GaiYu0 905db29286 cpp lg 2018-10-07 22:25:45 +08:00
Gan Quan ec4216dda8 [MODEL] junction tree vae example (#70)
* junction tree vae example

* added README and moved data to dropbox

* auto download; some fix in python3
2018-10-06 16:59:47 -04:00
GaiYu0 596ca471a5 Merge branch 'cpp' of https://github.com/jermainewang/dgl into line-graph 2018-10-06 23:52:04 +08:00
GaiYu0 8a6d25ae69 Resolve conflicts in python/dgl/graph.py 2018-10-06 16:13:06 +08:00
Minjie Wang 72f6345515 Fix for subgraph test and some docs 2018-10-05 23:58:42 -04:00
Da Zheng b0e02e5b52 Update the subgraph (#73)
* update subgraph.

* update subgraph API.

* keep node embedding.
2018-10-05 22:17:33 -04:00
Minjie Wang 1209978d97 install doc 2018-10-05 16:23:55 -04:00
Minjie Wang 1b06998465 doc for batched graph 2018-10-05 15:07:42 -04:00
Minjie Wang c7b9f06946 Init sphinx doc 2018-10-05 14:57:09 -04:00
Minjie Wang c468e06867 some fix 2018-10-05 10:38:44 -04:00
Minjie Wang 74888fee5c readout signature 2018-10-04 13:20:25 -04:00
GaiYu0 26dcfb5bc2 Merge branch 'cpp' of https://github.com/jermainewang/dgl into cpp
Conflicts:
	python/dgl/graph.py
2018-10-04 21:26:56 +08:00
GaiYu0 cc372e3774 sbm mixture 2018-10-04 21:22:41 +08:00
Minjie Wang fde4f581d2 gcn runnable 2018-10-03 21:05:19 -04:00
Minjie Wang 2be55fb50a graph batch and unbatch 2018-10-03 17:07:41 -04:00
Minjie Wang 7d04c8c9f3 remove nonbatchable mode 2018-10-03 12:20:12 -04:00
Minjie Wang a8a4fcbaff quickly integrating with tree-lstm example 2018-09-24 23:42:56 -04:00
Minjie Wang 882e2a7be0 Graph batching. Support convert nx graph attrs 2018-09-24 21:34:51 -04:00
Minjie Wang 314a75f367 WIP: batched graph 2018-09-24 17:31:50 -04:00
Minjie Wang 79f62400fe WIP: batch graphs 2018-09-21 14:53:25 -04:00
Minjie Wang 4aebfd7bd8 add merge graph; fix bug in from_networkx 2018-09-21 12:25:54 -04:00
Minjie Wang 7b5d4c5886 pass specialization test 2018-09-20 18:22:46 -04:00
Minjie Wang b2e4bdc03f passed basic test batching 2018-09-20 14:44:06 -04:00
Gan Quan f26ecb4909 Fix batching node-only graphs (#62)
* fixing batching with graphs with no edges

* oops forgot test
2018-09-20 10:36:35 -04:00
Minjie Wang 44db98c4e0 remove nx inheritence 2018-09-19 22:49:14 -04:00
Minjie Wang 916d375ba3 Merge branch 'master' into cpp 2018-09-19 21:04:31 -04:00
Minjie Wang a1038eb1ee graph index 2018-09-19 21:02:15 -04:00
Lingfan Yu 9b0a01db41 Support list of msg or reduce func for update_all and send_and_recv (#58)
* support multiple fields in spmv

* finishing SPMV executor

* non-spmv case

* refactor code to give single mfunc rfunc a shortcut

* two test cases to test multiple msg/red func

* catching cases where msg uses anonymous field

* default ALL for update edge

* more corner case test

* print failed test

* delete print

* fix builtin max reducer
2018-09-19 20:49:29 -04:00
Minjie Wang a81d27dc67 WIP: integrating 2018-09-19 10:52:20 -04:00