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.

[FEATURE] Ray HPO Tune Integration

See original GitHub issue

We’ve managed to run an axample ray cluster and HPO on kubenetes. Here are the steps:

  1. Connect local kubectl to the eks cluster
  2. Pip install ray locally: pip install ray
  3. Clone ray repo: git clone https://github.com/ray-project/ray.git
  4. Launch up a ray cluster by: ray up ray/python/ray/autoscaler/kubernetes/example-full.yaml
  5. Check the cluster got launched by: kubectl -n ray get pods
  6. To create a sample job: kubectl create -f ray/doc/kubernetes/job-example.yaml
    • You can modify the script got downloaded in the yaml file to run different script
  7. To check result: kubectl -n ray logs <launched job pod>
  8. To tear down the cluster: ray down ray/python/ray/autoscaler/kubernetes/example-full.yaml

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
abarorcommented, Apr 5, 2021

nice, we can turn this into a plugin, make sure https://github.com/ray-project/ray/blob/master/python/ray/autoscaler/kubernetes/example-full.yaml is changed to use the <team namespace> and not introduce a new namespace “ray” . This will allow ray to launch containers within the team namespace.

0reactions
abarorcommented, Apr 20, 2021

Ray plugin has been added and will be available in the next release

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scalable Hyperparameter Tuning — Ray 2.2.0
Tune is a Python library for experiment execution and hyperparameter tuning at any scale. You can tune your favorite machine learning framework (PyTorch, ......
Read more >
Hyperparameter tuning with Keras and Ray Tune
Ray Tune integrates seamlessly with experiment management tools such as MLFlow, TensorBoard, weights and biases, etc. and provides a ...
Read more >
Hyperparameter tuning with Ray Tune
Ray Tune includes the latest hyperparameter search algorithms, integrates with TensorBoard and other analysis libraries, and natively supports distributed ...
Read more >
Ray Tune: Distributed Hyperparameter Optimization Made ...
This talk was presented at PyBay2021 Food Truck Edition - 6th annual Bay Area Regional Python conference. See pybay.com for more details ...
Read more >
Cutting Edge Hyperparameter Tuning Made Simple With Ray ...
Then, we will showcase Ray Tune and its sklearn-wrapper ... optimization and how simple tune -sklearn is to use and integrate within existing ......
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