dmlc--dgl
508197e807
* fix. * fix. * fix. * fix. * Fix test * Deprecate old DistEmbedding impl, use synchronized embedding impl * Basic imple of heterogeneous on homogenenous sampling * make pass * Pass C++ test * Add python test code * lint * lint * Add MultiLayerEtypeNeighborSampler * Add unitest for single machine dataloader * Add dist dataloader test for edge type sampler * Fix lint * fix * support for per etype sample * Fix some bug and enable distributed training with per edge sample * fix * Now distributed training works * turn off some mxnet * turn off mxnet for some dist test * fix * upd * upd according to the comments * Fix * Fix test and now distributed works. * upd * upd * Fix * Fix bug * remove dead code. * upd * Fix * upd * Fix Co-authored-by: Ubuntu <ubuntu@ip-172-31-71-112.ec2.internal> Co-authored-by: Ubuntu <ubuntu@ip-172-31-2-66.ec2.internal> Co-authored-by: Da Zheng <zhengda1936@gmail.com>
32 行
1.0 KiB
Python
32 行
1.0 KiB
Python
"""DGL distributed module contains classes and functions to support
|
|
distributed graph neural network training and inference in a cluster of
|
|
machines.
|
|
|
|
This includes a few submodules:
|
|
|
|
* distributed data structures including distributed graph, distributed tensor
|
|
and distributed embeddings.
|
|
* distributed sampling.
|
|
* distributed workload split at runtime.
|
|
* graph partition.
|
|
|
|
"""
|
|
import os
|
|
import sys
|
|
|
|
from .dist_graph import DistGraphServer, DistGraph, node_split, edge_split
|
|
from .dist_tensor import DistTensor
|
|
from .partition import partition_graph, load_partition, load_partition_book
|
|
from .graph_partition_book import GraphPartitionBook, PartitionPolicy
|
|
from .nn import *
|
|
from . import optim
|
|
|
|
from .rpc import *
|
|
from .rpc_server import start_server
|
|
from .rpc_client import connect_to_server
|
|
from .dist_context import initialize, exit_client
|
|
from .kvstore import KVServer, KVClient
|
|
from .server_state import ServerState
|
|
from .dist_dataloader import DistDataLoader
|
|
from .graph_services import sample_neighbors, sample_etype_neighbors, in_subgraph
|