Skip to content

[Core/RLlib] Move log_once from rllib to ray.util.#7273

Merged
ericl merged 5 commits intoray-project:masterfrom
sven1977:move_log_once_from_rllib_to_tune
Feb 27, 2020
Merged

[Core/RLlib] Move log_once from rllib to ray.util.#7273
ericl merged 5 commits intoray-project:masterfrom
sven1977:move_log_once_from_rllib_to_tune

Conversation

@sven1977
Copy link
Copy Markdown
Contributor

@sven1977 sven1977 commented Feb 22, 2020

Moving the log_once debug/helper function from RLlib to Tune makes it available from within Tune as well (would otherwise cause circular dependencies).

Related issue number

Checks

@AmplabJenkins
Copy link
Copy Markdown

Can one of the admins verify this patch?

@AmplabJenkins
Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/22279/
Test FAILed.

…_log_once_from_rllib_to_tune

� Conflicts:
�	rllib/policy/eager_tf_policy.py
�	rllib/policy/tf_policy.py
@AmplabJenkins
Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/22290/
Test FAILed.

@AmplabJenkins
Copy link
Copy Markdown

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/22292/
Test PASSed.

@simon-mo
Copy link
Copy Markdown
Contributor

Can this be moved to ray.utils? Serve will benefit from using it as well

@sven1977
Copy link
Copy Markdown
Contributor Author

Moved to ray.util.debug. Retesting ...

@AmplabJenkins
Copy link
Copy Markdown

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/22380/
Test FAILed.

@sven1977 sven1977 changed the title [Tune/RLlib] Move log_once from rllib to tune. [Core/RLlib] Move log_once from rllib to tune. Feb 25, 2020
@sven1977 sven1977 changed the title [Core/RLlib] Move log_once from rllib to tune. [Core/RLlib] Move log_once from rllib to ray.util. Feb 25, 2020
Copy link
Copy Markdown
Contributor

@richardliaw richardliaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ericl ericl merged commit 357232d into ray-project:master Feb 27, 2020
mehrdadn pushed a commit to mehrdadn/ray that referenced this pull request Feb 28, 2020
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
@mehrdadn mehrdadn mentioned this pull request Feb 28, 2020
3 tasks
pcmoritz pushed a commit that referenced this pull request Feb 28, 2020
#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
@sven1977 sven1977 deleted the move_log_once_from_rllib_to_tune branch March 3, 2020 10:15
ffbin pushed a commit to antgroup/ant-ray that referenced this pull request Mar 20, 2020
* Move log_once from rllib to tune.

* Move log_once from rllib to tune.

* LINT.

* Move to ray.util.debug.
ffbin pushed a commit to antgroup/ant-ray that referenced this pull request Mar 20, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants