Releases: clearml/clearml-agent
Releases · clearml/clearml-agent
PyPI v2.0.7 - ClearML
New Features and Bug Fixes
- Resolve uv run missing environment variables (#257, thanks @lifefoundry-scott!)
- Add support for extra git repo credentials under the
agent.git.extra_credentialssetting, with support for matching git host full URL with "agent.git_host_match_prefix" - Add support for shlex parsing of script, to pass arguments directly to python by setting execution script to
sub/dir/script.py --arg1=a --arg2=b - Add
CLEARML_AGENT_DOCKER_ARGS_HIDE_ENVto doc - Add info prints on locking cache folders for increased visibility
- Change behaviour to not ask to skip setting execution queue on open source servers (#223)
- Fix template string handling for YAML
- Fix bash tasks created via CLI
- Fix
setuptoolsdependency since pkg_resources was removed in 82.0.0 - Ensure venv folder was actually created after venv returned success error code (sometime happens with python wrappers)
- Fix install
clearmlwhen forcing Task.init patch and using UV as package manager - Fix
CLEARML_AGENT_FORCE_TASK_INITdid not patch requirements correctly in multiple empty requirements scenario, or twice in multirequirements.txtrepos - Fix UV to keep
UV_CACHE_DIRenv is exists - Fix UV sync, if failing revert to
tomlfile - Fix environment variables where not passed when using non
os.exec - Fix when using
CLEARML_AGENT_SKIP_PIP_VENV_INSTALLandCLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL=1make sure we runCLEARML_AGENT_SKIP_PIP_VENV_INSTALLbinary and not the default python - Fix if no container image was provided, default image would zero out all container arguments and bash script
- Fix obtaining task information when running where the task and the task session refer to a different tenant
- Fix GPU reporting when
NVIDIA_VISIBLE_DEVICES=void
PyPI v2.0.5 - ClearML
Bug Fixes
- Don't pass
--lockedto uv sync if there's no lock file - Fix execute in standalone mode crash on python get command
PyPI v2.0.4 - ClearML
New Features and Bug Fixes
- Fix Python 3.6 compatibility
- Update
psutilrequirement
PyPI v2.0.3 - ClearML
New Features and Bug Fixes
- Fix null ptr ref when skip python env enabled (#240, thanks @benled1!)
- Add support for Azure DevOps Git repositories authentication with Azure PAT and MS Entra Token using the
agent.git_use_azure_patandagent.git_use_ms_entra_tokenconfiguration options (and environment variablesCLEARML_AGENT_GIT_USE_AZURE_PATandCLEARML_AGENT_GIT_USE_MS_ENTRA_TOKEN)
PyPI v2.0.2 - ClearML
Bug Fixes
- Fix YAML dump failure causes agent to abort task execution (error log includes
expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS)
PyPI v2.0.1 - ClearML
Bug Fixes
- Fix regression issue
AttributeError: 'NoneType' object has no attribute 'pending'caused by accessing a non-existing report (#241)
PyPI v2.0.0 - ClearML
New Features
- Add command line arguments for
k8s_glue_example.py(#196, thanks @IlyaMescheryakov1402!) - Add initial support for
--break-system-packagesversion detection, also make sure to userm /usr/lib/python3.*/EXTERNALLY-MANAGED - Integrate docker port mapping to control non
network=hostport mapping, including port reassigning for multiple agents running on the same machine - Add support for container rulebook overrides (
force_container_rules: true) and container rulebook task update (update_back_task: true). This allows users to override container arguments forcefully based on the tasks properties (repository, tags, project, user etc.), as well as offer additional defaults based on python required packages or python versions - Add the
CLEARML_AGENT_ABORT_CALLBACK_CMDandCLEARML_AGENT_ABORT_CALLBACK_TIMEOUT
(default 180 seconds) environment variables to define callback command to be called on abort status change - Add support for
${CLEARML_TASK.yyy}as docker arguments parsed based on Task values - Add support for the
CLEARML_AGENT_QUEUE_POLL_FREQ_SECandCLEARML_AGENT_STATUS_REPORT_FREQ_SECenvironment variables to customize agent behavior - Add support for the
agent.translate_ssl_replacement_schemeconfiguration option andCLEARML_AGENT_SSH_URL_REPLACEMENT_SCHEMEenvironment variable to support translating SSH URLs to HTTP instead of HTTPS - Set
urllib3log level when connecting to server toWARNINGby default to provide visibility on certificate issues (use theCLEARML_AGENT_URLLIB3_CONNECT_LEVELenvironment variable to customize this behavior) - Optimize dynamic GPU to query only relevant workers (requires ClearML Server v2.0.0 or higher)
- Bump
urllib3to "<3" to support newurllib3v2 - Add note to
--use-owner-tokenhelp (#235) - Update GPU Fractions information for more GPU types
- Add
CLEARML_AGENT_CONFIG_VERBOSEfor verbose configuration file loading - Add default support for dns i.e. rocky/centos/fedora containers
- Support
NVIDIA_VISIBLE_DEVICEScontaining volume mounts - Add better debug logging when task session creation fails
- Add
is_daemonindication in status report - Reduce required packages
- Add SECURITY.md
Bug Fixes
- Fix
uv_replace_pipfeature - Fix UV cache based on sync/pip-replacement
- Fix if UV fails but lock file is missing, revert to UV as pip drop in replacement
- Fix use UV bin instead of UV python package to avoid nested
VIRTUAL_ENVissues - Fix UV pip freeze fails
- Fix UV as pip drop-in replacement print
- Fix cached venv tries to reinstall priority packages even through they are preinstalled
- Fix pip freeze dump to comply with YAML fancy print
- Fix pip requirements print dump should be sorted
- Fix force the stop command to avoid a potential race
- Fix make sure that if we fail to kill a child processes we continue to try the rest
- Fix untitled file based on binary is now
py/shbased on requested binary - Fix session should retry on Any error if send fails
- Fix potential issue with agent not sending queues in status report
- Fix do not set task to Aborted if it is already set to Failed
- Fix installing venv from the agent's python binary when the selected python failed - this could be the cause of missing pip or venv in the selected python
- Fix fallback to system path
python3if we fail to have pip used with the selected python - this could happen if preinstalled python is in path and it does not contain pip package (e.g. NIM containers) - Fix fallback to system python should not change the python bin inside the new venv
PyPI v1.9.3 - ClearML
New Features
- Add support for
uvas package manager (#218, thanks @mads-oestergaard!) - Add
agent.docker_args_filtersto configuration docs, to enforce filter whitelist on docker arguments allowing only those matching these filters to be used when running containers - Add support for Python 3.13
- Remove Python 3.5 support
- Add
win32fileon windows (pywin32dependency) - Scan more Python 3 versions
- Support ignoring
kubectlerrors - Support creating queue with tags
Bug Fixes
- Fix managed python environment inside container (PEP 668)
- Fix default value handling in
merge_dicts()utility function - Fix python 3.6 compatibility (no
:=operator)
PyPI v1.9.2 - ClearML
New Features and Bug Fixes
- Handle OSError when checking for is_file (#215, thanks @materight!)
- Add support for pip legacy resolver for versions specified using the
agent.package_manager.pip_legacy_resolverconfiguration option - Add skip existing packages
- Fix report index not advancing in resource monitoring causes more than one GPU not to be reported
- Fix use
req_token_expiration_secand not the default value when creating a task session - Fix reload method is found in the config object causing periodic agent error printouts
PyPI v1.9.1 - ClearML
New Features and Bug Fixes
- Add default pip version support for Python 3.12