1. 06 Jan, 2019 1 commit
    • Quan (Andy) Gan's avatar
      [Test] Unify tests for different backends (#333) · e19cd62e
      Quan (Andy) Gan authored
      * test basics
      
      * batched graph & filter, mxnet filter fix
      
      * frame and function; bugfix
      
      * test graph adj and inc matrices
      
      * fixing start = 0 for mxnet
      
      * test index
      
      * inplace update & line graph
      
      * multi send recv
      
      * more tests
      
      * oops
      
      * more tests
      
      * removing old test files; readonly graphs for mxnet still kept
      
      * modifying test scripts
      
      * adding a placeholder for pytorch to reserve directory
      
      * torch 0.4.1 compat fixes
      
      * moving backend out of compute to avoid nose detection
      
      * tests guide
      
      * mx sparse-to-dense/sparse-to-numpy is buggy
      
      * oops
      
      * contribution guide for unit tests
      
      * printing incmat
      
      * printing dlpack
      
      * small push
      
      * typo
      
      * fixing duplicate entries that causes undefined behavior
      
      * move equal comparison to backend
      e19cd62e
  2. 01 Jan, 2019 1 commit
    • Minjie Wang's avatar
      [Lint] Pylint (#330) · 4bd4d6e3
      Minjie Wang authored
      * fix lint for graph_index.py
      
      * pylint for base.py
      
      * pylint for batched_graph.py
      
      * pylint for frame.py; simplify and fix bugs in frame when index is slice type
      
      * pylint for graph.py
      
      * pylint for immutable_graph_index.py
      
      * pylint for init.py
      
      * pylint for rest files in root package
      
      * pylint for _ffi package
      
      * pylint for function package
      
      * pylint for runtime package
      
      * pylint for runtime.ir package
      
      * add pylint to ci
      
      * fix mx tests
      
      * fix lint errors
      
      * fix ci
      
      * fix as requested
      
      * fix lint
      4bd4d6e3
  3. 24 Dec, 2018 1 commit
    • Lingfan Yu's avatar
      [Bugfix] Fix multiple send recv (#320) · 2664ed2d
      Lingfan Yu authored
      * fix bug: frame append should check itself
      
      * more test case
      
      * fix multi-send-recv bug
      
      * remv msg graph and clean up
      
      * test cases
      
      * more test case
      
      * fix for batchedgraph
      
      * fix bugs: converting from a graph with edges
      
      * fix
      
      * add more operators to utils.Index
      
      * clear frame executor
      
      * change message indicator to a graph level index
      
      * fix test cases
      
      * guard the case that mxnet does not support concat zero shape tensor
      
      * fix bug: avoid convert full slice to numpy
      
      * test multi-send-recv after conversion
      
      * fix as request (partially)
      
      * add dtype, ctx to full_1d
      
      * add slice data to utils.Index
      
      * fix
      
      * more doc string
      
      * fix as requested
      2664ed2d
  4. 16 Dec, 2018 1 commit
  5. 11 Dec, 2018 1 commit
    • Minjie Wang's avatar
      [Release] v0.1.3 (#288) · 597ac7f8
      Minjie Wang authored
      * 0.1.2 release
      
      * oops
      
      * more fixes on windows
      
      * [Bugfix] fix download dir (#275)
      
      * fix download dir
      
      * add doc for the env var
      
      * windows 7 -> 10
      
      * doc update
      
      * [Bugfix] Fix conversion from networkx (#286)
      
      * fix from_nx when no edge id available
      
      * add test cases
      
      * more detailed tests
      
      * more comments
      
      * [Bugfix] Switch to sparse_coo_matrix for torch 1.0+ (#282)
      
      * switch to sparse_coo_matrix for torch 1.0+
      
      * fix bug when the version is 0.4.1.post2
      
      * change to distutils
      597ac7f8
  6. 04 Dec, 2018 1 commit
  7. 26 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [Bugfix][Runtime] Zero degree behaviors (#177) · b1eeb934
      Minjie Wang authored
      * 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
      b1eeb934
  8. 22 Nov, 2018 1 commit
    • Lingfan Yu's avatar
      [Runtime] Scheduler and Executor (#140) · deb653f8
      Lingfan Yu authored
      * 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
      deb653f8
  9. 14 Nov, 2018 1 commit
  10. 09 Nov, 2018 2 commits
  11. 08 Nov, 2018 1 commit
    • GaiYu0's avatar
      [API] Graph traversal (#103) · 23191674
      GaiYu0 authored
      * 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
      23191674
  12. 04 Nov, 2018 1 commit
  13. 02 Nov, 2018 1 commit
    • Minjie Wang's avatar
      [API][Doc] API change & basic tutorials (#113) · 68ec6247
      Minjie Wang authored
      * Add SH tutorials
      
      * setup sphinx-gallery; work on graph tutorial
      
      * draft dglgraph tutorial
      
      * update readme to include document url
      
      * rm obsolete file
      
      * Draft the message passing tutorial
      
      * Capsule code (#102)
      
      * add capsule example
      
      * clean code
      
      * better naming
      
      * better naming
      
      * [GCN]tutorial scaffold
      
      * fix capsule example code
      
      * remove previous capsule example code
      
      * graph struc edit
      
      * modified:   2_graph.py
      
      * update doc of capsule
      
      * update capsule docs
      
      * update capsule docs
      
      * add msg passing prime
      
      * GCN-GAT tutorial Section 1 and 2
      
      * comment for API improvement
      
      * section 3
      
      * Tutorial API change (#115)
      
      * change the API as discusses; toy example
      
      * enable the new set/get syntax
      
      * fixed pytorch utest
      
      * fixed gcn example
      
      * fixed gat example
      
      * fixed mx utests
      
      * fix mx utest
      
      * delete apply edges; add utest for update_edges
      
      * small change on toy example
      
      * fix utest
      
      * fix out in degrees bug
      
      * update pagerank example and add it to CI
      
      * add delitem for dataview
      
      * make edges() return form that is compatible with send/update_edges etc
      
      * fix index bug when the given data is one-int-tensor
      
      * fix doc
      68ec6247
  14. 30 Oct, 2018 1 commit
    • Mufei Li's avatar
      Support for adding nodes/edges after setting representations (#114) · 9827e481
      Mufei Li authored
      * Fix
      
      1. Fix two typos in gcn.py and gcn_spmv.py
      2. Update README
      
      * Fix GCN module
      
      1. Update the outdated graph convolution layer class
      2. Fix a bug in the code where dropout never works. Modules like dropout/batch norm depend on whether we are in the training stage or inference stage.
      
      * Fix a bug in dropout
      
      1. dropout depends on nn.Module.training
      
      * Update GCN module
      
      * Fix README
      
      * Fix dropout & remove self.msg_field
      
      * Fix
      
      * Align with TF implementation
      
      * Make g an argument for forward
      
      * Remove features from the argument of GraphConv layer
      
      * Support for create nodes/edges after setting representations
      
      * Remove redundant commit
      
      * Delete test_init_repr.py
      
      * Test case for dynamic addition
      
      * Base 'add_rows' upon 'append'
      
      * Move test function
      
      * Fix
      
      * test by assertion
      
      * changed add_rows to adding blank rows only; adding convert_to to backend
      
      * moving test to basics
      
      * oops mxnet
      9827e481
  15. 19 Oct, 2018 1 commit
  16. 18 Oct, 2018 4 commits
    • Da Zheng's avatar
      update the MXNet backend. (#89) · 4af3f8bc
      Da Zheng authored
      * update mxnet.
      
      * add get_tvmtype.
      
      * remove undefined test.
      4af3f8bc
    • Minjie Wang's avatar
      [Frame] Refactor frame. (#85) · b9631912
      Minjie Wang authored
      * 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
      b9631912
    • Minjie Wang's avatar
      [Hotfix] Revert part of the send logic; disable the send twice test case; GCN... · 66261aee
      Minjie Wang authored
      [Hotfix] Revert part of the send logic; disable the send twice test case; GCN on GPU works again. (#88)
      
      66261aee
    • Gan Quan's avatar
      [GRAPHINDEX] Multigraph support (#79) · bc3f852d
      Gan Quan authored
      * 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
      bc3f852d
  17. 04 Oct, 2018 1 commit
  18. 03 Oct, 2018 1 commit
  19. 20 Sep, 2018 1 commit
  20. 01 Sep, 2018 1 commit
    • Minjie Wang's avatar
      Builtin function and API changes (#53) · 61fa3c6c
      Minjie Wang authored
      * WIP: API renaming
      
      * API rewrite and node function refactor
      
      * builtin functions
      
      * builtin functions tested
      
      * fix test
      
      * send and recv spmv test
      
      * WIP: fix examples
      
      * Fix examples using new APIs
      61fa3c6c
  21. 28 Aug, 2018 1 commit
    • Gan Quan's avatar
      Fix 0deg update_to and Tree-LSTM model (#51) · b7eb1659
      Gan Quan authored
      * WIP
      
      * WIP
      
      * treelstm dataloader
      
      * Main training loop.
      
      * trainable treelstm script
      
      * fix dependency
      
      * cuda training
      
      * Add tensorized topological traversal
      
      * allowing update_to() with no incoming messages
      
      * fixing partial cases
      b7eb1659
  22. 24 Aug, 2018 1 commit
  23. 22 Aug, 2018 1 commit
    • Minjie Wang's avatar
      Many fix and updates (#47) · 6105e441
      Minjie Wang authored
      * subgraph copy from
      
      * WIP
      
      * cached members
      
      * Change all usage of id tensor to the new Index object; remove set device in DGLGraph;
      
      * subgraph merge API tested
      
      * add dict type reduced msg test
      6105e441
  24. 18 Aug, 2018 1 commit
    • Minjie Wang's avatar
      Subgraph API (#39) · 3721822e
      Minjie Wang authored
      * subgraph
      
      * more test cases
      
      * WIP
      
      * new FrameRef and test
      
      * separate nx init code
      
      * WIP
      
      * subgraph code and test
      
      * line graph code and test
      
      * adding new test for adding new features on line graphs
      
      * no backtracking line graph
      
      * fix inplace relabel
      3721822e
  25. 09 Aug, 2018 1 commit
  26. 06 Aug, 2018 1 commit
    • Minjie Wang's avatar
      SPMV specialization (#32) · 2c489fad
      Minjie Wang authored
      * fix edge list order problem in cached graph.
      
      * minor fix
      
      * fix bug in edge iter
      
      * SPMV works
      
      * gcn spmv on CPU
      
      * change gcn style
      
      * fix cached graph performance; fixed gcn dataset bug
      
      * reorg dir
      
      * non-batch spmv; partial update problem with shape change
      
      * fix reorder problem; finish gcn-batch impl
      
      * pop API
      
      * GPU context
      2c489fad
  27. 30 Jul, 2018 1 commit
    • Minjie Wang's avatar
      Batching semantics and naive frame storage (#31) · 11e42d10
      Minjie Wang authored
      * batch message_func, reduce_func and update_func
      
      Conflicts:
      	python/dgl/backend/pytorch.py
      
      * test cases for batching
      
      Conflicts:
      	python/dgl/graph.py
      
      * resolve conflicts
      
      * setter/getter
      
      Conflicts:
      	python/dgl/graph.py
      
      * test setter/getter
      
      Conflicts:
      	python/dgl/graph.py
      
      * merge DGLGraph and DGLBGraph
      
      Conflicts:
      	python/dgl/graph.py
      
      Conflicts:
      	python/dgl/graph.py
      
      * batchability test
      
      Conflicts:
      	python/dgl/graph.py
      
      Conflicts:
      	python/dgl/graph.py
      
      * New interface (draft)
      
      Conflicts:
      	_reference/gat_mx.py
      	_reference/molecular-gcn.py
      	_reference/molecular-gcn_mx.py
      	_reference/multi-gcn.py
      	_reference/multi-gcn_mx.py
      	_reference/mx.py
      	python/dgl/graph.py
      
      * Batch operations on graph
      
      Conflicts:
      	.gitignore
      	python/dgl/backend/__init__.py
      	python/dgl/backend/numpy.py
      	python/dgl/graph.py
      
      * sendto
      
      * storage
      
      * NodeDict
      
      * DGLFrame/DGLArray
      
      * scaffold code for graph.py
      
      * clean up files; initial frame code
      
      * basic frame tests using pytorch
      
      * frame autograd test passed
      
      * fix non-batched tests
      
      * initial code for cached graph; tested
      
      * batch sendto
      
      * batch recv
      
      * update routines
      
      * update all
      
      * anonymous repr batching
      
      * specialize test
      
      * igraph dep
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * clean some files
      
      * batch setter and getter
      
      * fix utests
      11e42d10