mirror of
https://github.com/clearml/clearml
synced 2025-03-03 10:42:00 +00:00
Change pipeline example to run locally (#642)
This commit is contained in:
parent
92dd5fb07c
commit
1080d2a840
@ -90,10 +90,10 @@ def executing_pipeline(pickle_url, mock_parameter='mock'):
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# set the pipeline steps default execution queue (per specific step we can override it with the decorator)
|
# set the pipeline steps default execution queue (per specific step we can override it with the decorator)
|
||||||
PipelineDecorator.set_default_execution_queue('default')
|
# PipelineDecorator.set_default_execution_queue('default')
|
||||||
# Run the pipeline steps as subprocesses on the current machine, great for local executions
|
# Run the pipeline steps as subprocesses on the current machine, great for local executions
|
||||||
# (for easy development / debugging, use `PipelineDecorator.pipeline()` to execute steps as regular functions)
|
# (for easy development / debugging, use `PipelineDecorator.pipeline()` to execute steps as regular functions)
|
||||||
# PipelineDecorator.run_locally()
|
PipelineDecorator.run_locally()
|
||||||
|
|
||||||
# Start the pipeline execution logic.
|
# Start the pipeline execution logic.
|
||||||
executing_pipeline(
|
executing_pipeline(
|
||||||
|
Loading…
Reference in New Issue
Block a user