- 20 Sep, 2019 1 commit
-
-
VoVAllen authored
* add transform * lint * lint * fix * fixmx * fix * add test * fix typo * fix default num_classes * change to non-inplace operation * fix lint * fix
-
- 17 Sep, 2019 1 commit
-
-
Minjie Wang authored
* WIP. remove graph arg in NodeBatch and EdgeBatch * refactor: use graph adapter for scheduler * WIP: recv * draft impl * stuck at bipartite * bipartite->unitgraph; support dsttype == srctype * pass test_query * pass test_query * pass test_view * test apply * pass udf message passing tests * pass quan's test using builtins * WIP: wildcard slicing * new construct methods * broken * good * add stack cross reducer * fix bug; fix mx * fix bug in csrmm2 when the CSR is not square * lint * removed FlattenedHeteroGraph class * WIP * prop nodes, prop edges, filter nodes/edges * add DGLGraph tests to heterograph. Fix several bugs * finish nx<->hetero graph conversion * create bipartite from nx * more spec on hetero/homo conversion * silly fixes * check node and edge types * repr * to api * adj APIs * inc * fix some lints and bugs * fix some lints * hetero/homo conversion * fix flatten test * more spec in hetero_from_homo and test * flatten using concat names * WIP: creators * rewrite hetero_from_homo in a more efficient way * remove useless variables * fix lint * subgraphs and typed subgraphs * lint & removed heterosubgraph class * lint x2 * disable heterograph mutation test * docstring update * add edge id for nx graph test * fix mx unittests * fix bug * try fix * fix unittest when cross_reducer is stack * fix ci * fix nx bipartite bug; docstring * fix scipy creation bug * lint * fix bug when converting heterograph from homograph * fix bug in hetero_from_homo about ntype order * trailing white * docstring fixes for add_foo and data views * docstring for relation slice * to_hetero and to_homo with feature support * lint * lint * DGLGraph compatibility * incidence matrix & docstring fixes * example string fixes * feature in hetero_from_relations * deduplication of edge types in to_hetero * fix lint * fix
-
- 14 Sep, 2019 1 commit
-
-
xiang song(charlie.song) authored
* upd * fig edgebatch edges * add test * trigger * Update README.md for pytorch PinSage example. 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+. * Provid a frame agnostic API to test nn modules on both CPU and CUDA side. 1. make dgl.nn.xxx frame agnostic 2. make test.backend include dgl.nn modules 3. modify test_edge_softmax of test/mxnet/test_nn.py and test/pytorch/test_nn.py work on both CPU and GPU * Fix style * Delete unused code * Make agnostic test only related to tests/backend 1. clear all agnostic related code in dgl.nn 2. make test_graph_conv agnostic to cpu/gpu * Fix code style * fix * doc * Make all test code under tests.mxnet/pytorch.test_nn.py work on both CPU and GPU. * Fix syntex * Remove rand * Start implementing masked-mm kernel. Add base control flow code. * Add masked dot declare * Update func/variable name * Skeleton compile OK * Update Implement. Unify BinaryDot with BinaryReduce * New Impl of x_dot_x, reuse binary reduce template * Compile OK. TODO: 1. make sure x_add_x, x_sub_x, x_mul_x, x_div_x work 2. let x_dot_x work 3. make sure backward of x_add_x, x_sub_x, x_mul_x, x_div_x work 4. let x_dot_x backward work * Fix code style * Now we can pass the tests/compute/test_kernel.py for add/sub/mul/div forward and backward * Fix mxnet test code * Add u_dot_v, u_dot_e, v_dot_e unitest. * Update doc * Now also support v_dot_u, e_dot_u, e_dot_v * Add unroll for some loop * Add some Opt for cuda backward of dot builtin. Backward is still slow for dot * Apply UnravelRavel opt for broadcast backward * update docstring
-
- 11 Sep, 2019 2 commits
-
-
Da Zheng authored
* PBG negative edge sampler. * add a positive edge to make it regular, handle last batch. * exclude all positive edges in the parent graph. * just uniformly sample negative nodes. * fix lint. * shuffle one-side nodes of positive edges. * just uniformly sample negative nodes. * change the data type. * address comment. * remove commented code.
-
Chao Ma authored
* update * speedup * add some comments
-
- 09 Sep, 2019 2 commits
-
-
VoVAllen authored
* Add serialization * add serialization * add serialization * lalalalalalalala * lalalalalalalala * serialize * serialize * nnn * WIP: import tvm runtime node system * WIP: object system * containers * tested basic container composition * tested custom object * tmp * 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 * 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 * Add serialization * Add serialization * fix * fix typo * serialize with new ffi * commit * commit * commit * save * save * save * save * commit * clean * Delete tt2.py * fix lint * Add serialization * fix lint 2 * fix lint * fix lint * fix lint * fix lint * Fix Lint * Add serialization * Change to Macro * fix * fix * fix bugs * refactor * refactor * updating dmlc-core to include force flag * trying tempfile * delete leaked pointer * Fix assert * fix assert * add comment and test case * add graph labels * add load labels * lint * lint * add graph labels * lint * fix windows * fix * update dmlc-core to latest * fix * fix camel naming
-
Zihao Ye authored
* upd * add test * fix * upd * merge * hotfix * upd * fix
-
- 04 Sep, 2019 1 commit
-
-
VoVAllen authored
-
- 30 Aug, 2019 1 commit
-
-
Zihao Ye authored
* upd * up * upd * upd
-
- 28 Aug, 2019 1 commit
-
-
xiang song(charlie.song) authored
* upd * fig edgebatch edges * add test * trigger * Update README.md for pytorch PinSage example. 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+. * Provid a frame agnostic API to test nn modules on both CPU and CUDA side. 1. make dgl.nn.xxx frame agnostic 2. make test.backend include dgl.nn modules 3. modify test_edge_softmax of test/mxnet/test_nn.py and test/pytorch/test_nn.py work on both CPU and GPU * Fix style * Delete unused code * Make agnostic test only related to tests/backend 1. clear all agnostic related code in dgl.nn 2. make test_graph_conv agnostic to cpu/gpu * Fix code style * fix * doc * Make all test code under tests.mxnet/pytorch.test_nn.py work on both CPU and GPU. * Fix syntex * Remove rand * Add TAGCN nn.module and example * Now tagcn can run on CPU. * Add unitest for TGConv * Fix style * For pubmed dataset, using --lr=0.005 can achieve better acc * Fix style * Fix some descriptions * trigger * Fix doc * Add nn.TGConv and example * Fix bug * Update data in mxnet.tagcn test acc. * Fix some comments and code * delete useless code * Fix namming * Fix bug * Fix bug * Add test code for mxnet TAGCov * Update some docs * Fix some code * Update docs dgl.nn.mxnet * Update weight init * Fix
-
- 27 Aug, 2019 3 commits
-
-
Zihao Ye authored
* upd * stable
-
Zihao Ye authored
* refactor * upd mpnn
-
Zihao Ye authored
* gat * upd * upd sage * upd * upd * upd * upd * upd * add gmmconv * upd ggnn * upd * upd * upd * upd * add citation examples * add README * fix cheb * improve doc * formula * upd * trigger * lint * lint * upd * add test for transform * add test * check * upd * improve doc * shape check * upd * densechebconv, currently not correct (?) * fix cheb * fix * upd * upd sgc-reddit * upd * trigger
-
- 25 Aug, 2019 2 commits
-
-
Zihao Ye authored
* upd * upd * upd * upd * upd * passed test * add note * upd * trigger * slight change * upd * upd * trigger * fix * simplify * upd * upd * fudge * upd * trigger * test partial * upd * trigger
-
xiang song(charlie.song) authored
* upd * fig edgebatch edges * add test * trigger * Update README.md for pytorch PinSage example. 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+. * Provid a frame agnostic API to test nn modules on both CPU and CUDA side. 1. make dgl.nn.xxx frame agnostic 2. make test.backend include dgl.nn modules 3. modify test_edge_softmax of test/mxnet/test_nn.py and test/pytorch/test_nn.py work on both CPU and GPU * Fix style * Delete unused code * Make agnostic test only related to tests/backend 1. clear all agnostic related code in dgl.nn 2. make test_graph_conv agnostic to cpu/gpu * Fix code style * fix * doc * Make all test code under tests.mxnet/pytorch.test_nn.py work on both CPU and GPU. * Fix syntex * Remove rand * Add TAGCN nn.module and example * Now tagcn can run on CPU. * Add unitest for TGConv * Fix style * For pubmed dataset, using --lr=0.005 can achieve better acc * Fix style * Fix some descriptions * trigger * Fix doc
-
- 23 Aug, 2019 2 commits
-
-
Minjie Wang authored
* rgcn module * support id input * WIP: model codes * use faster index select * dropout * self loop * WIP: link prediction * fix lint * WIP: docs * docstring * docstring * merge two child classes * mxnet rgcn module * fix lint * fix lint * fix rename bug * add uniform edge sampler * fix fn name * docstring * fix mxnet rgcn module * fix mx rgcn * enable test on cuda
-
Quan (Andy) Gan authored
* moving heterograph index to another file * node view * python interfaces * heterograph init * bug fixes * docstring for readonly * more docstring * unit tests & lint * oops * oops x2 * removed node/edge addition * addressed comments * lint * rw on frames with one node/edge type * homograph with underlying heterograph demo * view is not necessary * bugfix * replace * scheduler, builtins not working yet * moving bipartite.h to header * moving back bipartite to bipartite.h * oops * asbits and copyto for bipartite * tested update_all and send_and_recv * lightweight node & edge type retrieval * oops * sorry * removing obsolete code * oops * lint * various bug fixes & more tests * UDF tests * multiple type number_of_nodes and number_of_edges * docstring fixes * more tests * going for dict in initialization * lint * updated api as per discussions * lint * bug * bugfix * moving back bipartite impl to cc * note on views * fix
-
- 22 Aug, 2019 1 commit
-
-
Da Zheng authored
* add edge sampler. * add test and run. * add negative sampling. * remap the edge subgraph vid. * negative graph excludes edges of positive edgs. * remove print. * avoid sampling NodeFlow when expand_factor or num_hops is 0. * fix a bug when excluding nodes in negative graph. * support multigraph. * exclude positive edges. * fix memory leak. * return subgraph object directly. * fix many problems. * add comments. * address comments
-
- 21 Aug, 2019 1 commit
-
-
xiang song(charlie.song) authored
* upd * fig edgebatch edges * add test * trigger * Update README.md for pytorch PinSage example. 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+. * Provid a frame agnostic API to test nn modules on both CPU and CUDA side. 1. make dgl.nn.xxx frame agnostic 2. make test.backend include dgl.nn modules 3. modify test_edge_softmax of test/mxnet/test_nn.py and test/pytorch/test_nn.py work on both CPU and GPU * Fix style * Delete unused code * Make agnostic test only related to tests/backend 1. clear all agnostic related code in dgl.nn 2. make test_graph_conv agnostic to cpu/gpu * Fix code style * fix * doc * Make all test code under tests.mxnet/pytorch.test_nn.py work on both CPU and GPU. * Fix syntex * Remove rand
-
- 17 Aug, 2019 1 commit
-
-
Mufei Li authored
-
- 10 Aug, 2019 1 commit
-
-
Zihao Ye authored
* upd * fig edgebatch edges * add test * trigger
-
- 07 Aug, 2019 1 commit
-
-
Quan (Andy) Gan authored
* 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
-
- 05 Aug, 2019 2 commits
-
-
Zihao Ye authored
* 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
-
Chao Ma authored
* 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
-
- 02 Aug, 2019 1 commit
-
-
Minjie Wang authored
* add local scope function * fix lint * fix docstring * change local_scope to local_var; add context manager * address comments
-
- 31 Jul, 2019 1 commit
-
-
Quan (Andy) Gan authored
* 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
-
- 27 Jul, 2019 1 commit
-
-
Minjie Wang authored
* 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
-
- 17 Jul, 2019 1 commit
-
-
Minjie Wang authored
* 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
-
- 12 Jul, 2019 1 commit
-
-
Quan (Andy) Gan authored
* try venv for win64 * update * update * trying another * update * update * update * trigger ci * update * update
-
- 26 Jun, 2019 1 commit
-
-
Zihao Ye authored
* upd * Add stronger test * Update test_nn.py * Update test_nn.py * trigger * trigger * trigger
-
- 18 Jun, 2019 1 commit
-
-
Da Zheng authored
-
- 12 Jun, 2019 1 commit
-
-
Da Zheng authored
* 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.
-
- 11 Jun, 2019 1 commit
-
-
Da Zheng authored
-
- 10 Jun, 2019 1 commit
-
-
Mufei Li authored
* to_bidirected * to_bidirected * Fix style * Fix * Update * Fix * Fix * Update * Add examples
-
- 09 Jun, 2019 4 commits
-
-
Da Zheng authored
* fix graph store for Pytorch. * add test. * fix dtype error in test * disable test on GPU. * test avoid windows. * fix shared-memory test. * use script to control testing environment. * update test. * enable all tests. * fix test script.
-
Da Zheng authored
* add tests. * distinguish layer-local nid and nodeflow nid. * use numpy assert_array_equal and assert_allclose * fix map_from_parent_nid * fix test * fix test. * renmae remap. * update doc. * update doc. * update doc. * fix test. * fix test.
-
Minjie Wang authored
* all pytorch examples * scan through mxnet examples * change reddit data * tweak numerical range for unittest * fix ci * fix ci * fix * add seed to workaround
-
Lingfan Yu authored
* fix gat code to use latest edge softmax module * avoid transpose * update README * use edge_softmax op * mxnet edge softmax op * mxnet gat * update README * fix unittest * fix ci * fix mxnet nn test; relax criteria for prod reducer
-
- 08 Jun, 2019 2 commits
-
-
HQ authored
* add graph_to * use backend copy_to * add test * fix test * framework agnostic to() test * disable pylint complaint * add examples * fix docstring * formatting * Format * Update test_to_device.py
-
Zihao Ye authored
* upd * upd * reformat * upd * upd * add test * fix arange * fix slight bug * upd * trigger * upd docs * upd * upd * upd * change subgraph to be raw data wrapper * upd * fix test
-