[XLA:GPU] Introduce CollectiveOpGroupMode and related helpers.
- Introduce a CollectiveOpGroupMode enum to describe various modes of interpreting replica groups attached to collective communication operations and GetCollectiveOpGroupMode() function to get the group formation mode implied by an HLO collective op based on whether it has channel_id and use_global_device_ids. - Fix GetParticipatingDevices() to use this mode to correctly find participants in all group formatio... PiperOrigin-RevId: 358313513 Change-Id: I9103d065c0a89149bcad3fa6b275696a257c97ae
Showing
想要评论请 注册 或 登录