1. 10 Mar, 2020 1 commit
  2. 09 Mar, 2020 2 commits
  3. 08 Mar, 2020 1 commit
    • Da Zheng's avatar
      [Feature] add metis partitioning to DGL (#1308) · 0e153c4b
      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: default avatarUbuntu <ubuntu@ip-172-31-26-167.us-east-2.compute.internal>
      0e153c4b
  4. 07 Mar, 2020 2 commits
  5. 06 Mar, 2020 2 commits
  6. 05 Mar, 2020 1 commit
  7. 04 Mar, 2020 1 commit
  8. 02 Mar, 2020 1 commit
    • Minjie Wang's avatar
      [Feature] Improve sampling speed; Better pickle/unpickle; other fixes (#1299) · 5dd35580
      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
      5dd35580
  9. 28 Feb, 2020 2 commits
    • Quan (Andy) Gan's avatar
      [Feature] PinSAGE sampler (#1249) · c3a33407
      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: default avatarMinjie Wang <minjie.wang@nyu.edu>
      c3a33407
    • Jinjing Zhou's avatar
      [CI] Regression Test Configuration (#1157) · 87bca129
      Jinjing Zhou authored
      
      
      * push
      
      * 1111
      
      * 111
      
      * fix
      
      * 222
      
      * 1231231
      
      * 111
      
      * 45458643465
      
      * fix
      
      * fix
      
      * fix
      
      * 4156416
      
      * fix
      
      * path
      
      * 111
      
      * 1231
      
      * 111
      
      * 152554
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * try fix
      
      * change name
      
      * try
      
      * fix
      
      * fix
      Co-authored-by: default avatarMinjie Wang <minjie.wang@nyu.edu>
      87bca129
  10. 26 Feb, 2020 2 commits
  11. 18 Feb, 2020 1 commit
  12. 17 Feb, 2020 2 commits
    • Minjie Wang's avatar
      [Feature] Neighbor-hood based sampling APIs (#1251) · f8d4264e
      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
      f8d4264e
    • Quan (Andy) Gan's avatar
      [Feature] Accessing node/edge types in UDFs. (#1243) · c7c0fd0e
      Quan (Andy) Gan authored
      * typed udf
      
      * docstrings
      c7c0fd0e
  13. 13 Feb, 2020 1 commit
  14. 10 Feb, 2020 1 commit
  15. 09 Feb, 2020 1 commit
    • xiang song(charlie.song)'s avatar
      [Optimization][KG] Several optimizations on DGL-KG (#1233) · ffe58983
      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
      ffe58983
  16. 08 Feb, 2020 1 commit
  17. 04 Feb, 2020 1 commit
    • Quan (Andy) Gan's avatar
      [Feature] Preference to COO for "hypersparse" unit graphs & graph compaction (#1238) · eeeb52f4
      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?
      eeeb52f4
  18. 03 Feb, 2020 1 commit
    • Mufei Li's avatar
      [DGL-LifeSci] Migration and Refactor (#1226) · 828a5e5b
      Mufei Li authored
      * First commit
      
      * Update
      
      * Update splitters
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Migrate ACNN
      
      * Fix
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Finish classification
      
      * Update
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * Fix
      
      * Fix
      
      * Fix
      
      * Update
      
      * Update
      
      * Update
      
      * trigger CI
      
      * Fix CI
      
      * Update
      
      * Update
      
      * Update
      
      * Add default values
      
      * Rename
      
      * Update deprecation message
      828a5e5b
  19. 31 Jan, 2020 1 commit
    • Quan (Andy) Gan's avatar
      [Feature] Random Walk for 0.5 (#1209) · a9dabcc7
      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
      a9dabcc7
  20. 19 Jan, 2020 1 commit
    • VoVAllen's avatar
      [Tensorflow] Several nn & example (#1191) · a00636a0
      VoVAllen authored
      * several nn example
      
      * appnp
      
      * fix lint
      
      * lint
      
      * add dgi
      
      * fix
      
      * fix
      
      * fix
      
      * fff
      
      * docs
      
      * 111
      
      * fix
      
      * change init
      
      * change result
      
      * tiaocan+1
      
      * fix
      
      * fix lint
      
      * fix
      
      * fix
      a00636a0
  21. 18 Jan, 2020 1 commit
  22. 17 Jan, 2020 1 commit
  23. 14 Jan, 2020 1 commit
  24. 10 Jan, 2020 1 commit
  25. 09 Jan, 2020 3 commits
  26. 07 Jan, 2020 1 commit
  27. 05 Jan, 2020 1 commit
    • Da Zheng's avatar
      [KG] PBG's way of constructing negative edges (#1159) · 1022d5d6
      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.
      1022d5d6
  28. 01 Jan, 2020 1 commit
  29. 31 Dec, 2019 1 commit
  30. 30 Dec, 2019 1 commit
    • Chao Ma's avatar
      [KVStore] Made kvstore can support multiple NICs (#1150) · 4f02bb75
      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
      4f02bb75
  31. 27 Dec, 2019 1 commit
  32. 24 Dec, 2019 1 commit
    • xiang song(charlie.song)'s avatar
      [Feature Improvement]Edge Sampler w and w/o replacement (#1116) · 41f8a162
      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: default avatarDa Zheng <zhengda1936@gmail.com>
      41f8a162