- 10 Feb, 2020 1 commit
-
-
Jinjing Zhou authored
* graph format * fix lint * lint * fix * unit test * lint * add magic num * move serialize out of struct * lint * serialize * trigger CI * fix lint * lint Co-authored-by:zhoujinjing09 <zhoujinjing09@users.noreply.github.com>
-
- 09 Feb, 2020 1 commit
-
-
xiang song(charlie.song) authored
* Several optimizations on DGL-KG: 1. Sorted positive edges for sampling which can reduce random memory access during positive sampling 2. Asynchronous node embedding update 3. Balanced Relation Partition that gives balanced number of edges in each partition. When there is no cross partition relation, relation embedding can be pin into GPU memory 4. tunable neg_sample_size instead of fixed neg_sample_size * Fix test * Fix test and eval.py * Now TransR is OK * Fix single GPU with mix_cpu_gpu * Add app tests * Fix test script * fix mxnet * Fix sample * Add docstrings * Fix * Default value for num_workers * Upd * upd
-
- 08 Feb, 2020 1 commit
-
-
Jinjing Zhou authored
* graph format * fix lint * lint * fix * unit test * lint * add magic num * move serialize out of struct * lint Co-authored-by:zhoujinjing09 <zhoujinjing09@users.noreply.github.com>
-
- 04 Feb, 2020 1 commit
-
-
Quan (Andy) Gan authored
* unit graph that prefers coo queries * auto detect coo preference * forgot some functions * disable lint on detect_prefer_coo * reorg * change comment * lint * fix * move array_utils.h to src * compact graph impl * fix redundant copying in idhashmap * docstring * moving preference detection to C * lint * fix unit test & address comments * hypersparse autorestrict * docstring & fix * revert copyto and asnumbits * fix stupid bug * lint * leave a TODO for sorted COO * fixing same node type mapping to different id in different graphs * addresses comments * made induced nodes a feautre column * lint?
-
- 31 Jan, 2020 1 commit
-
-
Quan (Andy) Gan authored
* trying to refactor IndexSelect * partial implementation * add index select and assign for floats as well * move to random choice source * more updates * fixes * fixes * more fixes * adding python impl * fixes * unit test * lint * lint x2 * lint x3 * update metapath2vec * debugging performance * still debugging for performance * tuning * switching to succvec * redo * revert non-uniform sampler to use vector * still not fast * why does this crash with OpenMP??? * because there was a data race!!! * add documentations and remove assign op * lint * lint x2 * lol what have i done * lint x3 * fix and disable gpu testing * bugfix * generic random walk * reorg the random walk source code * Update randomwalks.h * Update randomwalks_cpu.cc * rename file * move internal function to anonymous ns * reorg & docstrings * constant restart probability * docstring fix * more commit * random walk with restart, tested * some fixes * switch to using NDArray for choice * massive fix & docstring * lint x? * lint x?? * fix * export symbols * skip gpu test * addresses comments * replaces another VecToIdArray * add randomwalks.h to include * replace void * with template
-
- 06 Jan, 2020 1 commit
-
-
Chao Ma authored
* API change of kvstore * add demo for kvstore * update * remove duplicated log * change queue size * update * update * update * update * update * update * update * update * update * fix lint * change name * update * fix lint * update * update * update * update * change message queue size to a python argument * change default queue size to 2GB * OMP_NUM_THREADS=1 * add multiple NICs support for kvstore * test * fix lint * update * update * update * update * update * update * update * fix lint * fix lint * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * fix lint * update * fix lint * delete msg * clear kv msg * update * update * update * update * update * update * is not None * update * update * update * update * update * update * update * update * update * update
-
- 05 Jan, 2020 1 commit
-
-
Da Zheng authored
* attach positive. * add neg_deg_sample. * add comment. * add neg_deg_sample for eval. * change the edge sampler. * rename edge sampler in KG. * allow specifying chunk size and negative sample size separately. * fix bugs in KG. * add check in sampler. * add more checks. * fix * add comment. * add comments.
-
- 31 Dec, 2019 2 commits
-
-
Da Zheng authored
* accel edge sampling. * measure sampling time. * attach positive. * add neg_deg_sample. * fix a minor bug. * remove unnecessary code. * Revert "add neg_deg_sample." This reverts commit 45f3c08c87e33589563ca7e6a3ec91cb1239910e. * Revert "attach positive." This reverts commit 503d7821555b69b7ccfed55ce8b87ee24fff852d. Co-authored-by:xiang song(charlie.song) <classicxsong@gmail.com>
-
xiang song(charlie.song) authored
* hot fix * Fix docs * Fix ArrayHeap float overflow bug * Fix * Clean some dead code * Fix * FIx * Add some comments * run test
-
- 30 Dec, 2019 1 commit
-
-
Chao Ma authored
* API change of kvstore * add demo for kvstore * update * remove duplicated log * change queue size * update * update * update * update * update * update * update * update * update * fix lint * change name * update * fix lint * update * update * update * update * change message queue size to a python argument * change default queue size to 2GB * OMP_NUM_THREADS=1 * add multiple NICs support for kvstore * test * fix lint * update * update * update * update * update * update * update * fix lint * fix lint * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * update * fix lint
-
- 27 Dec, 2019 1 commit
-
-
xiang song(charlie.song) authored
current samplers only support working on CPU
-
- 24 Dec, 2019 2 commits
-
-
Chao Ma authored
* API change of kvstore * add demo for kvstore * update * remove duplicated log * change queue size * update * update * update * update * update * update * update * update * update * fix lint * change name * update * fix lint * update * update * update * update * change message queue size to a python argument
-
xiang song(charlie.song) authored
* Add weight based edge sampler * Can run, edge weight work. TODO: test node weight * Fix node weight sample * Fix y * Update doc * Fix syntex * Fix * Fix GPU test for sampler * Fix test * Fix * Refactor EdgeSampler to act as class object not function that it can record its own private states. * clean * Fix * Fix * Fix run bug on kg app * update * update test * test * Simply python API and fix some C code * Fix * Fix * Fix syntex * Fix * Update API description * add replacement for edge sampler * Now edge sampler support replacement and no-replacement * Fix * Fix * change kg/app to use edge sampler with replacement config * Update replacement algo * Fix syntax * Update * Update Co-authored-by:Da Zheng <zhengda1936@gmail.com>
-
- 23 Dec, 2019 1 commit
-
-
Da Zheng authored
* get subgraph with halo. * add partition function. * add comment. * parallel partition. * fix a compilation error. * fix lint error. * address comments. * add comments. * fix for TF.
-
- 16 Dec, 2019 1 commit
-
-
xiang song(charlie.song) authored
* Add weight based edge sampler * Can run, edge weight work. TODO: test node weight * Fix node weight sample * Fix y * Update doc * Fix syntex * Fix * Fix GPU test for sampler * Fix test * Fix * Refactor EdgeSampler to act as class object not function that it can record its own private states. * clean * Fix * Fix * Fix run bug on kg app * update * update test * test * Simply python API and fix some C code * Fix * Fix * Fix syntex * Fix * Update API description
-
- 11 Dec, 2019 1 commit
-
-
Quan (Andy) Gan authored
* [Bug] Fix #1088 * fix * add comment
-
- 26 Nov, 2019 1 commit
-
-
Mufei Li authored
* Update * Update * Update * Fix * CI style fix * CI fix style * Fix * Try CI * Fix test * Update * Update * Update * Update
-
- 21 Oct, 2019 1 commit
-
-
Chao Ma authored
-
- 06 Oct, 2019 1 commit
-
-
Quan (Andy) Gan authored
-
- 03 Oct, 2019 1 commit
-
-
Da Zheng authored
-
- 02 Oct, 2019 1 commit
-
-
Da Zheng authored
-
- 01 Oct, 2019 1 commit
-
-
Da Zheng authored
* edge sampler return head nodes and tail nodes. * edge subgraph. * use VecToIdArray * example. * fix compile error.
-
- 28 Sep, 2019 2 commits
-
-
Da Zheng authored
* sort * sort in parallel. * fix a bug in sorting adj * rename. * add more comments. * accelerate GetData * fix tests. * avoid sorting multiple times. * add test. * change back. * sort. * add sort_csr. * Fix a bug. * fix. * revert modifcation. * rename * speed up EdgeIds.
-
VoVAllen authored
* fix * fix bugs
-
- 26 Sep, 2019 2 commits
-
-
Quan (Andy) Gan authored
* metapath sampler * lint & fixes * lint x2 * lint x3 * fix windows * remove max_cycle argument * add todo note
-
Da Zheng authored
* optimizer for sampling all negative edges. * allow to disable checking false negative. * fix lint. * fix docstring. * fix for comment. * add comments.
-
- 23 Sep, 2019 1 commit
-
-
Da Zheng authored
* find the existence of negative edges. * add comment. * fix test.
-
- 22 Sep, 2019 1 commit
-
-
Minjie Wang authored
* fix to_hetero when metagraph is given * minor fix * add more check
-
- 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
-
- 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
-
- 10 Sep, 2019 1 commit
-
-
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 * fix * poke ci
-
- 09 Sep, 2019 1 commit
-
-
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
-
- 23 Aug, 2019 1 commit
-
-
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
-
-
Da Zheng authored
-
- 07 Aug, 2019 2 commits
-
-
Chao Ma authored
* fix NDArray reference * fix lint * capture NDArray in the closure
-
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 1 commit
-
-
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
-
- 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
-