-
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] MetricsLogger cleanup throughput logic. #49981
[RLlib] MetricsLogger cleanup throughput logic. #49981
Conversation
…ics_logger_cleanup_throughput
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. Just a small question.
rllib/utils/metrics/stats.py
Outdated
self._throughput = 0.0 | ||
self._measure_throughput = False | ||
if ( | ||
self._reduce_method == "sum" |
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.
Dumb question: Why is this only relevant for sum
? Because these are the only lifetime stats?
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.
This is the only reduce setting, for which it makes sense to measure throughput for. Doesn't really make sense for min/max/mean.
…ics_logger_cleanup_throughput
…ics_logger_cleanup_throughput
Signed-off-by: Anson Qian <anson627@gmail.com>
Signed-off-by: Anson Qian <anson627@gmail.com>
Signed-off-by: Puyuan Yao <williamyao034@gmail.com>
MetricsLogger cleanup throughput logic.
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.