dmlc--dgl
8d5d8962ad
* expose GeneratePermutation * add sparse_all_to_all_push * add sparse_all_to_all_pull * add unit test * handle world_size=1 * remove python nccl wrapper * remove the nccl dependency * use pinned memory to speedup D2H copy * fix lint * resolve comments * fix lint * fix ut * resolve comments
6 行
117 B
Python
6 行
117 B
Python
""" CUDA wrappers """
|
|
from .. import backend as F
|
|
|
|
if F.get_preferred_backend() == "pytorch":
|
|
from . import nccl
|