Skip to content
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] Allow development without needing to compile Ray #3623

Merged
merged 7 commits into from
Dec 24, 2018

Conversation

ericl
Copy link
Contributor

@ericl ericl commented Dec 24, 2018

This adds a script that sets up symlinks between the rllib git dir and the installed source. Not perfect, but makes it so you don't need to compile Ray if just editing rllib source.

Closes #3608

local_home = os.path.abspath(os.path.dirname(__file__))
assert os.path.isdir(rllib_home), rllib_home
assert os.path.isdir(local_home), local_home
print(
Copy link
Contributor

Choose a reason for hiding this comment

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

click.confirm(msg, abort=True)?

@AmplabJenkins
Copy link

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

Copy link
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 and tried out on py2, py3 for macos. If you want to revert the last change, go ahead.

@ericl
Copy link
Contributor Author

ericl commented Dec 24, 2018

Lgtm

@@ -17,10 +17,6 @@ Trying snapshots from master

Here are links to the latest wheels (which are built off of master). To install these wheels, run the following command:

.. danger::

These versions will have newer features but are subject to more bugs. If you encounter crashes or other instabilities, please revert to the latest stable version.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why remove this warning?

@robertnishihara
Copy link
Collaborator

So the idea is that you would pip install ray but then use rllib from the cloned repo?

@ericl
Copy link
Contributor Author

ericl commented Dec 24, 2018 via email

@robertnishihara
Copy link
Collaborator

Ok sounds good. I'm fine with removing the warning.

@AmplabJenkins
Copy link

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

@ericl ericl merged commit 9f63119 into ray-project:master Dec 24, 2018
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.

4 participants