Skip to content

Commit 12279bb

Browse files
committed
doc
1 parent 31263ee commit 12279bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/rloo_trainer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ We provide a [HF Space](https://huggingface.co/spaces/trl-lib/recommend-vllm-mem
230230
231231
If the recommended value does not work in your environment, we suggest adding a small buffer (e.g., +0.05 or +0.1) to the recommended value to ensure stability.
232232

233+
If you still find you are getting out-of-memory errors set `vllm_enable_sleep_mode` to True and the vllm parameters and cache will be offloaded during the optimization step. For more information, see [Reducing Memory Usage with vLLM Sleep Mode](reducing_memory_usage#vllm-sleep-mode).
234+
233235
</Tip>
234236

235237
<Tip>

0 commit comments

Comments
 (0)