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

Use Anaconda for autoscaling example and add example config for devel… #1361

Merged
merged 2 commits into from
Dec 22, 2017
Merged

Use Anaconda for autoscaling example and add example config for devel… #1361

merged 2 commits into from
Dec 22, 2017

Conversation

robertnishihara
Copy link
Collaborator

This fixes #1358 and also provides an example of how to use the autoscaler for development.

Note some inconveniences:

  • We seem to always have to prefix commands with the appropriate PATH.
  • We have to change directories in the same line because changing directories doesn't persist across commands.

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@AmplabJenkins
Copy link

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

@pcmoritz
Copy link
Contributor

pcmoritz commented Dec 21, 2017

Note that the path problem should be fixed by this: https://github.com/ray-project/ray/pull/1348/files#diff-2691ece495b9e3385c14189d8a32b54eR158 and defining the path in the .profile (ideally .bashrc, not sure if we have figured out how that works)

see --rcfile: https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html#Bash-Startup-Files

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@AmplabJenkins
Copy link

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

@pcmoritz
Copy link
Contributor

I'm excited about the development yaml file, that can save a lot of time :)

@ericl
Copy link
Contributor

ericl commented Dec 21, 2017

I figured out a workaround to emulate interactive mode (set -i && source ~/.bashrc), that should allow the commands to run exactly as in an interactive prompt.

Copy link
Contributor

@ericl ericl left a comment

Choose a reason for hiding this comment

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

This LGTM.

@pcmoritz pcmoritz merged commit 22460ff into ray-project:master Dec 22, 2017
@pcmoritz pcmoritz deleted the minorfix branch December 22, 2017 09:59
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.

Python version mismatch when using ray autoscaler.
4 participants