-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Docs][Kuberay] Create an example doc for Modin #46345
Conversation
@kevin85421 Could you help me review this PR? Thanks. |
|
||
Create a file named `ray-job.modin.yaml` with the following content: | ||
|
||
```yaml |
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.
Add a YAML KubeRay repository.
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.
Done
metadata: | ||
name: ray-job-code-sample | ||
data: | ||
sample_code.py: | |
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.
Use a real-world example instead.
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.
Done
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.
- push back to your queue for @kevin85421's feedback
- do you mind add a screenshot or link to the generated page, thankks
952abe6
to
ffb24d0
Compare
@can-anyscale PTAL. Thanks. |
|
||
Run the following command to check the output: | ||
|
||
```sh |
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.
Have you ever updated the logs after unwrapping the Modin example from a Ray task?
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.
Done
ffb24d0
to
202e3c5
Compare
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.
Some suggestions for style consistency. Please consider installing Vale to check for these corrections. https://docs.ray.io/en/latest/ray-contribute/docs.html#how-to-use-vale
Please also verify the technical accuracy of my suggestion for an introductory sentence for Step 2, proposed line 13.
Thanks for making Ray docs better!!
|
||
# Use Modin with Ray on Kubernetes | ||
|
||
In this example, you will learn how to run a modified version of the [Using Modin with the NYC Taxi Dataset](https://github.com/modin-project/modin/blob/4e7afa7ea59c7a160ed504f39652ff23b4d49be3/examples/jupyter/Modin_Taxi.ipynb) example from the Modin official repository using RayJob on Kubernetes. |
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.
In this example, you will learn how to run a modified version of the [Using Modin with the NYC Taxi Dataset](https://github.com/modin-project/modin/blob/4e7afa7ea59c7a160ed504f39652ff23b4d49be3/examples/jupyter/Modin_Taxi.ipynb) example from the Modin official repository using RayJob on Kubernetes. | |
This example runs a modified version of the [Using Modin with the NYC Taxi Dataset](https://github.com/modin-project/modin/blob/4e7afa7ea59c7a160ed504f39652ff23b4d49be3/examples/jupyter/Modin_Taxi.ipynb) example from the Modin official repository using RayJob on Kubernetes. |
|
||
In this example, you will learn how to run a modified version of the [Using Modin with the NYC Taxi Dataset](https://github.com/modin-project/modin/blob/4e7afa7ea59c7a160ed504f39652ff23b4d49be3/examples/jupyter/Modin_Taxi.ipynb) example from the Modin official repository using RayJob on Kubernetes. | ||
|
||
## Step 1: Install Kuberay operator |
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.
## Step 1: Install Kuberay operator | |
## Step 1: Install KubeRay operator |
|
||
## Step 1: Install Kuberay operator | ||
|
||
Follow the steps 1 and 2 from the [RayCluster Quick Start](kuberay-raycluster-quickstart) guide to install Kuberay operator. |
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.
Follow the steps 1 and 2 from the [RayCluster Quick Start](kuberay-raycluster-quickstart) guide to install Kuberay operator. | |
Follow steps 1 and 2 from [RayCluster Quickstart](kuberay-raycluster-quickstart) to install KubeRay operator. |
Follow the steps 1 and 2 from the [RayCluster Quick Start](kuberay-raycluster-quickstart) guide to install Kuberay operator. | ||
|
||
## Step 2: Run the Modin example with RayJob | ||
|
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.
Create a RayJob that runs the Modin example using the following command: |
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.
@angelinalg Thank you! I've pushed updates according to your suggestions.
Resolves: ray-project/kuberay#2190 Signed-off-by: Chi-Sheng Liu <[email protected]>
202e3c5
to
8910670
Compare
Signed-off-by: Chi-Sheng Liu <[email protected]> Signed-off-by: hejialing.hjl <[email protected]>
Why are these changes needed?
See the description in the corresponding issue for details.
Related PR: ray-project/kuberay#2221
Related issue number
Resolves: ray-project/kuberay#2190
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.