ClearML Agent - ML-Ops made easy. ML-Ops scheduler & orchestration solution
requirements.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
nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04
agent.default_docker.match_rules
configuration setting (see here)agent.force_git_root_python_path
configuration setting to force adding the git repository root folder to the PYTHONPATH
(if set working directory is not added to the PYHTONPATH
)build --force-docker
command line argument to the to allow ignoring task container dataagent.poetry_version
configuration setting to specify poetry version (and force installation of poetry if missing, see here)agent.package_manager.force_original_requirements
configuration option, allowing to only use original requirements produced by local execution (note that using this configuration option prevents editing installed packages using the UI)CLEARML_AGENT_PROPAGATE_EXITCODE
environment variabe. Set this variable to 1
to allow ClearML Agent to return a nonzero exit code on failureclearml-agent init
(use app.clear.ml
as default server, add git token references)git+git://
requirementsdefault_python
calculation (and verbosity)abc
support (Python 3.10 compatibility)CLEARML_API_DEFAULT_REQ_METHOD
causes ValueError
if not specifiedagent.hide_docker_command_env_vars
mode to include URL passwords and handle environment vars containing docker commands@ file://
) should ignore the local package if it does not existFORCE_LOCAL_CLEARML_AGENT_WHEEL
environment variable handling when running from a Windows host"
is unnecessarily replaced to \\"
agent.truncate_task_output_files
configuration setting--stop
checking default queue tag (#80)default
does not exist and --queue
not specified (try queue named "default"
)CLEARML_NO_DEFAULT_SERVER=0
environment variable)CLEARML=agent
(instead of TRAINS=agent
)agent.hide_docker_command_env_vars
configuration value (see here) #67agent.docker_container_name_format
configuration option to set a name format (disabled by default) https://github.com/allegroai/clearml/issues/412
status_message
for non-responsive or hanging podsagent.docker_force_pull
configuration option for scheduled podsagent.ignore_requested_python_version
configuration option to ignore any requested python version (default false, see here)agent.docker_internal_mounts
configuration option to control containers internal mounts (non-root containers, see here)-r requirements.txt
in the Installed Packages sectionCLEARML_AGENT_INITIAL_CONNECT_RETRY_OVERRIDE
environment variable to override initial server connection behavior (defaults to true, allows boolean value or an explicit number specifying the number of connect retries)CLEARML_AGENT_DISABLE_SSH_MOUNT
environment variable allowing to disable the auto .ssh
mount into the dockerCLEARML_AGENT_SKIP_PIP_VENV_INSTALL
environment variable to skip Python virtual env installation on execute and allow providing a custom venv binaryCLEARML_AGENT_VENV_CACHE_PATH
environment variable to allow overriding venv cache folder configurationCLEARML_AGENT_EXTRA_DOCKER_ARGS
environment variable to allow overriding extra docker args configurationSSH_AUTH_SOCK
into docker #45git+git@
(notice git+git://
was already supported)git+git://
links or git+ssh://
conversion--services-mode
if the execute agent fails when starting to run with error code 0--stop
with dynamic gpusascii
encoding to UTF-8
PYTHONIOENCODING
environment variable is overwritten when already definedagent.extra_docker_bash_script
not applied correctly--debug
)pytorch
packagemax_pods_limit
argument (use --max-pods
switch in the k8s glue example)restartPolicy=Never
to template to prevent pods from restarting--stop
switch support for dynamic gpusdocker
command exists when running in docker modesig_term
in dynamic modeagent.docker_install_opencv_libs
configuration option to enable automatic opencv libs install for faster docker spin-up (default: true
, see here)v>=16,<21
)venv_update
in configuration (replaced by the more robust venvs_cache
)Features
agent.venvs_cache
configuration section--services-mode
with venvsagent.force_git_ssh_user
configuration value (default git
, see here) #42agent.ignore_requested_python_version
configuration option for multi python environments (default false
)agent.enable_task_env
configuration option to set the OS environment based on the Environment section of the Task (default false
, see here)agent.default_docker.image
to nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04
(see here)Bug Fixes
docker --network
returns None
CLEARML_WEB_HOST
/CLEARML_FILES_HOST
not passed to running tasks (or updated on the config object)--detached
command line option not supported on Windows (ignore and issue warning)Ctrl-C
)from clearml
runtime diff patchinggit+http
linksClearML-Agent (formerly allegro trains-agent)
Features and Bug Fixes