1. 19 Jan, 2022 3 commits
  2. 18 Jan, 2022 1 commit
  3. 17 Jan, 2022 3 commits
  4. 15 Jan, 2022 1 commit
  5. 13 Jan, 2022 2 commits
  6. 11 Jan, 2022 6 commits
    • Andrew's avatar
      [Feature] method for merging graphs into graphs (#3522) · 7f83d745
      Andrew authored
      
      
      * Added graph updating method and tests. resolves #3488
      
      * removed spaces around named args
      
      * customizing indices for graph's idtype and ctx
      
      * changing torch ops to generic backend ops
      
      * changing tensors to np arrays
      
      * created dgl merge function and tests
      
      * Changed per-graph edge updates to single ag update
      
      * removed update method and tests
      
      * reformat newlines & spaces
      
      * concatenating in one-shot instead of iteratively
      Co-authored-by: default avatarMufei Li <mufeili1996@gmail.com>
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      7f83d745
    • Rhett Ying's avatar
      4b295d60
    • Quan (Andy) Gan's avatar
    • Rhett Ying's avatar
    • MaoYuan Xian's avatar
      Pass the std:min argument's type, to avoid the compilation error. (#3637) · b002f8f9
      MaoYuan Xian authored
      
      
      * Pass the std:min argument's type, to avoid the compilation error.
      
      * Update parallel_for.h
      
      * Update negative_sampling.cc
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      b002f8f9
    • Rhett Ying's avatar
      [Feature][Dist] change TP::Receiver/TP::Sender for multiple connections (#3574) · 37467e25
      Rhett Ying authored
      
      
      * [Feature] enable TP::Receiver wait for any numbers of senders
      
      * fix random unit test failure
      
      * avoid endless future wait
      
      * fix unit test failure
      
      * fix seg fault when finalize wait in receiver
      
      * [Feature] refactor sender connect logic and remove unnecessary sleeps in unit tests
      
      * fix lint
      
      * release RPCContext resources before process exits
      
      * [Debug] TPReceiver wait start log
      
      * [Debug] add log in get port
      
      * [Debug] add log
      
      * [ReDebug] revert time sleep in unit tests
      
      * [Debug] remove sleep for test_distri,test_mp
      
      * [debug] add more log
      
      * [debug] add listen_booted_ flag
      
      * [debug] restore commented code for queue
      
      * [debug] sleep more in rpc_client
      
      * restore change in tests
      
      * Revert "restore change in tests"
      
      This reverts commit 41a18926d181ec2517069389bfc41de2cc949280.
      
      * Revert "[debug] sleep more in rpc_client"
      
      This reverts commit a908e758eabca0a6ce62eb2e59baea02a840ac67.
      
      * Revert "[debug] restore commented code for queue"
      
      This reverts commit d3f993b3746e6bb6e2cc2f90204dd7e9461c6301.
      
      * Revert "[debug] add listen_booted_ flag"
      
      This reverts commit 244b2167d94942ff2a0acec8823b974975e52580.
      
      * Revert "[debug] add more log"
      
      This reverts commit 4b78447b0a575a824821dc7e25cca2246e6e30e2.
      
      * Revert "[Debug] remove sleep for test_distri,test_mp"
      
      This reverts commit e1df1aadcc8b1c2a0013ed77322ac391a8807612.
      
      * remove debug code
      
      * revert unnecessary change
      
      * revert unnecessary changes
      
      * always reset RPCContext when get started and reset all data
      
      * remove time.sleep in dist tests
      
      * fix lint
      
      * reset envs before each dist test
      
      * reset env properly
      
      * add time sleep when start each server
      
      * sleep for a while when boot server
      
      * replace wait_thread with callback
      
      * fix lint
      
      * add dglconnect handshake check
      Co-authored-by: default avatarJinjing Zhou <VoVAllen@users.noreply.github.com>
      37467e25
  7. 10 Jan, 2022 2 commits
    • Rhett Ying's avatar
      [Feature] add CSVDataset to load data from csv files (#3547) · 95c0ff63
      Rhett Ying authored
      * [Feature] add CSVDataset to load data from csv files
      
      * add CSVDataset class file
      
      * install pyyaml when running unit tests
      
      * install pandas for unit tests
      
      * utilize pydantic for YAML config check
      
      * generate yaml and csv files during test
      
      * make more keys as optional
      
      * remove/rename several keys in yaml config and more tets though looks a bit clumsy
      
      * fix test failure on mxnet
      
      * pass /path/to/dataset instead of yaml path
      
      * code refinement
      
      * code refine
      
      * change several yaml field such as feat and graph_id
      
      * merge graph generation logic
      
      * refine code
      
      * Refactored_first_version
      
      * DGLCSVDataset works for single heterograph
      
      * add more tests
      
      * fix test failure in mxnet
      
      * add docstring
      
      * use list comprehension for dict
      
      * fix version in YAML
      
      * refine data length assert
      
      * use dict.pop directly
      
      * remove ambiguous variable names
      
      * refine graph id missing logic
      
      * refine graph create call
      
      * separate node/edge/graph data parser
      
      * remove separator in DefaultDataParser
      
      * refine validation error log for yaml field
      
      * minor check
      
      * refine code via dict.get()
      
      * move load_from_csv into Node/Edge/GraphData
      
      * move _parse_node/edge/graph_data into Node/Edge/GraphData
      
      * refine id-related fields check
      
      * check duplicate ntypes/etypes when load yaml
      
      * refine docstring
      95c0ff63
    • Quan (Andy) Gan's avatar
      disabling cuda11 apis (#3635) · c04b5bc7
      Quan (Andy) Gan authored
      c04b5bc7
  8. 07 Jan, 2022 2 commits
    • Quan (Andy) Gan's avatar
      [Feature] Negative sampling (#3599) · 90f10b31
      Quan (Andy) Gan authored
      * first commit
      
      * a bunch of fixes
      
      * add unique
      
      * lint
      
      * lint
      
      * lint
      
      * address comments
      
      * Update negative_sampler.py
      
      * fix
      
      * description
      
      * address comments and fix
      
      * fix
      
      * replace unique with replace
      
      * test pylint
      
      * Update negative_sampler.py
      90f10b31
    • Jinjing Zhou's avatar
      Fix #3623 (#3628) · 01bec4a3
      Jinjing Zhou authored
      01bec4a3
  9. 04 Jan, 2022 1 commit
  10. 29 Dec, 2021 1 commit
  11. 24 Dec, 2021 1 commit
  12. 20 Dec, 2021 3 commits
  13. 19 Dec, 2021 2 commits
  14. 17 Dec, 2021 4 commits
  15. 16 Dec, 2021 1 commit
  16. 15 Dec, 2021 2 commits
    • lixiaobai's avatar
      [PinSAGESampler] support PinSAGE sampler on GPU (#3567) · dd762a1e
      lixiaobai authored
      
      
      * Feat: support API "randomwalk_topk" in library
      
      * Feat: use the new API "randomwalk_topk" for PinSAGESampler
      
      * Minor
      
      * Minor
      
      * Refactor: modified codes as checker required
      
      * Minor
      
      * Minor
      
      * Minor
      
      * Minor
      
      * Fix: checking errors in RandomWalkTopk
      
      * Refactor: modified the docstring for randomwalk_topk
      
      * change randomwalk_topk to internal
      
      * fix
      
      * rename
      
      * Minor for pinsage.py
      
      * Feat: support randomwalk and SelectPinSageNeighbors on GPU
      
      Port RandomWalk algorithm on GPU,
      and port SelectPinSageNeighbors on GPU.
      
      * Feat: support GPU on python APIs
      
      * Feat: remove perf print information in FrequenchHashmap
      
      * Fix: modified the code format
      
      Modified the code format as task_lint.sh suggested
      
      * Feat: let test script support PinSAGESampler on GPU
      
      Let test script support PinSAGESampler on GPU,
      minor of "restart_prob".
      
      * Minor
      
      * Minor
      
      * Minor
      
      * Refactor: use the atomic operations from the array module
      
      * Minor: change the long lines
      
      * Refactor: modified the get_node_types for gpu
      
      * Feat: update the contributor date
      
      * Perf: remove unnecessary stream sync
      
      * Feat: support other random walk
      
      But the non-uniform choice is still not supported.
      
      * Fix: add CUDA switch for random walk
      Co-authored-by: default avatarQuan Gan <coin2028@hotmail.com>
      dd762a1e
    • Vasimuddin Md's avatar
      [DistGNN, Graph partitioning] Libra partition (#3376) · 78e0dae6
      Vasimuddin Md authored
      
      
      * added distgnn plus libra codebase
      
      * Dist application codes
      
      * added comments in partition code. changed the interface of partitioning call.
      
      * updated readme
      
      * create libra partitioning branch for the PR
      
      * removed disgnn files for first PR
      
      * updated kernel.cc
      
      * added libra_partition.cc and moved libra code from kernel.cc to libra_partition.cc
      
      * fixed lint error; merged libra2dgl.py and main_Libra.py to libra_partition.py; added graphsage/distgnn folder and partition script.
      
      * removed libra2dgl.py
      
      * fixed the lint error and cleaned the code.
      
      * revisions due to PR comments. added distgnn/tools contains partitions routines
      
      * update 2 PR revision I
      
      * fixed errors; also improved the runtime by 10x.
      
      * fixed minor lint error
      
      * fixed some more lints
      
      * PR revision II changed the interface of libra partition function
      
      * rewrite docstring
      Co-authored-by: default avatarQuan (Andy) Gan <coin2028@hotmail.com>
      78e0dae6
  17. 13 Dec, 2021 3 commits
  18. 09 Dec, 2021 1 commit
  19. 08 Dec, 2021 1 commit