Hi ObliviousCrocodile95 ,
Trying to understand, you want to have the clearml-agent docker mode with pre install virtual environment?
Currently this setup means that I clone my repository in the docker image - so the commit & changes aren’t reflected in this environment. Any way to remedy this?
The clearml-agent should clone your repository and apply the changes from the parent task.
Yes - I'm using docker mode with a pre installed virtual environment. I have to use docker mode because my dependencies (including the virtualenv) have a long and complicated setup. I can't use the "system" python for installation (again, a dependency constrain).
I'm not sure how clearml-agent cloning my repo would work, since this repo is already cloned in my docker image. I think I'll understand this part better after I manage to solve the first issue.
Currently the agent create venv when you start it, but system_site_packages
should install the packages from the docker
and it should be the default for docker mode
Can you try installing the package on the docker’s python but not on the venv?
I'm not sure that's possible.
I'm using a different python version than the system python.
And the packages versions doesn’t match the python? Can you install the python on the system (not as venv)?
Packages don't match the python version.
Installing the packages in the system python is not a long term solution. Even if I do manage to set it up and solve all the dependency conflicts- eventually an update will break this beyond repair.