Skip to content

Commit 092e19f

Browse files
authored
Merge pull request #3157 from pareenaverma/content_review
Tech review of the ray on axion lp
2 parents 8c295ac + 547f947 commit 092e19f

5 files changed

Lines changed: 9 additions & 7 deletions

File tree

content/learning-paths/servers-and-cloud-computing/ray-on-axion/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
title: Scale AI workloads with Ray on Google Cloud C4A Axion VM
3+
description: Deploy and run distributed AI workloads using Ray on Google Cloud Axion C4A Arm-based VMs, covering parallel tasks, hyperparameter tuning, and model serving with Ray Core, Train, Tune, and Serve.
34

45
draft: true
56
cascade:

content/learning-paths/servers-and-cloud-computing/ray-on-axion/firewall-setup.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ For help with GCP setup, see the Learning Path [Getting started with Google Clou
1616

1717
Navigate to the [Google Cloud Console](https://console.cloud.google.com/), go to **VPC Network > Firewall**, and select **Create firewall rule**.
1818

19-
![Google Cloud Console VPC Network Firewall page showing the Create firewall rule button in the top menu bar alt-txt#center](images/firewall-rule.png "Create a firewall rule in Google Cloud Console")
19+
![Google Cloud Console VPC Network Firewall page showing the Create firewall rule button in the top menu bar#center](images/firewall-rule.png "Create a firewall rule in Google Cloud Console")
2020

2121
Next, create the firewall rule that exposes required ports for Ray.
2222

2323
Set the **Name** of the new rule to "allow-ray-ports". Select your network that you intend to bind to your VM.
2424

2525
Set **Direction of traffic** to "Ingress". Set **Allow on match** to "Allow" and **Targets** to "Specified target tags". Enter "allow-ray-ports" in the **Target tags** text field. Set **Source IPv4 ranges** to "0.0.0.0/0".
2626

27-
![Google Cloud Console Create firewall rule form with Name set to allow-ray-ports and Direction of traffic set to Ingress alt-txt#center](images/network-rule.png "Configuring the allow-ray-ports firewall rule")
27+
![Google Cloud Console Create firewall rule form with Name set to allow-ray-ports and Direction of traffic set to Ingress#center](images/network-rule.png "Configuring the allow-ray-ports firewall rule")
2828

2929
Finally, select **Specified protocols and ports** under the **Protocols and ports** section. Select the **TCP** checkbox and enter:
3030

@@ -47,4 +47,4 @@ In this section, you:
4747
* Created a firewall rule to expose Ray Dashboard and Serve API
4848
* Enabled external access to monitor jobs and access deployed services
4949

50-
Next, you'll deploy and run Ray workloads on your ARM-based virtual machine.
50+
Next, you'll deploy and run Ray workloads on your Arm-based virtual machine.

content/learning-paths/servers-and-cloud-computing/ray-on-axion/instance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ To create a virtual machine based on the C4A instance type:
3232
- For the license type, choose **Pay as you go**.
3333
- Increase **Size (GB)** from **10** to **100** to allocate sufficient disk space.
3434
- Select **Choose** to apply the changes.
35+
- Expand the **Networking** section and enter `allow-ray-ports` in the **Network tags** field. This tag links the VM to the firewall rule you created earlier, enabling external access to the Ray Dashboard and Serve API ports.
3536
- Select **Create** to launch the virtual machine.
3637

3738
After the instance starts, select **SSH** next to the VM in the instance list to open a browser-based terminal session.
3839

39-
![Google Cloud Console VM instances page displaying running instance with green checkmark and SSH button in the Connect column alt-txt#center](images/gcp-pubip-ssh.png "Connecting to a running C4A VM using SSH")
40+
![Google Cloud Console VM instances page showing the running C4A instance with a green status checkmark and the SSH button highlighted in the Connect column#center](images/gcp-pubip-ssh.png "Connecting to a running C4A VM using SSH")
4041

4142
A new browser window opens with a terminal connected to your VM.
4243

content/learning-paths/servers-and-cloud-computing/ray-on-axion/setup_and_cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Install common ML libraries:
7373
pip install torch torchvision pandas scikit-learn
7474
```
7575

76-
## Verify installation:
76+
## Verify the installation
7777

7878
Check that Ray is installed correctly:
7979

content/learning-paths/servers-and-cloud-computing/ray-on-axion/tuning_serving_benchmark.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Ray Tune, Serve and Benchmarking
2+
title: Ray Tune, Serve, and Benchmarking
33
weight: 7
44

55
### FIXED, DO NOT MODIFY
@@ -193,7 +193,7 @@ ray start --head --num-cpus=4
193193
python3 ray_benchmark.py
194194
```
195195

196-
Output:
196+
The output is similar to:
197197

198198
```output
199199
Execution Time: 5.171869277954102

0 commit comments

Comments
 (0)