-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Switch EC2 example config to use AWS deep learning AMI + latest Ray wheel #1331
Conversation
raise Exception( | ||
"No subnets found, try manually creating an instance in " | ||
"your specified region to populate the list of subnets " | ||
"and trying this again.") |
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.
I'm not sure why the subnets list is empty until you do this; I ran into this problem when trying to use the script in a region I hadn't used before (us-west-2).
Merged build finished. Test PASSed. |
Test PASSed. |
@@ -58,15 +58,13 @@ file_mounts: { | |||
|
|||
# List of shell commands to run to initialize the head node. | |||
head_init_commands: | |||
- cd ~/ray; git remote add eric https://github.com/ericl/ray.git || true | |||
- cd ~/ray; git fetch eric && git reset --hard e1e97b3 | |||
- sudo pip3 install -U https://s3-us-west-2.amazonaws.com/ray-wheels/f5ea44338eca392df3a868035df3901829cc2ca1/ray-0.3.0-cp35-cp35m-manylinux1_x86_64.whl |
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.
Would it work if we get rid of sudo
and add in --user
Thanks @ericl this looks good. Separately, what is the best way for developers to use this? E.g., should developers make a new AMI with Ray installed via Also, for development, would it make sense to pre-populate a |
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.
I left one comment. Feel free to address it or merge anyway.
@robertnishihara made that change, it seems to work.
Yeah, I snapshotted a new AMI that had my repo pre-cloned.
What I've been doing is adding a |
Merged build finished. Test PASSed. |
Test PASSed. |
It's got to be unrelated to this PR, but this is the first time I saw the error
|
Filed an issue at #1332. |
What do these changes do?
This is the fix-up PR for #1311