Add venvs_cache configuration

This commit is contained in:
allegroai 2021-02-14 13:48:57 +02:00
parent ca242424ab
commit f619969efc
2 changed files with 14 additions and 3 deletions
clearml_agent/backend_api/config/default
docs

View File

@ -77,13 +77,14 @@
# target folder for virtual environments builds, created when executing experiment
venvs_dir = ~/.clearml/venvs-builds
# cached git clone folder
# cached virtual environment folder
venvs_cache: {
# unmark to enable venv caching
# path: ~/.clearml/venvs-cache
# maximum number of cached venvs
max_entries: 10
# minimum required free space to allow for cache entry, disable by passing 0 or negative value
free_space_threshold_gb: 2.0
# unmark to enable virtual environment caching
# path: ~/.clearml/venvs-cache
},
# cached git clone folder

View File

@ -89,6 +89,16 @@ agent {
# target folder for virtual environments builds, created when executing experiment
venvs_dir = ~/.clearml/venvs-builds
# cached virtual environment folder
venvs_cache: {
# maximum number of cached venvs
max_entries: 10
# minimum required free space to allow for cache entry, disable by passing 0 or negative value
free_space_threshold_gb: 2.0
# unmark to enable virtual environment caching
# path: ~/.clearml/venvs-cache
},
# cached git clone folder
vcs_cache: {
enabled: true,