- 22 Mar, 2020 2 commits
-
-
Quan (Andy) Gan authored
-
Da Zheng authored
* fix is_multigraph in from_coo. * add tests for partition. * fix. * Revert "add tests for partition." This reverts commit cb8c8555da3e0c70a482c2d639adce2943475bfc. * fix everywhere from_scipy_sparse_matrix is used.
-
- 20 Mar, 2020 1 commit
-
-
Mufei Li authored
Co-authored-by:Minjie Wang <wmjlyjemaine@gmail.com>
-
- 18 Mar, 2020 1 commit
-
-
Quan (Andy) Gan authored
* fix for new ntype API for blocks * adding two new interfaces
-
- 16 Mar, 2020 1 commit
-
-
Minjie Wang authored
* change the model to use node embedding only * minibatch training * add readme * small fix * backward-compatible * backward compatible * modify to_block; rgcn changed * fix * fix transform * fix bug in unittest script * docstring * fix lint * add tests * address comments; fix offline eval * gitignore
-
- 11 Mar, 2020 1 commit
-
-
Da Zheng authored
* make graph symmetric * call gklib routine. * use gklib version except in windows. * minor errors. * fix test. * update doc. * fix a compile error. * fix. * add comments for the new C API. * fix a bug. * address comments. * fix compile error. * fix comment.
-
- 10 Mar, 2020 1 commit
-
-
xiang song(charlie.song) authored
* compact * prealloc memory for hashtable * Fix * upd * Reduce memory * upd Co-authored-by:Ubuntu <ubuntu@ip-172-31-51-214.ec2.internal>
-
- 08 Mar, 2020 1 commit
-
-
Da Zheng authored
* add metis. * add test. * construct partition id. * link to METIS github repo. * update metis. * add a tool for partitioning a graph. * update metis. * update. * update. * fix metis. * fix lint * fix indent. * another way of building metis. * disable metis in windows. * test windows * fix. * disable metis for windows properly. * fix for tensorflow. * skip test for gpu. * make graph symmetric * address comments. * more comments. * fix compile * fix a bug. * add test. * change the default #hops of HALO nodes. Co-authored-by:Ubuntu <ubuntu@ip-172-31-26-167.us-east-2.compute.internal>
-
- 07 Mar, 2020 2 commits
-
-
Quan (Andy) Gan authored
* remove edge and to bipartite and graphsage with sampling * fixes * fixes * fixes * reenable multigpu training * fixes * compatibility in DGLGraph * rename to compact_as_bipartite * bugfix * lint * add offline inference * skip GPU tests * fix * addresses comments * fix * fix * fix * more tests * more docs and unit tests * workaround for empty slice on empty data
-
Quan (Andy) Gan authored
* add num nodes in ctors * fix * lint * addresses comments * replace with constexpr * remove function with rvalue reference * address comments
-
- 06 Mar, 2020 1 commit
-
-
Zihao Ye authored
-
- 05 Mar, 2020 1 commit
-
-
Zihao Ye authored
* upd * upd * upd * lint * fix * fix test * fix * fix * upd * upd * upd * upd * upd * upd * upd * upd * upd * upd * upd tutorial * upd * upd * fix kg * upd doc organization * refresh test * upd * refactor doc * fix lint Co-authored-by:Minjie Wang <minjie.wang@nyu.edu>
-
- 02 Mar, 2020 1 commit
-
-
Minjie Wang authored
* improve performance of sample_neighbors * some more improve * test script * benchmarks * multi process * update more tests * WIP * adding two API for state saving * add create from state * upd test * missing file * wip: pickle/unpickle * more c apis * find the problem of empty data array * add null array; pickling speed is bad * still bad perf * still bad perf * wip * fix the pickle speed test; now everything looks good * minor fix * bugfix * some lint fix * address comments * more fix * fix lint * add utest for random.choice * add utest for dgl.rand_graph * fix cpp utests * try fix ci * fix bug in TF backend * upd choice docstring * address comments * upd * try fix compile * add comment
-
- 28 Feb, 2020 1 commit
-
-
Quan (Andy) Gan authored
* [WIP] PinSAGE operators * moved the edge remapping mess into C * some docstrings * lint * lint x2 * lint x3 * skip gpu test on topk * extend pinsage to any metapath * lint x4 * addresses #1265 * add always_preserve (fixes #1266) and fix a silly bug * disable gpu test on compaction * lint * fix a horrible bug and add more tests * lint * addresses comments * lint * bugfix * addresses comments Co-authored-by:Minjie Wang <minjie.wang@nyu.edu>
-
- 26 Feb, 2020 1 commit
-
-
Minjie Wang authored
* fix nodeflow bug when using builtin on edge data * fix
-
- 18 Feb, 2020 1 commit
-
-
Minjie Wang authored
* WIP * fix shape of stack reducer * apply merge order by edge id for stack reducer
-
- 17 Feb, 2020 2 commits
-
-
Minjie Wang authored
* WIP: working on random choices * light slice * basic CPU impl * add python binding; fix CreateFromCOO and CreateFromCSR returning unitgraph * simple test case works * fix bug in slicing probability array * fix bug in getting the correct relation graph * fix bug in creating placeholder graph * enable omp * add cpp test * sample topk * add in|out_subgraph * try fix lint; passed all unittests * fix lint * fix msvc compile; add sorted flag and constructors * fix msvc * coosort * COOSort; CSRRowWiseSampling; CSRRowWiseTopk * WIP: remove DType in CSR and COO; Restrict data array to be IdArray * fix all CSR ops for missing data array * compiled * passed tests * lint * test sampling out edge * test different per-relation fanout/k values * fix bug in random choice * finished cpptest * fix compile * Add induced edges * add check * fixed bug in sampling on hypersparse graph; add tests * add ascending flag * in|out_subgraph returns subgraph and induced eid * address comments * lint * fix
-
Quan (Andy) Gan authored
* typed udf * docstrings
-
- 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
-
- 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
-
- 18 Jan, 2020 1 commit
-
-
xiang song(charlie.song) authored
* Add boundary check for heterograph build with card as input * Fix when u or v is empty * fix test_kernel.py error print * Revert "fix test_kernel.py error print" This reverts commit a71c20292549c0ac62a5326c30669ca4bde8febc. * Turn op validation check on graph and bipartite by default * upd * udp * upd * update test
-
- 17 Jan, 2020 1 commit
-
-
xiang song(charlie.song) authored
* Fix the random seed and fix the _print_error * Fix check_positive_edge_sampler sample weight. Co-authored-by:
Zihao Ye <zihaoye.cs@gmail.com> Co-authored-by:
VoVAllen <VoVAllen@users.noreply.github.com>
-
- 14 Jan, 2020 1 commit
-
-
Quan (Andy) Gan authored
* another fix * another try * fix * rewriting with kernel functions * revert mxnet softmax changes * lint fix Co-authored-by:Zihao Ye <zihaoye.cs@gmail.com>
-
- 10 Jan, 2020 1 commit
-
-
xiang song(charlie.song) authored
* remote copy from parent * upd * make test_sampler easier to pass
-
- 09 Jan, 2020 2 commits
-
-
Quan (Andy) Gan authored
* [BUG] Fix empty heterograph creation with list & tuple * more fix
-
Quan (Andy) Gan authored
* [Feature] Pickle support for heterograph * fix lint Co-authored-by:VoVAllen <VoVAllen@users.noreply.github.com>
-
- 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 1 commit
-
-
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
-
- 27 Dec, 2019 1 commit
-
-
xiang song(charlie.song) authored
current samplers only support working on CPU
-
- 24 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 * 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 3 commits
-
-
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.
-
VoVAllen authored
-
VoVAllen authored
* tf * add builtin support * fiix * pytest * fix * fix * fix some bugs * fix selecting * fix todo * fix test * fix test fail in tf * fix * fix * fix gather row * fix gather row * log backend * fix gather row * fix gather row * fix for pytorch * fix * fix * fix * fix * fix * fix tests * fix * fix * fix * fix * fix * fix * fix convert * fix * fix * fix * fix inplace * add alignment setting * add debug option * Revert "add alignment setting" This reverts commit ec63fb3506ea84fff7d447a1fbdfd1d5d1fb6110. * tf ci * fix lint * fix lint * add tfdlpack * fix type * add env * fix backend * fix * fix tests * remove one_hot * remove comment * remove comment * fix * use pip to install all * fix test * fix base * fix * fix * add skip * upgrade cmake * change version * change ci * fix * fix * fix * fix * fix seg fault * fix * fix python version * fix * try fix * fix * fix * tf takes longer time in ci * change py version * fix * fix * fix oom * change kg env * change kg env * 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 * 我再也不搞各种乱七八糟环境了…… * use pytest * Chang image * try node * try * fix * try new ci * try new ci * try new ci * try new ci * ci * try * try * fix * hot fix * fix * fix cpp test * add comments
-
- 20 Dec, 2019 1 commit
-
-
VoVAllen authored
* tf * add builtin support * fiix * pytest * fix * fix * fix some bugs * fix selecting * fix todo * fix test * fix test fail in tf * fix * fix * fix gather row * fix gather row * log backend * fix gather row * fix gather row * fix for pytorch * fix * fix * fix * fix * fix * fix tests * fix * fix * fix * fix * fix * fix * fix convert * fix * fix * fix * fix inplace * add alignment setting * add debug option * Revert "add alignment setting" This reverts commit ec63fb3506ea84fff7d447a1fbdfd1d5d1fb6110. * tf ci * fix lint * fix lint * add tfdlpack * fix type * add env * fix backend * fix * fix tests * remove one_hot * remove comment * remove comment * fix * use pip to install all * fix test * fix base * fix * fix * add skip * upgrade cmake * change version * change ci * fix * fix * fix * fix * fix seg fault * fix * fix python version * fix * try fix * fix * fix * tf takes longer time in ci * change py version * fix * fix * fix oom * change kg env * change kg env * 啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊 * 我再也不搞各种乱七八糟环境了…… * use pytest * Chang image
-
- 16 Dec, 2019 2 commits
-
-
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
-
VoVAllen authored
* change ci image * fix * force bash * fix * fix python version * fix * fix * fix * update gpu * cuda * jenkins * fix build sh * fix * Revert "fix" This reverts commit 6b091914b3ef6b4300fa662ee375aa4b27944f5c. * try fix * fix * Revert "fix" This reverts commit e42c3035fa4974c6b197aaba0748f7b45113ddaa. * try fix * fix * fix * fix * fix * fix * fix * fix tests * try fix * fix * fix * fix * fix * fix * fix * fix ctx problem * fix many tests * fix typo * add backend * move to pytorch folder * fix? * fix ci * try skip * try false * try? * try? * Revert to 7d9a52f * fix various * fix lint * Revert Jenkinsfile * revert env * revert env * address comment * remove file
-
- 11 Dec, 2019 1 commit
-
-
Quan (Andy) Gan authored
* [Bug] Fix #1088 * fix * add comment
-
- 05 Dec, 2019 1 commit
-
-
Zihao Ye authored
* fix * improve * fix lint * upd * fix * upd
-
- 29 Nov, 2019 1 commit
-
-
Quan (Andy) Gan authored
* fix * unit test
-