mirror of
https://github.com/clearml/clearml-docs
synced 2025-03-03 18:53:37 +00:00
Add admonition about running agents in venv (#470)
This commit is contained in:
parent
f77403e6d6
commit
55fd5b4cb1
@ -52,6 +52,8 @@ pip install clearml-agent
|
|||||||
|
|
||||||
:::info
|
:::info
|
||||||
Install ClearML Agent as a system Python package and not in a Python virtual environment.
|
Install ClearML Agent as a system Python package and not in a Python virtual environment.
|
||||||
|
An agent that runs in Virtual Environment Mode or Conda Environment Mode needs to create virtual environments, and
|
||||||
|
it can't do that when running from a virtual environment.
|
||||||
:::
|
:::
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
@ -72,7 +72,7 @@ Task to one of your queues, according to the amount of resources you want to all
|
|||||||
With queues and ClearML Agent, you can easily add and remove machines from the cluster, and you can
|
With queues and ClearML Agent, you can easily add and remove machines from the cluster, and you can
|
||||||
reuse machines without the need for any dedicated containers or images.
|
reuse machines without the need for any dedicated containers or images.
|
||||||
|
|
||||||
## Additional Features
|
## Running Modes
|
||||||
|
|
||||||
Agents can be deployed bare-metal, with multiple instances allocating
|
Agents can be deployed bare-metal, with multiple instances allocating
|
||||||
specific GPUs to the agents. They can also be deployed as dockers in a Kubernetes cluster.
|
specific GPUs to the agents. They can also be deployed as dockers in a Kubernetes cluster.
|
||||||
@ -87,6 +87,12 @@ The Agent has three running modes:
|
|||||||
- Conda Environment Mode: Similar to the Virtual Environment mode, only instead of using pip, it uses conda install and
|
- Conda Environment Mode: Similar to the Virtual Environment mode, only instead of using pip, it uses conda install and
|
||||||
pip combination. Notice this mode is quite brittle due to the Conda package version support table.
|
pip combination. Notice this mode is quite brittle due to the Conda package version support table.
|
||||||
|
|
||||||
|
:::tip Agents and virtual environments
|
||||||
|
An agent that runs in Virtual Environment Mode or Conda Environment Mode needs to create virtual environments, and
|
||||||
|
it can't do that when running from a virtual environment. You can run agents in these modes with
|
||||||
|
system Python.
|
||||||
|
:::
|
||||||
|
|
||||||
## Services Mode
|
## Services Mode
|
||||||
|
|
||||||
In its default mode, a ClearML Agent executes a single task at a time, since training tasks typically require all resources
|
In its default mode, a ClearML Agent executes a single task at a time, since training tasks typically require all resources
|
||||||
|
Loading…
Reference in New Issue
Block a user