pub struct OpaqueCommitAgreement;Expand description
Barrier commit agreement requiring no tensor communication capabilities.
Trait Implementations§
Source§impl Clone for OpaqueCommitAgreement
impl Clone for OpaqueCommitAgreement
Source§fn clone(&self) -> OpaqueCommitAgreement
fn clone(&self) -> OpaqueCommitAgreement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OpaqueCommitAgreement
Source§impl Debug for OpaqueCommitAgreement
impl Debug for OpaqueCommitAgreement
Source§impl Default for OpaqueCommitAgreement
impl Default for OpaqueCommitAgreement
Source§fn default() -> OpaqueCommitAgreement
fn default() -> OpaqueCommitAgreement
Returns the “default value” for a type. Read more
Source§impl<B, G, R, I> PartitionCommitAgreement<B, G, R, I> for OpaqueCommitAgreementwhere
B: CommunicationBackend + BarrierBackend,
G: Borrow<B::CommunicationGroup>,
R: Borrow<B::CommunicationRoute>,
I: CommunicationTensorMetadata<B>,
impl<B, G, R, I> PartitionCommitAgreement<B, G, R, I> for OpaqueCommitAgreementwhere
B: CommunicationBackend + BarrierBackend,
G: Borrow<B::CommunicationGroup>,
R: Borrow<B::CommunicationRoute>,
I: CommunicationTensorMetadata<B>,
Source§fn commit(
&mut self,
communication: &PartitionCommunication<B, G, R, I>,
group: CollectiveGroupId,
epoch: DistributedCommitEpoch,
executor: &B::Executor,
) -> DistributedCommitOutcome
fn commit( &mut self, communication: &PartitionCommunication<B, G, R, I>, group: CollectiveGroupId, epoch: DistributedCommitEpoch, executor: &B::Executor, ) -> DistributedCommitOutcome
Returns this rank’s honest observation of the globally identified final decision.
Source§const PHASE_FAILURE_AGREEMENT: bool = false
const PHASE_FAILURE_AGREEMENT: bool = false
Whether this policy propagates an explicit success status at every
canonical shared-session phase.
Source§fn agree_phase(
&mut self,
_communication: &PartitionCommunication<B, G, R, I>,
_group: CollectiveGroupId,
_phase: DistributedExecutionPhase,
local_success: bool,
_executor: &B::Executor,
) -> Result<bool, PartitionExecutionError>
fn agree_phase( &mut self, _communication: &PartitionCommunication<B, G, R, I>, _group: CollectiveGroupId, _phase: DistributedExecutionPhase, local_success: bool, _executor: &B::Executor, ) -> Result<bool, PartitionExecutionError>
Returns the conjunction of every member’s local phase status. Read more
Source§fn agree_phase_after_prior_failure(
&mut self,
communication: &PartitionCommunication<B, G, R, I>,
group: CollectiveGroupId,
phase: DistributedExecutionPhase,
local_success: bool,
executor: &B::Executor,
) -> Result<bool, PartitionExecutionError>
fn agree_phase_after_prior_failure( &mut self, communication: &PartitionCommunication<B, G, R, I>, group: CollectiveGroupId, phase: DistributedExecutionPhase, local_success: bool, executor: &B::Executor, ) -> Result<bool, PartitionExecutionError>
Performs the canonical all-rank agreement after an earlier subgroup
communication failure poisoned the local session authority. Read more
Auto Trait Implementations§
impl Freeze for OpaqueCommitAgreement
impl RefUnwindSafe for OpaqueCommitAgreement
impl Send for OpaqueCommitAgreement
impl Sync for OpaqueCommitAgreement
impl Unpin for OpaqueCommitAgreement
impl UnsafeUnpin for OpaqueCommitAgreement
impl UnwindSafe for OpaqueCommitAgreement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more