Hi, i have the same question. Why would this be ignored if called remotely?
https://clear.ml/docs/latest/docs/references/sdk/task/#set_base_docker
Hi John,
Thank you for your answer !
Unfortunately the docker_bash_setup_script
is not accepted by Task.init()
(see the picture I attached).
I also considered using the method set_base_docker
but it says that this function is ignored when running remotely (which is what I need)...
Is there a way to make it work anyway ?
Regarding your suggestion of running the script pythonically, this might work but I'm trying to avoid it at the moment because it would necessitates mixing some code with the imports.
Hi SwankyCrab22 ,
Regarding Task.init()
did you try passing docker_bash_setup_script
and it didn't work? Because according to the docs it should be available with Task.init()
as well. Also, after the Task.init()
you can use the following method:
https://clear.ml/docs/latest/docs/references/sdk/task#set_base_docker
to also add a docker_setup_bash_script
in it's args.
Regarding running the script after the repository is downloaded - I'm not sure. But certainly you can add the actions required pythonically, no?