43f6da787e02b49a9d219c5049165be71471ee9a,torch/distributed/distributed_c10d.py,,init_process_group,#Any#Any#Any#Any#Any#Any#Any#,350

Before Change


    // barrier at the end to ensure that once we return from this method, all
    // process groups including global variables are updated correctly on all
    // ranks.
    barrier()

def _new_process_group_helper(world_size,
                              rank,
                              group_ranks,

After Change


    // barrier at the end to ensure that once we return from this method, all
    // process groups including global variables are updated correctly on all
    // ranks.
    if backend == Backend.MPI:
        // MPI doesn"t have store.
        barrier()
    else:
        // Use store based barrier here since barrier() used a bunch of
        // default devices and messes up NCCL internal state.
        _store_based_barrier(rank, store, timeout)

def _new_process_group_helper(world_size,
                              rank,
                              group_ranks,
                              backend,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: pytorch/pytorch
Commit Name: 43f6da787e02b49a9d219c5049165be71471ee9a
Time: 2020-12-18
Author: pritam.damania@fb.com
File Name: torch/distributed/distributed_c10d.py
Class Name:
Method Name: init_process_group


Project Name: Qiskit/qiskit-aqua
Commit Name: 47c5b2e340be934c36af62bdd7f5ea08d5d65024
Time: 2019-06-14
Author: jul@zurich.ibm.com
File Name: qiskit/aqua/components/variational_forms/ry.py
Class Name: RY
Method Name: construct_circuit


Project Name: PaddlePaddle/edl
Commit Name: ed9fb224f3aa4336d066cbbe4b9abf26b24f8535
Time: 2020-09-02
Author: weibao.gong@gmail.com
File Name: python/edl/collective/launch.py
Class Name:
Method Name: edl_barrier


Project Name: pytorch/pytorch
Commit Name: 43f6da787e02b49a9d219c5049165be71471ee9a
Time: 2020-12-18
Author: pritam.damania@fb.com
File Name: torch/distributed/distributed_c10d.py
Class Name:
Method Name: new_group