Hi @<1529271085315395584:profile|AmusedCat74> , the agent technically has two modes, daemon
and execute
(clearml-agent daemon/clearml-agent execute).
When in daemon mode the agent will start the docker container for example, install the agent inside and the agent inside will run in execute
mode
Thanks. I am trying to completely minimise the start up time. Given I am using a docker image which has clearml-agent
and pip
installed, is there a way I can skip the installation of this when a task starts up using the daemon?
Hi @<1529271085315395584:profile|AmusedCat74> , if the image already contains those, the process will simply verify they're there and will not reinstall. Please note that the pip version used by the agent depends on your python version (see here )
@<1523701087100473344:profile|SuccessfulKoala55> Thanks for getting back to me. My image contains clearml-agent==1.9.1
. There is a recent release to 1.9.2
and now on every run the agent installs this newer version thanks to the -U
flag which is being passed. From the docs it looks like there may be a way to prevent this upgrade but it's not clear to me exactly how to do this. Is it possible?