-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't collect more than necessary in RaySampler (#1583)
There is a poorly-handled case where we have more workers than we need. At the moment, the fix for this is to only call rollout on workers if we need samples from those workers. For example, if there are 2 workers, and they are each configured collect 16 samples per call, and then a call to obtain samples is made asking for only 16 samples, then only the first sampler worker should be started. Fixes #1349
- Loading branch information
Showing
2 changed files
with
41 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters