#[non_exhaustive]pub enum DistributedExecutionPhase {
Show 21 variants
StateCheckpoint,
PromptCacheLoadPreflight,
PromptCacheLoadPreparation,
PromptCacheSavePreflight,
PromptCacheSavePreparation,
PromptCacheSavePublication,
SessionCheckpoint,
SessionResetPreparation,
SessionRollbackPreparation,
BoundarySourceCompletion(CommunicationRouteId),
BoundarySourceReady(CommunicationRouteId),
Execution,
OutputObservation,
PredictionTargetCapture,
PredictionTargetCapturePublication,
PredictionTargetStatePreparation,
PredictionExtensionExecution,
OutputPublication,
SamplingSynchronization,
MechanismCompletion,
Commit,
}Expand description
Canonical shared-session phases whose local status must be propagated.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
StateCheckpoint
Every rank captured the state checkpoint required for transactional rollback.
PromptCacheLoadPreflight
Every rank accepted the exact prompt-cache load identity and input.
PromptCacheLoadPreparation
Every stateful rank loaded and validated a provisional cache shard.
PromptCacheSavePreflight
Every rank accepted the exact prompt-cache save identity and input.
PromptCacheSavePreparation
Every stateful rank serialized and validated an unpublished cache shard.
PromptCacheSavePublication
Every stateful rank reversibly published its prepared cache shard.
SessionCheckpoint
Every stateful rank captured an opaque manual-control checkpoint.
SessionResetPreparation
Every stateful rank prepared a replacement selected state.
SessionRollbackPreparation
Every stateful rank restored a checkpoint into provisional state.
BoundarySourceCompletion(CommunicationRouteId)
Source tensor dependencies reached exact bounded completion for one route.
BoundarySourceReady(CommunicationRouteId)
Source execution and both endpoint preparations completed for one route.
Execution
Rank-local graph execution, including boundary transfer and publication.
OutputObservation
Final output observation and intervention.
PredictionTargetCapture
Output-owner hidden capture is present and published for prediction.
PredictionTargetCapturePublication
Every rank completed publication of the exact prediction target capture.
PredictionTargetStatePreparation
Every rank validated a provisional prediction-lane target state swap.
PredictionExtensionExecution
Every rank completed one typed prediction-only unit operation.
OutputPublication
Publication of the authoritative intervened output to every rank.
SamplingSynchronization
Publication of the authoritative sampled token and stop status.
MechanismCompletion
Exact output and mutable-state mechanism completion.
Commit
Final distributed state-commit decision.
Trait Implementations§
Source§impl Clone for DistributedExecutionPhase
impl Clone for DistributedExecutionPhase
Source§fn clone(&self) -> DistributedExecutionPhase
fn clone(&self) -> DistributedExecutionPhase
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more