agent and training must be in the same environment?
According to README, The following versions and installation order have been tested and are confirmed to work. The following version should be understood as a training environment. Is it the agent environment should be as same as the training environment?
pip install torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128
pip install flash-attn --no-build-isolation
pip install vllm==0.9.2
pip install verl==0.5.0
Some agents may need to build in another installation which may uncompatible with the current training environment.If incompatibility occurs, how can I train the agent
Agent-lightning is built to support heterogeneous environment for agent and training. You can install torch/vllm/verl in one environment for training; and install the agentic libraries in another environment.
You need to however install pip install agentlightning in both env.