Hi SteepDeer88 , if you use CLEARML_AGENT_SKIP_PIP_VENV_INSTALL the agent will not install the virtual environment. It will still verify the requests, but if you already have these installed, it should not take any time
SuccessfulKoala55 thanks for the reply! I think I have a very specific use case.
I am calling execute_remotely from a Windows machine which has pycocotools-windows installed, but my docker container is running Ubuntu with pycocotools installed, and even with CLEARML_AGENT_SKIP_PIP_VENV_INSTALL set it tries to install the windows specific package and fails.
Is there a way to completely skip verifying the requirements?
SteepDeer88
Try the following:
` Task.add_requirements("pycocotools-windows", "; platform_system == "Windows"")
Task.add_requirements("pycocotools", "; platform_system != "Windows"")
Task.init(...) You should see in your "installed packages" something like: pycocotools-windows ; platform_system == "Windows"
pycocotools ; platform_system != "Windows" `