At least when you use docker containers the agent will reuse the existing python environment.
In my use case I'm using an agent on the same mahcine I'm developing, so pointing this env var to the same venv I'm using for development, will skip the venv creation process from teh task requirements?
Hi WackyRabbit7 and ReassuredTiger98
While what Tim said was true, it only applies to the Python binary used to create the venv (i.e. the venv will still be created).
WackyRabbit7 , to specify an pre-existing venv you can use the CLEARML_AGENT_SKIP_PIP_VENV_INSTALL=<path-to-venv-binary>
env var
I am pretty sure there is a flag in the clearml.conf where you can specify which python binary to use.
It is explained here: https://github.com/allegroai/clearml/issues/91#issuecomment-578544866