megatron.text_generation.communication#
Description
Communications utilities.
Functions
|
Broadcast a list of float values. |
|
Broadcast a tensor from last pipeline stage to all ranks. |
Broadcast tensor values from last stage into the first stage. |
|
|
Broadcast a list of interger values. |
|
Broadcast a list of values with a given type. |
|
Given size and type of a tensor on all ranks and the tensor value only on a specific rank, broadcast from that rank to all other ranks. |
|
Copy tensor values from last stage into the first stage. |
|
Receive from previous pipeline stage and update the input buffer inplace. |
|
Send output to the next pipeline stage. |