Skip to main content
torch.js has not been released yet.
torch.js logotorch.js logotorch.js
PlaygroundContact
Login
Documentation
IntroductionType SafetyTensor ExpressionsTensor IndexingEinsumEinopsAutogradTraining a ModelProfiling & MemoryPyTorch MigrationBest PracticesRuntimesPerformancePyTorch CompatibilityBenchmarksDType Coverage
torch.js· 2026
LegalTerms of UsePrivacy Policy
/
/
  1. docs
  2. Spark
  3. spark
  4. SparkStatus

spark.SparkStatus

export type SparkStatus = 'idle' | 'running' | 'paused' | 'stopped' | 'error';

Values

  • 'idle'
  • 'running'
  • 'paused'
  • 'stopped'
  • 'error'

Status of a Spark training execution.

  • idle: Worker not yet started or finished
  • running: Worker is executing
  • paused: Execution paused at checkpoint, waiting for resume
  • stopped: Execution stopped, worker will terminate
  • error: An error occurred during execution
Previous
SparkState
Next
SparkUpdateMessage