Moving Between Execution Modes
Data Designer configurations are mostly portable across plugin execution modes. The main migration question is not “library versus service”; it is whether the workload executes locally in the CLI process or through NeMo Services, and which resources the configuration references.
See Execution Modes for the full two-axis model.
What Usually Stays the Same
Most configuration code can stay unchanged:
For CLI execution, put your configuration in a Python module that exposes load_config_builder(). The plugin CLI loads the builder and executes it through either run or submit.
Moving to Local CLI Execution
Use local CLI execution when you want the Data Designer workload to run in your current Python environment. Local CLI execution can use fully local resources, NeMo resources, or a mix of both:
This can be fully local, but it is not an offline-only mode. If the configuration references default/nvidia-build, a Fileset, or a Secrets API secret, the local workload still communicates with those NeMo Services APIs.
Moving to NeMo Services Execution
Use NeMo Services execution when you want service-managed workload execution, logs, jobs, and artifacts. When moving a configuration from local CLI run to submit or SDK execution, check these areas:
Moving Back to Local CLI Execution
If a configuration already runs through submit or the SDK, it can usually run through CLI run without changing NeMo resource references. Local execution can still use Filesets, Secrets, and Inference Gateway providers.
You may choose to simplify the configuration for local-only iteration:
These changes are optional. Keep NeMo resource references when you want the same configuration to work in both run and submit.
SDK Local Execution
SDK execution uses the Data Designer API today. Local SDK execution is planned, but not available yet. Use CLI run for local in-process execution until the SDK supports the same mode.
Migration Checklist
Before switching execution modes, verify:
- The configuration source exposes
load_config_builder()for CLI execution. - Model providers referenced in
ModelConfig.providerare available in the target mode. - Secret references are resolvable in the target mode.
- Seed data sources are compatible with the target mode.
- Persona datasets are installed locally or published as Files API Filesets as needed.
Getting Help
- Execution Modes: See Execution Modes for the conceptual model.
- CLI: See Data Designer CLI for
run,submit, and persona commands. - Tutorials: Follow the tutorials for hands-on examples.
- Library Docs: Refer to the open-source library documentation for configuration details.