spdl.pipeline.config.is_diagnostic_mode_enabled¶
- is_diagnostic_mode_enabled() bool[source]¶
Check if the pipeline diagnostic mode is enabled.
- Returns:
Trueif theSPDL_PIPELINE_DIAGNOSTIC_MODEenvironment variable is set to a truthy value,Falseotherwise.
Note
When diagnostic mode is enabled,
build_pipeline()will create a pipeline that automatically runs profiling withprofile_pipeline()and exits after completion.