-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RLlib] Add time between sample
metric to MultiAgentEnvRunner
.
#49687
[RLlib] Add time between sample
metric to MultiAgentEnvRunner
.
#49687
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nice change. We need to think about the metrics we want to record for Offline RL and also the metrics from buffers.
@@ -128,6 +130,8 @@ def __init__(self, config: AlgorithmConfig, **kwargs): | |||
|
|||
self._weights_seq_no: int = 0 | |||
|
|||
self._time_after_sampling = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we leave a comment about what this attribute is for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
…ay-project#49687) Signed-off-by: Roshan Kathawate <roshankathawate@gmail.com>
…ay-project#49687) Signed-off-by: lielin.hyl <lielin.hyl@alibaba-inc.com>
Add
time between sample
metric toMultiAgentEnvRunner
.SingleAgentEnvRunner
.Why are these changes needed?
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.