Skip to content
Snippets Groups Projects
Commit d0024769 authored by Brummans, Nick's avatar Brummans, Nick
Browse files

update README

parent 16db6f0b
No related branches found
No related tags found
No related merge requests found
......@@ -102,3 +102,13 @@ You can deploy agents on your varying compute resources as long as it has access
}
- deploy agent and let it listen to a queue (for example: test). The following code also creates that queue and service mode makes sure that the agent can run multiple different jobs (needed for pipelines)
- clearml-agent daemon --services-mode --queue test --create-queue
## example workflow
- Run stage_one.py
- You are able to change arguments inside the script
- Run stage_two.py
- You are able to change arguments inside the script
- This will create drafts of the scripts in the Clearml workspace
- Now run controller.py to create and run a pipeline that uses the drafts
- You can change the pipe.start command at the end to use remote agents
......@@ -40,6 +40,7 @@ pipe.add_step(name='stage_train',
# Starting the pipeline
pipe.start_locally(run_pipeline_steps_locally=True)
# comment line above and uncomment line below to run scrips on queue test on which agents are listening
#pipe.start(queue='test')
print('done')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment