[BUG] Fix rlhf_async example (#35788)

Signed-off-by: ahao-anyscale <ahao@anyscale.com>
This commit is contained in:
Aaron Hao
2026-03-02 12:36:40 -08:00
committed by GitHub
parent 53700bf49b
commit cad21918e3

View File

@@ -104,7 +104,7 @@ class MyLLM(vllm.AsyncLLMEngine):
while not self._request_pause_flag:
await asyncio.sleep(0)
await super().pause_generation(mode="keep")
await asyncio.sleep(0.2)
await asyncio.sleep(5)
self._generation_paused = True