1. 18 Feb, 2020 2 commits
  2. 17 Feb, 2020 4 commits
    • Minjie Wang's avatar
      537d37c2
    • 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
    • Chao Ma's avatar
      [KVStore] New kvstore used by DGL-KE (#1263) · b133abb8
      Chao Ma authored
      * new kvstore
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * test warning
      
      * update
      
      * update
      
      * udpate
      
      * update
      
      * update
      
      * update
      
      * update
      
      * small fix
      
      * small fix
      
      * get group count
      
      * update
      
      * update
      
      * make file
      
      * update
      
      * use addr
      
      * get id
      
      * partition book
      
      * update
      
      * partition
      
      * barrier
      
      * update
      
      * loop count
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * add mxnet demo
      
      * update ip
      
      * update
      
      * update
      
      * update
      
      * random
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * fix lint
      
      * fix lint
      
      * fix lint
      b133abb8
  3. 16 Feb, 2020 1 commit
    • xiang song(charlie.song)'s avatar
      [KG][Optimization] Soft relation partition (#1252) · 49fe5b3c
      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
      
      * Add soft relation part
      
      * Upd
      
      * Some fix
      
      * upd
      
      * Now work
      
      * Fix TransR
      
      * Fix eval and add some doc string
      
      * triger
      
      * upd
      
      * Add some training scripts for freebase multi-gpu
      
      * upd
      
      * upd
      
      * upd
      49fe5b3c
  4. 13 Feb, 2020 3 commits
  5. 12 Feb, 2020 1 commit
  6. 10 Feb, 2020 1 commit
  7. 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
  8. 08 Feb, 2020 2 commits
  9. 07 Feb, 2020 1 commit
  10. 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
  11. 03 Feb, 2020 2 commits
    • 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
    • Quan (Andy) Gan's avatar
      fix regression in #1237 (#1239) · e4948c5c
      Quan (Andy) Gan authored
      e4948c5c
  12. 31 Jan, 2020 2 commits
    • Da Zheng's avatar
      [Doc] Fix the doc of NeighborSampler. (#1236) · c167373e
      Da Zheng authored
      * fix.
      
      * fix.
      c167373e
    • 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
  13. 26 Jan, 2020 1 commit
  14. 20 Jan, 2020 1 commit
  15. 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
  16. 18 Jan, 2020 1 commit
  17. 17 Jan, 2020 1 commit
  18. 16 Jan, 2020 1 commit
  19. 14 Jan, 2020 1 commit
  20. 11 Jan, 2020 1 commit
  21. 10 Jan, 2020 1 commit
  22. 09 Jan, 2020 6 commits
  23. 08 Jan, 2020 1 commit
    • xiang song(charlie.song)'s avatar
      [Feature][KG] Multi-GPU training support for DGL KGE (#1178) · bb6a6476
      xiang song(charlie.song) authored
      * multi-gpu
      
      * Pytorch can run but test has acc problem
      
      * pytorch train/eval can run in multi-gpu
      
      * Fix eval
      
      * Fix
      
      * Fix mxnet
      
      * trigger
      
      * triger
      
      * Fix mxnet score_func
      
      * Fix
      
      * check
      
      * FIx default arg
      
      * Fix train_mxnet mix_cpu_gpu
      
      * Make relation mix_cpu_gpu
      
      * delete some dead code
      
      * some opt for update
      
      * Fix cpu grad update
      bb6a6476
  24. 07 Jan, 2020 2 commits
  25. 06 Jan, 2020 1 commit
    • Chao Ma's avatar
      [KVStore] Fix memory leak bug. (#1174) · 38d292e5
      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
      38d292e5