@<1523701070390366208:profile|CostlyOstrich36> I keep failing to execute the task with clearml-agent because of environment setting.. How could I adjust clearml.conf file for the agent to use specific local environment?
Hi @<1664079296102141952:profile|DangerousStarfish38> , can you add a log of the execution?
Hi @<1664079296102141952:profile|DangerousStarfish38> , yes you can 🙂
@<1523701070390366208:profile|CostlyOstrich36> Would you mind looking over this issue?
Did you run the code locally first? I don't see the agent installing the packages themselves, did you remove it from the log or how are the packages being installed?
You can add torch to the installed packages section manually to get it running but I'm curious why it wasn't logged. How did you create the original experiment?
@<1523701070390366208:profile|CostlyOstrich36>
My code is supposed to automatically clone a optimization task with template_task_id and execute each experiment. I didn't remove any lines from the logs.
When I run the code locally, I run it with a virtual environment activated. However, if I use clearml-agent daemon to execute the task, it seems like using a default docker image, and I don't know how to change the corresponding settings in the clearml.conf file!
Hi @<1664079296102141952:profile|DangerousStarfish38> , you can control it in the agent.default_docker.image
section of the clearml.conf
where the agent is running. You can also control it via the CLI when you use the --docker
tag and finally, you can also control it via the webUI in the execution tab -> container -> image section
But it looks like you aren't running the agent in docker mode, at least from the log you provided . You need to add the --docker tag to the command when you run it