Pipeline
The Pipeline class is the main orchestrator for executing sequences of processing stages in NeMo Curator.
Import
Class Definition
Methods
add_stage()
Add a stage to the pipeline.
build()
Build an execution plan from the pipeline. Decomposes composite stages into execution stages and updates the pipeline in place.
run() calls build() for you. You should not need to call it directly; it is documented here to explain what happens between add_stage() and execution.
run()
Execute the pipeline. Calls build() before execution.
Refer to Resumable Processing for checkpoint storage, replay semantics, task identity, and concurrency limitations.
describe()
Get a detailed description of the pipeline.
Usage Examples
Basic Pipeline
Method Chaining
Custom Executor
Resume an Interrupted Run
Run the same pipeline with the same path after an interruption. Sources recorded as completed are skipped; incomplete sources restart from the source stage.