@@ -191,10 +191,12 @@ Choose one of the following options:
191191conda create -n trinity python=3.12
192192conda activate trinity
193193
194- # If you have no GPU, skip following two commands and use Tinker instead.
195- # pip install -e ".[tinker]"
196194pip install -e " .[verl]"
197195pip install -e " .[flash_attn]"
196+
197+ # If you have no GPU, comment out the two lines above and uncomment this instead:
198+ # pip install -e ".[tinker]"
199+
198200# If you encounter issues when installing flash-attn, try:
199201# pip install flash-attn==2.8.1 --no-build-isolation
200202
@@ -207,10 +209,12 @@ pip install -e ".[dev]" # for development like linting and debugging
207209python3.10 -m venv .venv
208210source .venv/bin/activate
209211
210- # If you have no GPU, skip following two commands and use Tinker instead.
211- # pip install -e ".[tinker]"
212212pip install -e " .[verl]"
213213pip install -e " .[flash_attn]"
214+
215+ # If you have no GPU, comment out the two lines above and uncomment this instead:
216+ # pip install -e ".[tinker]"
217+
214218# If you encounter issues when installing flash-attn, try:
215219# pip install flash-attn==2.8.1 --no-build-isolation
216220
@@ -222,7 +226,7 @@ pip install -e ".[dev]" # for development like linting and debugging
222226[ ` uv ` ] ( https://github.com/astral-sh/uv ) is a modern Python package installer.
223227
224228``` bash
225- uv sync --extra dev --extra flash_attn
229+ uv sync --extra verl --extra dev --extra flash_attn
226230```
227231
228232
0 commit comments