1. 02 Apr, 2020 2 commits
  2. 01 Apr, 2020 1 commit
  3. 19 Mar, 2020 1 commit
  4. 17 Mar, 2020 2 commits
    • Chao Ma's avatar
      [DGL-KE] Add license to every file header (#1368) · 635dfb4a
      Chao Ma authored
      * update metis
      
      * update
      
      * update dataloader
      
      * update dataloader
      
      * new script
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update dataloader
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * Add license to every filer header
      635dfb4a
    • Chao Ma's avatar
      [DGL-KE] Add METIS preprocessing pipeline (#1365) · f8ae6350
      Chao Ma authored
      * update metis
      
      * update
      
      * update dataloader
      
      * update dataloader
      
      * new script
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update dataloader
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      f8ae6350
  5. 16 Mar, 2020 1 commit
  6. 15 Mar, 2020 2 commits
  7. 14 Mar, 2020 1 commit
    • Mufei Li's avatar
      [DGL-LifeSci] WLN for Reaction Center Prediction (#1360) · 545cc065
      Mufei Li authored
      * 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
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      
      * Update
      545cc065
  8. 13 Mar, 2020 1 commit
  9. 12 Mar, 2020 1 commit
  10. 11 Mar, 2020 1 commit
  11. 10 Mar, 2020 1 commit
  12. 09 Mar, 2020 3 commits
  13. 05 Mar, 2020 1 commit
  14. 04 Mar, 2020 1 commit
  15. 02 Mar, 2020 1 commit
    • Chao Ma's avatar
      [DGL-KE] Distributed training of DGL-KE (#1290) · 00ba4094
      Chao Ma authored
      * update
      
      * change name
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * change worker number
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * test
      
      * update
      
      * update
      
      * update
      
      * remove barrier
      
      * max_step
      
      * update
      
      * add complex
      
      * update
      
      * chmod +x
      
      * update
      
      * update
      
      * random partition
      
      * random partition
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * change num_test_proc
      
      * update num_thread
      
      * update
      00ba4094
  16. 18 Feb, 2020 1 commit
  17. 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
  18. 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
  19. 08 Feb, 2020 1 commit
  20. 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
  21. 10 Jan, 2020 1 commit
  22. 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
  23. 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
  24. 04 Jan, 2020 1 commit
  25. 03 Jan, 2020 1 commit
  26. 02 Jan, 2020 1 commit
  27. 31 Dec, 2019 1 commit
    • Da Zheng's avatar
      Accelerate edge sampling (#1151) · 162dc19a
      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: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      162dc19a
  28. 29 Dec, 2019 1 commit
  29. 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
  30. 20 Dec, 2019 1 commit
    • VoVAllen's avatar
      [Backend] TF backend (#978) · d30a69bf
      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
      d30a69bf
  31. 13 Dec, 2019 1 commit
  32. 01 Dec, 2019 2 commits
  33. 14 Nov, 2019 1 commit
    • MilkshakeForReal's avatar
      [Model] add RotatE to dgl-kg (#964) · 8b17a5c1
      MilkshakeForReal authored
      Add RotatE support for KGE (apps/kg)
      Performance Result:
      Dataset FB15k:
      Result from Paper:
      MR: 40
      MRR: 0.797
      HIT@1: 74.6
      HIT@3: 83.0
      HIT@10: 88.4
      
      Our Impl:
      MR: 39.6
      MRR: 0.725
      HIT@1: 62.8
      HIT@3: 80.2
      HIT@10: 87.5
      8b17a5c1
  34. 01 Nov, 2019 1 commit
    • xiang song(charlie.song)'s avatar
      [NN]Supporting TransR in app/kg score_func (#945) · 7f65199a
      xiang song(charlie.song) authored
      * Add TransR for kge
      
      * Now Pytorch TransR can run
      
      * Add MXNet TransR
      
      * Now mxnet can work with small dim size
      
      * Add test
      
      * Pass simple test_score
      
      * Update test with transR score func
      
      * Update RESCAL MXNet
      
      * Add missing funcs
      
      * Update init func for transR score
      
      * Revert "Update init func for transR score"
      
      This reverts commit 0798bb886095e7581f6675da5343376844ce45b9.
      
      * Update score func of TransR MXNet
      
      Make it more memory friendly and faster,
      thourgh it is still very slow and memory consuming
      
      * Update best config
      
      * Fix ramdom seed for test
      
      * Init score-func specific var
      
      * Update Readme
      7f65199a