Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
cad21918
Unverified
Commit
cad21918
authored
Mar 02, 2026
by
Aaron Hao
Committed by
GitHub
Mar 02, 2026
Browse files
[BUG] Fix rlhf_async example (#35788)
Signed-off-by:
ahao-anyscale
<
ahao@anyscale.com
>
parent
53700bf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/offline_inference/new_weight_syncing/rlhf_async_new_apis.py
...fline_inference/new_weight_syncing/rlhf_async_new_apis.py
+1
-1
No files found.
examples/offline_inference/new_weight_syncing/rlhf_async_new_apis.py
View file @
cad21918
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment