[QQ about fully_async] Why each rollout server is hardcoded to be allowed to handle only 16 active samples?
At https://github.com/verl-project/verl/blob/5a506cc58c4cb6aaf5bff908726e55378eb42867/verl/experimental/fully_async_policy/fully_async_rollouter.py#L238
self.max_concurrent_samples = len(self.async_rollout_manager.server_handles) * 16
meaning each rollout server can handle only 16 active samples. Is there a reason behind this?
Thanks for any explanation in advance!
Hey, I think it's just a backpressure default to avoid overwhelming the KV cache on the inference server, nothing too principled from what I can tell, just a "works okay in practice" kind of value. Could be wrong though.
Probably should be a config param at some point.
Hey, I think it's just a backpressure default to avoid overwhelming the KV cache on the inference server, nothing too principled from what I can tell, just a "works okay in practice" kind of value. Could be wrong though.
Probably should be a config param at some point.
Thanks for your explanation! Closing this now.