Hi EnviousPanda91 , CostlyOstrich36
I'm facing an issue that seems to be related to this.
I am also trying to run a code from a github repo which necessitates some installs (as shown in the picture).
What is the best way to run these after cloning the git repo ?
Some observations I made:
The docker_bash_setup_script
cannot be passed an argument to the Task.init()
function (only to the Task.Create()
that can't launch the task to be executed remotely for some reason) When creating an agent in docker mode, I manage to pass a docker image and a bash setup script but the latter is ran before the git clone that clearml automatically does. Is there a way to make the bash setup script run after the git clone operation ?
Thank you !
I think docker mode is what you need to use if you want to pre-install packages in an environment
In order to use newest version I have to install the library at every run. I don’t think that building a docker image at every run is a good solution here. So the only solution is add it pythonically.
Hi EnviousPanda91 , Yes that is the purpose of the docker bash setup script.
Is there a reason it doesn't look nice?
CostlyOstrich36 it is ok if I use agent in docker mode, but what should I use in other cases?
You can add it pythonically to the start of your script but I think docker mode is what you need to use if you want to pre-install packages in an environment