question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow `ray up` to take URL as argument.

See original GitHub issue

To get started with the autoscaler, we tell people to run a line like ray up ray/python/ray/autoscaler/aws/example-full.yaml. In practice, the steps are

  1. Figure out that this means you have to clone the Ray repository.
  2. Clone the Ray repository.
  3. Figure out the new correct relative file path based on where you cloned it.
  4. Run ray up ....

Instead, we could let people just copy and paste the following command:

ray up https://github.com/ray-project/ray/blob/master/python/ray/autoscaler/aws/example-full.yaml

In this blog post https://towardsdatascience.com/10x-faster-parallel-python-without-python-multiprocessing-e5017c93cce1, I posted benchmarks at the end that they could run with the autoscaler, but they still have to wget the relevant file. It’d be much easier if they could just use the URL.

Could also just write stuff like the following, but one line would be better.

wget https://raw.githubusercontent.com/ray-project/ray/master/python/ray/autoscaler/aws/example-full.yaml
ray up example-full.yaml

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
robertnishiharacommented, Feb 1, 2020

@richardliaw the thing I like about the URL approach is that it is extensible, so if I write a blog post, I can host my own cluster yaml somewhere and then give people one command to run to reproduce the experiments.

0reactions
JosephTLucascommented, Apr 30, 2020

Thanks! Yeah, I think I can do that. I’ll take a stab over the weekend and get you a PR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuring Ray — Ray 2.2.0
For the multi-node setting, you must first run ray start on the command line to start the Ray cluster services on the machine...
Read more >
python - Remote ray call not detecting function arguments
In your example, compile_file seems to be the method of a class, but the class definition is not provided.
Read more >
Inputs for Script Commands - Raycast Blog
The basics. Raycast uses the placeholder of an argument to hint the user what to enter. When the script is executed, all arguments...
Read more >
[tune] Pass in other arguments to Trainable Function #1762
I don't want to modify any of my code to use Tune; I just want to add a reporter parameter (and a tune...
Read more >
URL X-Ray
In Git exclude the .env file with: echo .env >> .gitignore . For more information, see the Heroku Local article. Input Parameter ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found