1. 16 Jun, 2021 1 commit
  2. 14 Jun, 2021 2 commits
  3. 11 Jun, 2021 2 commits
    • Jinjing Zhou's avatar
      [NN] Add fast path for GateGCNConv when it has only one edge type (#2994) · 2570d412
      Jinjing Zhou authored
      * fix gatedgcn
      
      * fix lint
      2570d412
    • nv-dlasalle's avatar
      [Feature] Allow using NCCL for communication in dgl.NodeEmbedding and dgl.SparseOptimizer (#2824) · 17d604b5
      nv-dlasalle authored
      
      
      * Split from NCCL PR
      
      * Fix type in comment
      
      * Expand documentation for sparse_all_to_all_push
      
      * Restore previous behavior in example
      
      * Re-work optimizer to use NCCL based on gradient location
      
      * Allow for running with embedding on CPU but using NCCL for gradient exchange
      
      * Optimize single partition case
      
      * Fix pylint errors
      
      * Add missing include
      
      * fix gradient indexing
      
      * Fix line continuation
      
      * Migrate 'first_step'
      
      * Skip tests without enough GPUs to run NCCL
      
      * Improve empty tensor handling for pytorch 1.5
      
      * Fix indentation
      
      * Allow multiple NCCL communicator to coexist
      
      * Improve handling of empty message
      
      * Update python/dgl/nn/pytorch/sparse_emb.py
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      
      * Update python/dgl/nn/pytorch/sparse_emb.py
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      
      * Keepy empty tensor dimensionaless
      
      * th.empty -> th.tensor
      
      * Preserve shape for empty non-zero dimension tensors
      
      * Use shared state, when embedding is shared
      
      * Add support for gathering an embedding
      
      * Fix typo
      
      * Fix more typos
      
      * Fix backend call
      
      * Use NodeDataLoader to take advantage of ddp
      
      * Update training script to share memory
      
      * Only squeeze last dimension
      
      * Better handle empty message
      
      * Keep embedding on the target device GPU if dgl_sparse if false in RGCN example
      
      * Fix typo in comment
      
      * Add asserts
      
      * Improve documentation in example
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      17d604b5
  4. 10 Jun, 2021 1 commit
  5. 07 Jun, 2021 1 commit
  6. 04 Jun, 2021 2 commits
    • Da Zheng's avatar
      [Tutorial] Distributed node classification. (#2969) · b1628f23
      Da Zheng authored
      
      
      * add init version.
      
      * fix build.
      
      * fix format.
      
      * fix.
      
      * fix.
      
      * fix format.
      
      * update README.
      
      * avoid running CI on distributed training tutorials.
      
      * Update tutorials/dist/1_node_classification.py
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      
      * fix.
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      b1628f23
    • Jinjing Zhou's avatar
      [CI] Use k8s cluster (#2957) · 6a56562a
      Jinjing Zhou authored
      * add
      
      * fix
      
      * set default
      
      * fix
      
      * try master
      
      * try fix
      
      * try
      
      * fix
      
      * 111
      
      * fix
      
      * fix
      
      * update
      
      * ccc
      
      * try
      
      * fix
      
      * fix
      
      * try new machine
      
      * fix
      
      * fix
      
      * fix
      
      * Revert "fix"
      
      This reverts commit e716d66b046f92fe7ae368947a51a036a7a3188a.
      
      * try
      
      * more parrallel
      
      * use k8s for all
      
      * fix name
      
      * try not specify instance type
      
      * ci
      
      * use one yaml
      
      * Revert "use one yaml"
      
      This reverts commit 717d8d852be39fbf2e2e45f9f224aa97907c372c.
      
      * add timeout
      
      * fix permission
      
      * mount efs
      
      * print
      
      * fix pvc
      
      * fix
      
      * restrict num of gpu instances
      
      * check
      
      * fix
      
      * fix
      6a56562a
  7. 03 Jun, 2021 1 commit
  8. 01 Jun, 2021 2 commits
    • Qidong Su's avatar
      [Feature][Sampler] Sort CSR by tag (#1664) · b8fe2b48
      Qidong Su authored
      
      
      * update
      
      * update
      
      * update
      
      * update
      
      * lint
      
      * lint
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * update
      
      * lint
      
      * update
      
      * clone
      
      * update
      
      * update
      
      * update
      
      * update
      
      * replace idarray with ndarray
      
      * refactor cpp part
      
      * refactor python part
      
      * debug
      
      * refactor interface
      
      * test and doc
      
      * lint and test
      
      * lint
      
      * fix
      
      * fix
      
      * fix
      
      * const
      
      * doc
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix & doc
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * fix
      
      * update
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      b8fe2b48
    • Quan (Andy) Gan's avatar
      fix residual (#2962) · fcfe52ae
      Quan (Andy) Gan authored
      fcfe52ae
  9. 31 May, 2021 1 commit
  10. 26 May, 2021 1 commit
  11. 20 May, 2021 1 commit
    • nv-dlasalle's avatar
      [Feature][Performance] Implement NCCL wrapper for communicating NodeEmbeddings... · ae8dbe6d
      nv-dlasalle authored
      
      [Feature][Performance] Implement NCCL wrapper for communicating NodeEmbeddings and sparse gradients. (#2825)
      
      * Split NCCL wrapper from sparse optimizer and sparse embedding
      
      * Add more unit tests for single node nccl
      
      * Fix unit test for tf
      
      * Switch to device histogram
      
      * Fix histgram issues
      
      * Finish migration to histogram
      
      * Handle cases with zero send/recieve data
      
      * Start on partition object
      
      * Get compiling
      
      * Updates
      
      * Add unit tests
      
      * Switch to partition object
      
      * Fix linting issues
      
      * Rename partition file
      
      * Add python doc
      
      * Fix python assert and finish doxygen comments
      
      * Remove stubs for range based partition to satisfy pylint
      
      * Wrap unit test in GPU only
      
      * Wrap explicit cuda call in ifdef
      
      * Merge with partition.py
      
      * update docstrings
      
      * Cleanup partition_op
      
      * Add Workspace object
      
      * Switch to using workspace object
      
      * Move last remainder based function out of nccl_api
      
      * Add error messages
      
      * Update docs with examples
      
      * Fix linting erros
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      ae8dbe6d
  12. 19 May, 2021 1 commit
  13. 18 May, 2021 1 commit
  14. 17 May, 2021 2 commits
  15. 11 May, 2021 1 commit
  16. 07 May, 2021 1 commit
  17. 03 May, 2021 1 commit
  18. 27 Apr, 2021 2 commits
  19. 26 Apr, 2021 1 commit
    • Da Zheng's avatar
      [Distributed] Fix a bug in graph partition. (#2869) · e7046f1e
      Da Zheng authored
      
      
      * update distributed training doc.
      
      * explain data split.
      
      * fix message passing.
      
      * id mapping.
      
      * fix.
      
      * test data reshuffling.
      
      * fix a bug.
      
      * fix test.
      
      * Revert "fix."
      
      This reverts commit 2d025e9e1a5c05c3da9b803a035a788ced59bd77.
      
      * Revert "id mapping."
      
      This reverts commit 2a6a93ceb81fbdff86e6e9e5a58e1ace1e9d9882.
      
      * Revert "fix message passing."
      
      This reverts commit ed8a86bf2b015e5e4f64ba160e81b207ad2a1d65.
      
      * Revert "explain data split."
      
      This reverts commit 4338ddf8a336014cf92d4cb9a1db02b9badc0e55.
      
      * Revert "update distributed training doc."
      
      This reverts commit dda1c35c44536934c19715534f01f832afda6ad2.
      
      * add more tests.
      
      * fix.
      
      * fix.
      
      * fix.
      Co-authored-by: default avatarZheng <dzzhen@3c22fba32af5.ant.amazon.com>
      Co-authored-by: default avatarxiang song(charlie.song) <classicxsong@gmail.com>
      e7046f1e
  20. 25 Apr, 2021 1 commit
  21. 22 Apr, 2021 2 commits
  22. 16 Apr, 2021 1 commit
    • nv-dlasalle's avatar
      [Performance] Track sorted status of COO from creation (#2645) · bbebde46
      nv-dlasalle authored
      
      
      * Add row/col sorted flags
      
      * improve sorting paths
      
      * Remove print statement
      
      * Keep track of sorted matrices
      
      * Remove sort check in to_block
      
      * Improve CPU sorted COO->CSR
      
      * Handle the zero edge case
      
      * Remove omp default clause to work with MSVC
      
      * Update comments on sorted COO->CSR cpu implementatoin
      
      * Expose sorted to python interface
      
      * Make check_sorted default to false for dgl.graph()
      
      * remove check sorted; add utests
      
      * remove check_sorted flag
      Co-authored-by: default avatarMinjie Wang <wmjlyjemaine@gmail.com>
      bbebde46
  23. 15 Apr, 2021 1 commit
    • nv-dlasalle's avatar
      [Performance][GPU] Enable GPU uniform edge sampling (#2716) · e70138bb
      nv-dlasalle authored
      
      
      * Start on uniform GPU sampling
      
      * Save more work
      
      * Get cu file compiling
      
      * Update sampling
      
      * More changes
      
      * Get GPU sampling for uniform probabilities solved
      
      * Fix batch tensor migration
      
      * Fix
      
      * update kernels
      
      * expand blocking
      
      * Undo testing change
      
      * Cut down on sampling overhead
      
      * Fix replacement
      
      * Update unit tests
      
      * Add option to gpu sample in graphsage
      
      * Copy only csc to gpu
      
      * Add ogbn support
      
      * Fix linting
      
      * Remove nvtx from sample
      
      * Improve documentation and error checking
      
      * Expand documentation
      
      * Update assert checking
      
      * delete extra space
      
      * Use standard dataloader when dataset is a dictionary
      
      * ogb -> ogbn
      
      * Fix edge selection determinism
      
      * Fix typos
      
      * Remove nvtx
      
      * Add comment for self.fanout_arrays and assert
      
      * Fix linting
      
      * Migrate to scalarbatcher
      
      * Fix indentation
      
      * Fix batcher
      
      * Fix indexing
      
      * Only use databatcher for GPU
      
      * Convert to DGL NDArray to PyTorch Tensor
      
      * Add optimization for PyTorch's F.tensor() for list of GPU tensors
      Co-authored-by: default avatarDa Zheng <zhengda1936@gmail.com>
      e70138bb
  24. 13 Apr, 2021 1 commit
  25. 09 Apr, 2021 1 commit
  26. 01 Apr, 2021 1 commit
  27. 30 Mar, 2021 1 commit
  28. 25 Mar, 2021 1 commit
  29. 24 Mar, 2021 1 commit
    • Quan (Andy) Gan's avatar
      [Feature] Sparse-sparse matrix multiplication, addition, and masking (#2753) · 929d8634
      Quan (Andy) Gan authored
      * test
      
      * more stuff
      
      * add test
      
      * fixes
      
      * optimize algo
      
      * replace unordered_map with arrays
      
      * lint
      
      * lint x2
      
      * oops
      
      * disable gpu csrmm tests
      
      * remove gpu invocation
      
      * optimize with openmp
      
      * remove python functions
      
      * add back with docstrings
      
      * lint
      
      * lint
      
      * update python interface
      
      * functionize
      
      * functionize
      
      * lint
      
      * lint
      929d8634
  30. 18 Mar, 2021 2 commits
  31. 09 Mar, 2021 1 commit
  32. 03 Mar, 2021 1 commit