mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
* [WIP] Refactor-docs-structure * [Docs] Check link and fix rst (#498) * check link * fix rst * Fix conf.py * Fix lint * minor refine * minor refine * modify zh_readme and index.rst * add migration exampls get_started design to en * add tutorials to en * correct chinese doc link * Apply suggestions from code review * Update docs/en/advanced_tutorials/distributed.md Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> Co-authored-by: Mashiro <57566630+HAOCHENYE@users.noreply.github.com>
59 lines
899 B
ReStructuredText
59 lines
899 B
ReStructuredText
.. role:: hidden
|
|
:class: hidden-section
|
|
|
|
mmengine.dist
|
|
===================================
|
|
|
|
.. contents:: mmengine.dist
|
|
:depth: 2
|
|
:local:
|
|
:backlinks: top
|
|
|
|
.. currentmodule:: mmengine.dist
|
|
|
|
dist
|
|
----------------
|
|
|
|
.. autosummary::
|
|
:toctree: generated
|
|
:nosignatures:
|
|
|
|
gather
|
|
gather_object
|
|
all_gather
|
|
all_gather_object
|
|
all_reduce
|
|
all_reduce_dict
|
|
all_reduce_params
|
|
broadcast
|
|
sync_random_seed
|
|
broadcast_object_list
|
|
collect_results
|
|
collect_results_cpu
|
|
collect_results_gpu
|
|
|
|
utils
|
|
----------------
|
|
|
|
.. autosummary::
|
|
:toctree: generated
|
|
:nosignatures:
|
|
|
|
get_dist_info
|
|
init_dist
|
|
init_local_group
|
|
get_backend
|
|
get_world_size
|
|
get_rank
|
|
get_local_size
|
|
get_local_rank
|
|
is_main_process
|
|
master_only
|
|
barrier
|
|
is_distributed
|
|
get_local_group
|
|
get_default_group
|
|
get_data_device
|
|
get_comm_device
|
|
cast_data_device
|