This page provides a brief overview of Vertex AI Workbench user-managed notebooks instances and describes how to get started using TensorFlow Enterprise in a user-managed notebooks instance.
In this example, you create a TensorFlow Enterprise user-managed notebooks instance, open a JupyterLab notebook, and run a classification tutorial on using neural networks with Keras.
Overview of Vertex AI Workbench user-managed notebooks instances
Vertex AI Workbench user-managed notebooks instances let you create and manage deep learning virtual machine (VM) instances that are prepackaged with JupyterLab.
User-managed notebooks instances have a preinstalled suite of deep learning packages, including support for the TensorFlow and PyTorch frameworks. You can configure either CPU-only or GPU-enabled instances.
Your user-managed notebooks instances are protected by Google Cloud authentication and authorization and are available by using a user-managed notebooks instance URL. User-managed notebooks instances also integrate with GitHub and can sync with a GitHub repository.
Before you begin
Before you can create a user-managed notebooks instance, you must have a Google Cloud project and enable the Notebooks API for that project.- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Notebooks API.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the Notebooks API.
Create a user-managed notebooks instance
To create a default TensorFlow Enterprise 2.6 user-managed notebooks instance, complete the following steps. To specify properties for your instance, see Create a user-managed notebooks instance with specific properties or go to notebook.new to go directly to the Advanced options instance creation dialog box.
In the Google Cloud console, go to the User-managed notebooks page.
Click
New notebook.Select TensorFlow Enterprise 2.6, and then select Without GPUs .
Click Create.
Vertex AI Workbench automatically starts the instance. When the instance is ready to use, Vertex AI Workbench activates an Open JupyterLab link.
Open the notebook
To open a user-managed notebooks instance, complete the following steps:In the Google Cloud console, next to your user-managed notebooks instance's name, click Open JupyterLab.
Your user-managed notebooks instance opens JupyterLab.
Run a classification tutorial in your notebook instance
Complete these steps to try out your new notebook by running a classification tutorial:
In the JupyterLab
File Browser, double-click the tutorials folder to open it, and navigate to and open tutorials/keras/basic_classification.ipynb.To run cells of the tutorial, click the
run button.
What's next
- Learn more about Vertex AI Workbench.
- Get started using TensorFlow Enterprise with Deep Learning VM.
- Get started using TensorFlow Enterprise with Deep Learning Containers.