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. 03 Dec, 2018 1 commit
    • Lingfan Yu's avatar
      [Bug] Fix inplace update (#221) · 52ed09a3
      Lingfan Yu authored
      * 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
      52ed09a3
  3. 26 Nov, 2018 2 commits
  4. 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
  5. 09 Nov, 2018 1 commit
  6. 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
  7. 19 Oct, 2018 1 commit
  8. 18 Oct, 2018 1 commit
    • 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
  9. 03 Oct, 2018 1 commit
  10. 20 Sep, 2018 2 commits
  11. 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
  12. 13 Aug, 2018 1 commit
  13. 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
  14. 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