HQ
b1e8d95e99
[Doc] LGNN tutorial ( #210 )
...
* tutorial notebook added
* lg tutorial cleaned up
* dataset scaffold
* move dataloader to data
* fix model
* remove todo
* utils seperated
* [model]line graph new implementation + tutorial + binary sub graph dataset
* [tutorial] line graph sphinx scaffold
* [tutorial] lgnn tutorial improved
* [tutorial] remove notebook
* [tutorial] fix lg and gcn links
* [tutorial] fix random seed
* [tutorial]fix
* WIP
* code refactor done
* new mini dataset; remove utils code
* fix
* word fix
* fix link
* minor fix
* minor fix
* minor fix
2018-12-03 17:59:50 -05:00
Da Zheng
2c170a8c17
[Graph][Bugfix] Fix the API of map_to_subgraph_nid ( #226 )
...
* correct vid mapping API.
* fix sse.
2018-12-03 17:16:35 -05:00
Lingfan Yu
b0c76d48be
[Bug] fix __slots__ in view.py ( #230 )
2018-12-03 13:28:22 -05:00
Lingfan Yu
52ed09a392
[Bug] Fix inplace update ( #221 )
...
* inplace write row op and executor
* update scheduler and graph to use inplace write
* fix
* fix bug
* test case for inplace
* fix bugs for inplace apply node/edge
* fix comments
* th.allclose -> U.allclose
2018-12-02 19:14:39 -05:00
Gan Quan
5680f8dc13
[DOC] Documentation strings for graph mutation, queries, and subgraphing ( #207 )
...
* docstrings for graph mutation & queries
* [Doc] contrib.sampler. (#200 )
* subgraph docs
* updates
2018-12-02 14:41:25 -05:00
Minjie Wang
57daf9c9a6
[Graph] small fix on the all index ( #219 )
2018-12-02 13:39:04 -05:00
Da Zheng
57b07fce92
[Model] Accelerate SSE ( #172 )
...
* lazy eval edge ids.
* parallelize node id lookup.
* fix a bug.
* use mxnet for index.
* use update_all in the subgraph training.
* sample neighbors.
* Revert "parallelize node id lookup."
This reverts commit e661f69bb06cb5a7c246f0e106f245e27800e220.
* update README.
* cache subgraphs.
* support all degrees.
* cache adj in CPU.
* fix a bug in sse.
* print.
* raise error on mutable graphs.
* measure train time per epoch.
* fix a bug in graph_index.
* remove readonly in DGLSubGraph.
* cache subgraph properly.
* accelerate getting adjacency.
* split infer.
* lazy eval edges.
* specify inference mode.
* update for new sampler.
* use new mxnet sampling api.
* fix indent.
* remove profiling code.
* remove mxnet from sampler.
* return a lambda function for graph edges.
* add docs for immutable subgraph.
* Revert "return a lambda function for graph edges."
This reverts commit 0de5d7f100e230c518a3fb8976a6227f474d09ee.
* get parent_eid.
2018-12-02 12:43:25 -05:00
Haibin Lin
5278220f85
update s3 links ( #215 )
2018-12-02 20:48:29 +08:00
Lingfan Yu
53ea03ad82
[Doc] Fix doc bug and warning ( #213 )
...
* fix dgmg tutorial indentation
* bug in incidence_matrix docstring
* remove print
2018-12-01 18:58:56 -05:00
Lingfan Yu
0f121eeb76
[Doc] RGCN tutorial ( #206 )
...
* rgcn tutorial
* data processing for rgcn
* many fix
* requirements for rgcn tutorial
* fix comments
* description of rgcn dataset
* author
* bug fix
* move all dataset to s3
2018-12-01 14:58:13 -05:00
Haibin Lin
cccc2339c1
[Dataset] update s3 links ( #209 )
2018-12-01 14:45:30 -05:00
VoVAllen
91141a9826
[Dataset] Move file from dropbox to s3 (and fix ci fail due to sst dataset) ( #205 )
...
* move file from dropbox to s3
* fix ci and move sst to s3
* remove blank line
2018-11-30 19:44:55 -05:00
Zihao Ye
c80dc5e012
[model] Tree-LSTM update & hotfix(dropbox link) ( #202 )
...
* change the signature of node/edge filter
* upd filter
* Support multi-dimension node feature in SPMV
* stable version
* hotfix
* upd tutorial
* upd README
2018-11-30 19:39:49 -05:00
Mufei Li
3a0f86a663
[Doc] data ( #198 )
...
* Fix dataset
* Track data APIs
2018-11-30 11:40:22 -05:00
Mufei Li
485f6d3abd
[Doc] udf ( #195 )
...
* Docstring for udf
* Track udf docs
* Improve
* Improved
* Delete udf.py
* Improve
2018-11-30 00:38:58 -05:00
Haibin Lin
9e8261735f
[Doc] Minor doc update for mxnet/immutable_graph_index ( #194 )
2018-11-29 20:59:13 -05:00
Mufei Li
41c9c3b94b
[Doc] Fix batched_graph doc ( #193 )
2018-11-29 12:23:10 -05:00
Mufei Li
8dc6784b12
[Doc] docstring for BatchedDGLGraph + some fix ( #184 )
...
* Update doc
* Update batched_graph.py
* Fix
* Fix
* Fix
* Fix
2018-11-29 09:53:16 -05:00
Mufei Li
a0d0b1ea00
[Model] Fix + batched DGMG ( #175 )
...
* DGMG with batch size 1
* Fix
* Adjustment
* Fix
* Fix
* Fix
* Fix
* Fix has_node and __contains__
* Batched implementation for DGMG
* Remove redundant dependency
* Adjustment
* Fix
* Add comments
2018-11-29 00:13:30 +08:00
HQ
5cda368d79
[Model] SBM hotfix ( #137 )
...
* [Model]SBM hotfix
* [Model] remove backend in data
2018-11-27 11:58:03 -05:00
Minjie Wang
2c2b747808
[Install] pip install ( #180 )
...
* add bdist_wheel build
* fix wheel build
* fix setup
* fix ci
* fix setup
* fix
* fix setup
* poke ci
* fix
* poke ci
* clean build
* fix ci
* addback the env
2018-11-27 00:47:01 -05:00
Minjie Wang
b82b8e2d2a
[Schedule] get rid of unnecessary graph.edges() call for v2v-spmv update_all ( #179 )
2018-11-27 00:37:03 -05:00
Minjie Wang
524e656dd6
[Bugfix] enable SPMV for multi-dimension node feature ( #178 )
...
* Support multi-dimension node feature in SPMV
* fix as requested
2018-11-26 11:12:28 -05:00
Minjie Wang
b1eeb93449
[Bugfix][Runtime] Zero degree behaviors ( #177 )
...
* fix recv nodes are all 0deg; fix hybriddict does not through keyerror properly
* fallback to apply_nodes when all nodes are 0deg; WIP on pull spmv 0deg
* new 0deg behavior
* new 0deg behavior
* update mx utest for pull-0deg
* fix mx
* fix mx
* get rid of unnecessary sort-n-unique
2018-11-25 22:33:08 -05:00
Minjie Wang
4dfe7547e8
Fix num_rows bug in batched_graph ( #169 )
2018-11-23 02:49:59 +08:00
Zihao Ye
23e2e83b5e
[API] change the signature of node/edge filter ( #166 )
...
* change the signature of node/edge filter
* upd filter
2018-11-22 13:00:36 -05:00
Lingfan Yu
deb653f8dc
[Runtime] Scheduler and Executor ( #140 )
...
* executor api
* draft executor interface
* WIP
* revert changes to avoid conflict with api change
* core scheduling logic
* WIP: build graph adj
* incidence matrix for in edges
* support incidence matrix for partial recv nodes
* improve
* build adjmat in scheduler
* graph store
* get degree bucketing schedule
* connect to c++ degree bucketing
* conceptual executor creation code
* executor comments
* fix
* more executor comments
* WIP: full send_and_recv schedule
* most schedulers
* simplify scheduler
* executors
* runtime
* builtin function base class
* adj indices and shape
* completely refactor scheduler
* rename and move bundled out to function.py
* use_edge_feature in msg func
* rewrite scheduler
* node edge executor
* connect with graph api
* handle zero degree
* misc
* fix test cases
* fix a good many bugs...
* remove old scheduler
* push and pull
* fix send recv
* c++ lint
* fix batched send recv
* hot fix for mxnet
* typo
* write back executor
* apply node edge
* clean up, doc string
* fix as requested
* refactor
* fix
* WIP
* WIP
* ir draft
* more on ir
* WIP: spmv schedule
* WIP
* recv schedule
* refactor
* WIP
* snr degree bucketing
* snr scheduler
* move prog to graph.py; rename
* unittest for send/recv
* remove some legacy codes
* WIP: update_all
* pass test_basics
* passed all current utests
* more utests; fix mx utest
* WIP: fixing zero deg initial value
* some tests
* fix 0deg problem
* fix mx
* fix mx
* some notes
* fix as requested
2018-11-22 12:15:50 -05:00
Minjie Wang
0ec1a492b3
[Frame] change num rows behavior ( #163 )
...
* move initializer to column scheme; change num rows behavior
* poke mx ci
* fix mx utest in append
* fix bug in add edges
* utest for updating partial rows
* fix bug in from_networkx and from_scipy_matrix
* revert per-col initializer change
* fix pickle utest
2018-11-21 11:50:46 -05:00
Da Zheng
5f89cd662e
Fix the convergence problem in SSE. ( #162 )
...
* add a test.
* move file.
* debug
* add degree normalization.
* it can converge now.
* remove hidden_data.
* use readonly graph index.
* use subgraph loader.
* refactor code and remove intermediate data.
* split inference.
* mix cpu and gpu training.
* fix mxnet sparse_matrix constructor.
* convert tensor context.
* set up the prediction model.
* load mxnet csr directly.
* add timing.
* move test_sse.py to sse_batch.py
* fix the tensor version of SSE.
* update README.
2018-11-20 15:57:52 +08:00
Gan Quan
e515f5311b
[Frame] supporting partial row on first column and individual column initializers ( #160 )
...
addresses issue #156
2018-11-19 18:18:36 -05:00
Gan Quan
79a510252b
Pickling support ( #155 )
...
* pickling support
* resorting to suggested way of pickling
* custom attribute pickling check
* working around a weird pytorch pickling bug
* including partial frame case
* pickling everything now
* fix as requested
2018-11-16 17:19:20 -05:00
Gan Quan
05f464f824
[Bugfix] fix args with incontiguous node and edge tensor ( #153 )
2018-11-15 10:55:15 -05:00
Gan Quan
ed1854e800
[Bugfix] fix a potential context mismatch ( #154 )
2018-11-15 09:47:20 -05:00
Da Zheng
2389df8155
[API] Subgraph sampling API. ( #138 )
...
* add neighbor sampler.
* fix sampler.
* handle non-existing nodes differently in MapParentIdToSubgraphId.
* fix sampling tests.
* parallelize sampling.
* add more tests.
* fix a bug in subgraph loader.
* get number of sampled nodes directly.
* load mxnet CSR to DGLGraph directly.
* create graph from mxnet csr array directly.
* use subgraph loader in SSE.
* fix a bug in sampling.
* output framework tensor.
* fix.
* remove unnecessary code.
* fix tests.
* add SSE README.
* move to contrib.
* address comments.
* add tests.
2018-11-14 13:51:27 -08:00
Minjie Wang
048f6d7a30
[GraphIndex] refactor graph caching ( #150 )
...
* refactor graph caching
* fix mx test
* fix typo
2018-11-13 22:12:38 -05:00
Zihao Ye
a9ffb59e66
[DOC][Model] Tree-LSTM example and tutorial ( #146 )
...
[DOC][Model] Tree-LSTM example and tutorial
2018-11-13 18:09:14 -05:00
Gan Quan
0452cc3c0c
[Bug] Transpose adj is not correctly cached ( #148 )
2018-11-12 22:15:45 -05:00
Gan Quan
d6c80e0cf7
[API] bfs with edges ( #132 )
...
* bfs with edges
* dfs toy test case
* clean up
* style fix
* bugfix
* updating docs for bfs_edges and readouts
2018-11-11 17:19:55 -05:00
Gan Quan
a36d0841b5
removing 3.6 f-string ( #139 )
2018-11-11 14:43:15 -05:00
Minjie Wang
6d96a97f17
[Doc] docstring for SST dataset ( #133 )
2018-11-10 11:59:55 -05:00
Gan Quan
40ca5de450
[API] Readout interfaces ( #124 )
...
* fixing builtin src*edge shape mismatch
* bundled function refactor (?)
* fixing names
* readout prototype
* oops
* more fixes
* removing readout prototype
* sum_on() with SPMV, fixing batching with 0 edges
* readouts with segmented sum
* typo (??????)
* fixes NLTK dependency (#125 )
* misc fixes including #126 (pushing again)
* sanity check for mxnet
* fixes NLTK dependency (#125 ) and #126
* reverting to sum_nodes/edges
2018-11-10 11:35:34 -05:00
Minjie Wang
8ea359d125
[API] Message propagation APIs ( #127 )
...
* add examples in traversal.py
* message propagate methods
* use the new message propagation for tree-lstm
* update to the new name
* update propagate API doc
* update doc
* add propagate utest
2018-11-09 15:04:57 -05:00
Gan Quan
72efb42718
[Bugfix] fixes NLTK dependency ( #125 ) and #126 ( #131 )
2018-11-09 14:16:52 -05:00
Minjie Wang
7fe6d0c857
[Doc] Refactor API doc ( #128 )
...
* refactor API doc; add markup link in tutorials
* fix readme
2018-11-08 22:57:16 -05:00
Da Zheng
bd0e4fa0b3
[MXNet][API] move to the new API ( #123 )
...
* move gat to the new api.
* fix gcn.
* update sse.
* fix dgl core.
* update sse.
* fix small bugs in dgl core.
* fix mxnet tests.
* retrigger
* address comments and fix more bugs.
* fix
* fix tests.
2018-11-08 10:00:47 -08:00
GaiYu0
2319167444
[API] Graph traversal ( #103 )
...
* bfs, dfs and topological traversal
* dfs and test cases
* Conflicts:
python/dgl/graph.py
src/graph/graph.cc
src/graph/graph_op.cc
* documentation
* requested changes
* Conflicts:
Jenkinsfile
examples/pytorch/gcn/gcn.py
examples/pytorch/gcn/gcn_spmv.py
python/dgl/graph.py
python/dgl/graph_index.py
src/graph/graph.cc
src/graph/graph_op.cc
* Conflicts:
Jenkinsfile
python/dgl/graph_index.py
* fix lint errors
* fix lint errors
* fix lint errors
* fix test cases
* requested changes
* traversal interface
* [Bug] fixed a typo that caused syntax error (#120 )
* WIP
* bfs nodes generator works
* topological traversal
* WIP: dfs_edges
* dfs edges
* dfs labeled edges
* utest for traversal
* fix lint
* fix utest
* code clean
* changes as requested
2018-11-08 10:14:19 -05:00
Minjie Wang
7241a9c008
[Backend] backend interface ( #109 )
...
* backend interface
* small fix
* more comments to the data type dict
* WIP
* convert_to and narrow
* WIP
* pytorch and numpy backend; WIP on mxnet backend
* mxnet backend
* narrow
* Fix all usages
* fix for mx
* fix for mx
* fix mx
* fix mx
* fix mx
* fix mx
* fix mx
* fix mx
* fix mx
* revert jenkins
* add sparse_matrix api
* sparse matrix api
* some fixme
* Fix as requested
2018-11-04 21:42:39 -05:00
GaiYu0
b420a5b5b3
[Model] Fix broken CDGNN example ( #111 )
...
* pretty printer
* Conflicts:
python/dgl/data/sbm.py
* refined line_graph implementation
* fix broken api calls
* small fix to trigger CI
* requested change
2018-11-05 07:14:01 +08:00
Minjie Wang
b355d1eddf
[API] Apply nodes & apply edges ( #117 )
2018-11-04 01:22:53 -04:00
Minjie Wang
1a2b306f55
[Bug] fix bug in nodes() that does not return int64 tensor ( #116 )
2018-11-03 00:00:29 -04:00