Version 2.0
ClearML Agent 2.0.4
New Features and Bug Fixes
- Fix Python 3.6 compatibility
- Update psutil requirement
ClearML Agent 2.0.3
New Feature
- 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)
Bug Fix
- Fix null ptr ref when skip Python env enabled (#239)
ClearML Agent 2.0.2
Bug Fix
- Fix YAML dump failure causes agent to abort task execution (error log includes expected
SCALAR,SEQUENCE-START,MAPPING-START, orALIAS)
ClearML Agent 2.0.1
Bug Fix
- Fix regression issue
AttributeError: 'NoneType' object has no attribute 'pending'caused by accessing a non-existing report (#241)
ClearML Agent 2.0.0
New Features
- Add command line arguments for
k8s_glue_example.py(#196) - Add initial support for
--break-system-packagesversion detection, and 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 task properties (repository, tags, project, user etc.), as well as offer additional defaults based on Python required packages or Python versions - Add
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
CLEARML_AGENT_QUEUE_POLL_FREQ_SECandCLEARML_AGENT_STATUS_REPORT_FREQ_SECenvironment variables to customize agent behavior - Add
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<3to supporturllib3v2 - 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 integration
- 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 freezefails - Fix UV as pip drop-in replacement print
- Fix
- 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 failure to kill one child process prevents attempts to terminate remaining processes
- 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 task is set to Aborted after already marked as Failed
- Fix installing venv from the agent's python binary when the selected Python failed
- Fix fallback to system path
python3if pip is unavailable for selected Python - Fix fallback to system python changes the Python bin inside the new virtual environment