Semantics on channel_handle,replica_groups #104
Replies: 2 comments 7 replies
-
You can find the description of channel handle, replica groups. https://github.com/openxla/stablehlo/blob/main/docs/spec.md#parallel-execution. Note that flatten_ids are enabled with
It is the interoretation of the replica groups which are different in different tests cases. For the pretation you will find the descriptions handy. |
Beta Was this translation helpful? Give feedback.
-
With you what you said above, I wrote such an example and I have understood how to delineate which processes in a process group will communicate.
But I have my doubts about the results.Using the |
Beta Was this translation helpful? Give feedback.
-
I'm new to stablehlo.I have some questions I would like to ask for help.You can read all_reduce.
I didn't really find much of a description of channel_handle too much.
My understanding is that processes are grouped, processes within the group communicate, and then produce results.
I didn't really find much of a description of channel_handle too much.
Here are three test cases,
@cross_replica
,@cross_replica_and_partition
,@flattened_ids
,the problem is that the three test cases don't look different to me, and I don't understand the difference between the three examples even though I read the test cases.Finally, I hope someone can help me, I'm interested in stablehlo, thanks!
Beta Was this translation helpful? Give feedback.
All reactions