HmmCLEARML_CUSTOM_BUILD_OUTPUT
This might be an enterprise feature, I'm not aware of anything in the open source version
I have these lines in my clearml.conf file. I can't find it on GitHub as well but in release notes it says that it was added in v1.2.1 https://github.com/allegroai/clearml-agent/releases/tag/v1.2.1# Specifies a custom environment setup script to be executed instead of installing a virtual environment. # If provided, this script is executed following Git cloning. Script command may include environment variable and # will be expanded before execution (e.g. "$CLEARML_GIT_ROOT/script.sh"). # The script can also be specified using the CLEARML_AGENT_CUSTOM_BUILD_SCRIPT environment variable. # # When running the script, the following environment variables will be set: # - CLEARML_CUSTOM_BUILD_TASK_CONFIG_JSON: specifies a path to a temporary files containing the complete task # contents in JSON format # - CLEARML_TASK_SCRIPT_ENTRY: task entrypoint script as defined in the task's script section # - CLEARML_TASK_WORKING_DIR: task working directory as defined in the task's script section # - CLEARML_VENV_PATH: path to the agent's default virtual environment path (as defined in the configuration) # - CLEARML_GIT_ROOT: path to the cloned Git repository # - CLEARML_CUSTOM_BUILD_OUTPUT: a path to a non-existing file that may be created by the script. If created, # this file must be in the following JSON format: # ```json # { # "binary": "/absolute/path/to/python-executable", # "entry_point": "/absolute/path/to/task-entrypoint-script", # "working_dir": "/absolute/path/to/task-working/dir" # } # ``` # If provided, the agent will use these instead of the predefined task script section to execute the task and will # skip virtual environment creation. # # In case the custom script returns with a non-zero exit code, the agent will fail with the same exit code. # In case the custom script is specified but does not exist, or if the custom script does not write valid content # into the file specified in CLEARML_CUSTOM_BUILD_OUTPUT, the agent will emit a warning and continue with the # standard flow. custom_build_script: ""
AgitatedDove14 Thanks for your help anyway!
My previous version was 1.2.4rc3, but to be honest, I can't find this part of the config in the corresponding commit as well
At some point I was installing it from an unstable release, and probably that is when this part was added to the config but it didn't get to the proper release after that
My pleasure 🙂
I do not think it should change anything, just pull the latest agent and reinstallpip3 install -U clearml-agent
Hi BurlyRaccoon64
What do you mean by "custom_build_script" ? not sure I found it in "clearml,conf"
https://github.com/allegroai/clearml-agent/blob/master/docs/clearml.conf