[Core/RLlib] Move log_once from rllib to ray.util.#7273
[Core/RLlib] Move log_once from rllib to ray.util.#7273ericl merged 5 commits intoray-project:masterfrom
log_once from rllib to ray.util.#7273Conversation
|
Can one of the admins verify this patch? |
|
Test FAILed. |
…_log_once_from_rllib_to_tune � Conflicts: � rllib/policy/eager_tf_policy.py � rllib/policy/tf_policy.py
|
Test FAILed. |
|
Test PASSed. |
|
Can this be moved to ray.utils? Serve will benefit from using it as well |
|
Moved to ray.util.debug. Retesting ... |
|
Test FAILed. |
log_once from rllib to tune.log_once from rllib to tune.
log_once from rllib to tune.log_once from rllib to ray.util.
ray-project#7273)" This partially reverts commit 357232d. The addition of python/__init__.py broke the build on Windows. However, this is difficult to notice because Bazel doesn't seem to notice this dependency. You first have to go to a commit that fails on this issue, and then try to re-build this commit, so that Bazel actually performs a rebuild. A useful command-line for triggering the exact build i: bazel build --compile_one_dependency //:python/ray/_raylet.pyx
#7273)" (#7361) This partially reverts commit 357232d. The addition of python/__init__.py broke the build on Windows. However, this is difficult to notice because Bazel doesn't seem to notice this dependency. You first have to go to a commit that fails on this issue, and then try to re-build this commit, so that Bazel actually performs a rebuild. A useful command-line for triggering the exact build i: bazel build --compile_one_dependency //:python/ray/_raylet.pyx
* Move log_once from rllib to tune. * Move log_once from rllib to tune. * LINT. * Move to ray.util.debug.
ray-project#7273)" (ray-project#7361) This partially reverts commit 357232d. The addition of python/__init__.py broke the build on Windows. However, this is difficult to notice because Bazel doesn't seem to notice this dependency. You first have to go to a commit that fails on this issue, and then try to re-build this commit, so that Bazel actually performs a rebuild. A useful command-line for triggering the exact build i: bazel build --compile_one_dependency //:python/ray/_raylet.pyx
Moving the
log_oncedebug/helper function from RLlib to Tune makes it available from within Tune as well (would otherwise cause circular dependencies).Related issue number
Checks
scripts/format.shto lint the changes in this PR.