This document is relevant for: Trn2, Trn3
nki.collectives.all_gather_v_trigger#
- nki.collectives.all_gather_v_trigger(prepare_instr: NkiInstruction, name: Optional[str] = None) NkiInstruction[source]#
Complete a split
all_gather_v().Run the ag-v collective whose metadata setup was done by
all_gather_v_prepare(). This is the phase that readssrcsand writesdsts.The trigger reuses the buffers, replica group, and every other argument from the paired
all_gather_v_prepare(), so it takes only the prepare instruction.- Parameters:
prepare_instr – The instruction returned by the paired
all_gather_v_prepare(). It links this trigger to that prepare and supplies the operands.
This document is relevant for: Trn2, Trn3