diff --git a/docs/clearml_agent/clearml_agent_env_var.md b/docs/clearml_agent/clearml_agent_env_var.md index a7b99097..6af52fb4 100644 --- a/docs/clearml_agent/clearml_agent_env_var.md +++ b/docs/clearml_agent/clearml_agent_env_var.md @@ -27,6 +27,7 @@ but can be overridden by command-line arguments. |**CLEARML_AGENT_DISABLE_SSH_MOUNT** | Disables the auto `.ssh` mount into the docker | |**CLEARML_AGENT_FORCE_CODE_DIR**| Allows overriding the remote execution code directory to bypass repository cloning and use a repo already available where the remote agent is running. | |**CLEARML_AGENT_FORCE_EXEC_SCRIPT**| Allows overriding the remote execution script to bypass repository cloning and execute code already available where the remote agent is running. Use `module:file.py` format to specify a module and a script to execute (e.g. `.:main.py` to run `main.py` from the working dir)| +|**CLEARML_AGENT_FORCE_TASK_INIT**| If set to `1`, ClearML Agent adds `Task.init()` to scripts that do not have the call, creating a Task to capture code execution information and output, which is then sent to the ClearML Server. If set to `0` and the script does not include `Task.init()`, the agent will capture only the output streams and console output, without tracking code execution details, metrics, or models. | |**CLEARML_AGENT_FORCE_SYSTEM_SITE_PACKAGES** | If set to `1`, overrides default [`agent.package_manager.system_site_packages: true`](../configs/clearml_conf.md#system_site_packages) behavior when running tasks in containers (docker mode and k8s-glue)| |**CLEARML_AGENT_GIT_CLONE_VERBOSE**| If set to `1`, `git clone` calls will report progress verbosely | |**CLEARML_AGENT_GIT_USER** | Sets the Git user for ClearML Agent | @@ -47,4 +48,5 @@ but can be overridden by command-line arguments. |**CLEARML_AGENT_CHILD_AGENTS_COUNT_CMD** | Provide an alternate bash command to list child agents while working in services mode | |**CLEARML_AGENT_SKIP_PIP_VENV_INSTALL** | Instead of creating a new virtual environment inheriting from the system packages, use an existing virtual environment and install missing packages directly to it. Specify the python binary of the existing virtual environment. For example: `CLEARML_AGENT_SKIP_PIP_VENV_INSTALL=/home/venv/bin/python` | |**CLEARML_AGENT_SKIP_PYTHON_ENV_INSTALL** | If set to `1`, the agent will not install any required python packages and will just use the preexisting python environment to run the task. | -|**CLEARML_AGENT_VENV_CACHE_PATH** | Overrides venv cache folder configuration | \ No newline at end of file +|**CLEARML_AGENT_VENV_CACHE_PATH** | Overrides venv cache folder configuration | +|**CLEARML_MULTI_NODE_SINGLE_TASK**| Control how multi-node resource monitoring is reported. The options are: | diff --git a/docs/configs/clearml_conf.md b/docs/configs/clearml_conf.md index edeebc5a..5721308d 100644 --- a/docs/configs/clearml_conf.md +++ b/docs/configs/clearml_conf.md @@ -190,6 +190,7 @@ For example: pip_cache: "/root/.cache/pip" poetry_cache: "/root/.cache/pypoetry" vcs_cache: "/root/.clearml/vcs-cache" + venvs_cache: "/root/.clearml/venvs-cache" venv_build: "/root/.clearml/venvs-builds" pip_download: "/root/.clearml/pip-download-cache" } @@ -417,6 +418,10 @@ These settings define which Docker image and arguments should be used unless [ex unlike `agent.default_docker.arguments` ::: + :::note + `match_rules` are ignore if `--docker ` is passed in the command line. + ::: + * The rules can be: * `script.requirements` - Match all script requirements * `script.repostiry`, `script.branch` - Match based on Git repository or branch where the script is stored