33 lines
1.4 KiB
Python
33 lines
1.4 KiB
Python
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
from .all_gather import all_gather, all_gather_object # noqa: F401
|
|
from .all_reduce import all_reduce # noqa: F401
|
|
from .all_to_all import alltoall, alltoall_single # noqa: F401
|
|
from .batch_isend_irecv import P2POp, batch_isend_irecv # noqa: F401
|
|
from .broadcast import broadcast, broadcast_object_list # noqa: F401
|
|
from .gather import gather # noqa: F401
|
|
from .group import ( # noqa: F401
|
|
barrier,
|
|
destroy_process_group,
|
|
get_backend,
|
|
get_group,
|
|
is_initialized,
|
|
wait,
|
|
)
|
|
from .recv import irecv, recv, recv_object_list # noqa: F401
|
|
from .reduce import ReduceOp, reduce # noqa: F401
|
|
from .reduce_scatter import reduce_scatter # noqa: F401
|
|
from .scatter import scatter, scatter_object_list # noqa: F401
|
|
from .send import isend, send, send_object_list # noqa: F401
|