Skip to content

PyPI v1.5.0 - ClearML

Compare
Choose a tag to compare
@jkhenning jkhenning released this 05 Dec 16:22
· 205 commits to master since this release

New Features and Improvements

  • Add option to crash agent on exception using agent.crash_on_exception configuration setting (#123, thanks @nielstenboom!)
  • Improve venv cache disabled message
  • Upgrade packages for better Python 3.10 support
  • Remove future package dependency (Python 2 is not supported for clearml-agent)
  • Change default pip version used to pip<21 for better Python 3.10 support
  • Add support for operator != in package version (mostly for better pytorch resolving)
  • Add support for PyTorch new extra_index_url repo (find the correct index url based on the cuda version, and let pip do the rest)
  • Make venv caching the default behavior
  • Add support for CLEARML_AGENT_DOCKER_ARGS_HIDE_ENV environment variable (see agent.hide_docker_command_env_vars config option)
  • Ping executing tasks to make sure the server does not consider them stale (set using the agent.task_ping_interval_sec configuration option, defaults to every 120 seconds)

Bug Fixes

  • Fix docker extra arguments showing up in configuration printout
  • Fix an issue with running on Python 3.10 / 3.11
  • Fix cached git token prevents cloning repository (using agent.enable_git_ask_pass forcing the agent to use GIT_ASKPASS for user/password when cloning/fetching repositories)
  • Fix setting CLEARML_API_DEFAULT_REQ_METHOD raises an error
  • Fix get_task_session() may cause an old copy of the APIClient to be used containing a reference to the previous session
  • K8s Glue
    • Fix agent.system_site_packages is not turned on by default in k8s glue
    • Make sure we git_user/pass is passed to the task pod
    • Remove support for kubectl run