Skip to content

Duplicated groups for EP and DP_EP #222

@gabrielecastellano

Description

@gabrielecastellano

In MockNcclGroup, this line:


just repeats the group creation EP times, but keeps creating the same groups (with same ranks), as the j index is not used.
In my understanding, only one iteration should be enough for creating all the needed groups (i.e., _EP_nums).

A similar problem affects the DP_EP groups creation:

for (int j = 0; j < _DP_EP_size; j++){

At last, this does not create a problem in the simulation run because there are just redundant groups (and they just keep replacing themselves in the GroupIndex structure, as the key is the same, eventually leaving only the last one there), but it creates a lot of confusion to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions