ClearML Agent - ML-Ops made easy. ML-Ops scheduler & orchestration solution
CLEARML_AGENT_FORCE_POETRY
environment variable to allow forcing poetry even when using pip requirements managerCLEARML_AGENT_FORCE_TASK_INIT
environment variable to allow runtime patching of script even if no repository is specified and the code is running a preinstalled dockerFileLock
readonly mode, default is write mode (i.e. exclusive lock, preserving behavior)agent.venvs_cache.lock_timeout
to control the venv cache folder lock timeout (in seconds, default 30)truncate()
callK8sIntegration
and k8s_glue_example.py
(#183, thanks @FeU-aKlos!)FileNotFoundException
crash in find_python_executable_for_version
(#192, thanks @ae-ae!)agent.enable_git_ask_pass
does not show in configuration dumppippip
is returned as a pip version if no value exists in agent.package_manager.pip_version
distutil
importsIOError
on file lock when using shared folderPytorchRequirement
instance are not used#
) are not ignored in docker startup bash scriptagent.docker_args_extra_precedes_task
and agent.protected_docker_extra_args
configuration settings to prevent the same switch to be used by both agent.extra_docker_args
and the a Task's docker argsagent.resource_monitoring.disk_use_path
configuration option to allow monitoring a different volume than the one containing the home folderagent.enable_git_ask_pass
to trueCLEARML_AGENT_FORCE_CODE_DIR
and CLEARML_AGENT_FORCE_EXEC_SCRIPT
CLEARML_AGENT_SERVICE_TASK=1
environment variable in case we're running a service taskCLEARML_AGENT_TEMP_STDOUT_FILE_DIR
to allow specifying temp dir used for storing agent log files and temporary log files (daemon and execution)CLEARML_AGENT_GIT_CLONE_VERBOSE
environment variableagent.package_manager.poetry_install_extra_args
are used in all Poetry commands and not just in install
(#173)agent.git_host
setting will cause git@domain URLs to not be replaced by SSH URLs since furl cannot parse them to obtain host0
(i.e. end up as "0"
or "0.0"
) is set to an empty stringagent.package_manager.extra_index_url
URLs are not sanitized in configuration printoutKeyError
if container does not contain the arguments fieldCLEARML_AGENT_PACKAGE_PYTORCH_RESOLVE
environment variable and agent.package_manager.pytorch_resolve
configuration setting with none
(no resolving), pip
(sets extra index based on cuda and lets pip resolve) or direct
(the previous parsing algorithm that does the matching and downloading), default is pip
(#152)CLEARML_AGENT_STANDALONE_CONFIG_BC
environment variableCLEARML_AGENT_DOCKER_AGENT_REPO
alias for the FORCE_CLEARML_AGENT_REPO
environment variableclearml.conf
is foundagent.docker_container_name_format_fields
configuration settingCLEARML_AGENT_EXTRA_DOCKER_LABELS
environment variablefiles
configuration option) using the mode
propertyCLEARML_AGENT_NO_UPDATE
environment variableCLEARML_EXTRA_PIP_INSTALL_FLAGS
environment variable and agent.package_manager.extra_pip_install_flags
configuration optionagent.docker_allow_host_environ
configuration option, allowing users to use $ENV in the task docker arguments (e.g. -e HOST_NAME=$HOST_NAME
)git+ssh://
links inside installed packages not being properly converted to authenticated https://
and vice versa.
)--network
and --ipc
)sh
to bash
(#141, thanks @InCogNiTo124!)agent.package_manager.poetry_install_extra_args
configuration optionclearml-agent build --docker
stuck on certain containers_
is allowed in k8s label namesCLEARML_AGENT_SERVICES_DOCKER_RESTART
accidentally reverted by a previous mergegit+ssh://
links inside installed packages not being converted properly to HTTPS-authenticated linksattrs
, jsonschema
, pyparsing
, six
and pyjwt
(#129)clearml-agent init
agent.disable_task_docker_override
configuration option to disable docker override specified in executing tasksCLEARML_AGENT_FORCE_SYSTEM_SITE_PACKAGES
env var (default true
) to allow overriding default system_site_packages: true
behavior when running tasks in containers (docker mode and k8s-glue)jsonschema
3.0.0 and unsupported since 4.0.0)agent.crash_on_exception
configuration setting (#123, thanks @nielstenboom!)clearml-agent
)pip<21
for better Python 3.10 support!=
in package version (mostly for better pytorch resolving)extra_index_url repo
(find the correct index url based on the cuda version, and let pip do the rest)CLEARML_AGENT_DOCKER_ARGS_HIDE_ENV
environment variable (see agent.hide_docker_command_env_vars
config option)agent.task_ping_interval_sec
configuration option, defaults to every 120 seconds)agent.enable_git_ask_pass
forcing the agent to use GIT_ASKPASS
for user/password when cloning/fetching repositories)CLEARML_API_DEFAULT_REQ_METHOD
raises an errorget_task_session()
may cause an old copy of the APIClient
to be used containing a reference to the previous sessionagent.system_site_packages
is not turned on by default in k8s gluekubectl run
0:1
for GPU 0 slice 1, or use 0.1
)agent.enable_git_ask_pass
to improve passing user/pass to git commandsssh_ro_folder
(default /.ssh
) and changed docker ssh_folder
(default: ~/.ssh
)torch_page
, torch_nightly_page
and torch_url_template_prefix
under the agent.package_manager
configuration settings)CLEARML_K8S_GLUE_START_AGENT_SCRIPT_PATH
environment variable to allow customizing the agent startup script locationCLEARML_AGENT_DEBUG_INFO
CLEARML_AGENT_CHILD_AGENTS_COUNT_CMD
environment variable to allow overriding child agent count command in k8suse_credentials_chain
is missing in config file exampleclearml.conf
to ~
(instead of /root
)~/.clearml/venvs-builds
as default for easier user-mode containers@ file://
with quoted (URL style) links should not be ignored.ssh
temp mount fails if container changes the files insidePUT/POST/GET
. See api.http.default_method
or CLEARML_API_DEFAULT_REQ_METHOD
)extra_bash_init_cmd
location in initial bash scriptrequirements.txt
file (#107, thanks @nielstenboom!)pygobject
an optional package (i.e. if installation fails continue the Task package environment setup)agent.force_git_ssh_protocol: true