Ray on Vertex AI notebook tutorials

This document contains a list of available Ray on Vertex AI notebook tutorials. These end-to-end tutorials help you get started using Ray on Vertex AI and can give you ideas for how to implement a specific project.

There are many environments in which you can host notebooks. You can:

  • Run them in the cloud using a service like Colaboratory (Colab) or Vertex AI Workbench.
  • Download them from GitHub and run them on your local machine.
  • Download them from GitHub and run them on a Jupyter or JupyterLab server in your local network.

Running a notebook in Colab is a way to get started quickly.

To open a notebook tutorial in Colab, click the Colab link in the notebook list. Colab creates a VM instance with all needed dependencies, launches the Colab environment, and loads the notebook.

You can also run the notebook using user-managed notebooks. When you create a user-managed notebooks instance with Vertex AI Workbench, you have full control over the hosting VM. You can specify the configuration and environment of the hosting VM.

To open a notebook tutorial in a Vertex AI Workbench instance:

  1. Click the Vertex AI Workbench link in the notebook list. The link opens the Vertex AI Workbench console.
  2. In the Deploy to notebook screen, type a name for your new Vertex AI Workbench instance and click Create.
  3. In the Ready to open notebook dialog that appears after the instance starts, click Open.
  4. On the Confirm deployment to notebook server page, select Confirm.
  5. Before running the notebook, select Kernel > Restart Kernel and Clear all Outputs.

List of notebooks

  • Select a service
  • AutoML
  • BigQuery
  • BigQuery ML
  • Custom training
  • Image
  • Ray on Vertex AI
  • Tabular
  • Text
  • Vector Search
  • Vertex AI Experiments
  • Vertex AI Feature Store
  • Vertex AI model evaluation
  • Vertex AI Model Monitoring
  • Vertex AI Model Registry
  • Vertex AI Pipelines
  • Vertex AI Prediction
  • Vertex AI TensorBoard
  • Vertex AI Vizier
  • Vertex AI Workbench
  • Vertex Explainable AI
  • Vertex ML Metadata
  • Video

Services Description Open in
Ray on Vertex AI overview
Get started with PyTorch on Ray on Vertex AI.
Learn how to efficiently distribute the training process of a PyTorch image classification model by leveraging Ray on Vertex AI. Learn more about Ray on Vertex AI overview.
  • Prepare the training script
  • Submit a Ray job using the Ray Jobs API
  • Download a trained image model from PyTorch
  • Create a custom model handler
  • Package model artifacts in a model archive file
  • Register model in Vertex AI Model Registry
  • Deploy model in Vertex AI Endpoint
  • Make online predictions
Colab
Colab Enterprise
GitHub
Vertex AI Workbench
Ray on Vertex AI overview
Ray on Vertex AI cluster management.
Learn how to create a cluster, list existing clusters, get a cluster, update a cluster, and delete a cluster. Learn more about Ray on Vertex AI overview.
  • Create a cluster.
  • List existing clusters.
  • Get a cluster.
  • Manually scale up the cluster, then scale down the cluster.
  • Autoscaling a cluster.
  • Delete existing clusters.
Colab
Colab Enterprise
GitHub
Vertex AI Workbench
Ray on Vertex AI
Spark on Ray on Vertex AI
Spark on Ray on Vertex AI.
Learn how to use RayDP to run Spark applications on a Ray cluster on Vertex AI. Learn more about Ray on Vertex AI. Learn more about Spark on Ray on Vertex AI.
  • Create custom Ray on Vertex AI container image
  • Create a Ray cluster on Vertex AI using custom container image
  • Run Spark interactively on the cluster using RayDP
  • Run Spark application on cluster via Ray Job API
  • Read files from Google Cloud Storage in Spark application
  • Pandas UDF in Spark application on Ray on Vertex AI
  • Delete the Ray cluster on Vertex AI
Colab
Colab Enterprise
GitHub
Vertex AI Workbench