项目文件夹

文件
nv-dlasalle 17d604b5c7 [Feature] Allow using NCCL for communication in dgl.NodeEmbedding and dgl.SparseOptimizer (#2824)
* 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: xiang song(charlie.song) <classicxsong@gmail.com>

* Update python/dgl/nn/pytorch/sparse_emb.py

Co-authored-by: xiang 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: xiang song(charlie.song) <classicxsong@gmail.com>
2021-06-10 21:19:00 -07:00
..
2020-08-01 19:25:50 +08:00
2021-04-07 00:16:09 +08:00
2020-10-29 23:05:36 +08:00
2021-04-05 20:45:38 +08:00
2021-04-25 18:37:41 +08:00
2020-08-19 17:42:48 +08:00
2021-04-23 22:33:39 +08:00
2021-03-22 18:13:08 +08:00
2021-05-11 16:25:56 +08:00
2021-04-12 19:02:36 +08:00
2020-08-19 14:24:39 +08:00
2021-04-11 20:33:03 +08:00
2021-04-07 14:29:33 +08:00
2021-04-21 13:05:25 +08:00
2021-06-03 16:03:55 +08:00
2020-08-20 10:25:20 +08:00
2020-08-03 19:15:28 +08:00
2021-04-03 20:02:04 +08:00