Vertex AI Experiments は、Agent Platform SDK for Python とGoogle Cloud コンソールでサポートされています。Vertex AI Experiments では Vertex ML Metadata が必要であり、それに依存しています。
設定
- Google Cloud アカウントにログインします。 Google Cloudを初めて使用する場合は、 アカウントを作成して、実際のシナリオでの Google プロダクトのパフォーマンスを評価してください。新規のお客様には、ワークロードの実行、テスト、デプロイができる無料クレジット $300 分を差し上げます。
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
Enable the required API.
Roles required to enable APIs
To enable APIs, you need the
serviceusage.services.enablepermission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that billing is enabled for your Google Cloud project.
Enable the required API.
Roles required to enable APIs
To enable APIs, you need the
serviceusage.services.enablepermission. If you created the project, then you likely already have this permission through the Owner role (roles/owner). Otherwise, you can get this permission through the Service Usage Admin role (roles/serviceusage.serviceUsageAdmin). Learn how to grant roles.- サービス アカウントを作成します。必要な権限を持つサービス アカウントを作成するをご覧ください。
- Agent Platform SDK for Python をインストールします。
- プロジェクトに
defaultメタデータ ストアが存在するかどうかを確認します。(必須)- プロジェクトに
defaultメタデータ ストアがあるかどうかを確認するには、 Google Cloud コンソールのMetadataページに移動します。 defaultメタデータ ストアが存在しない場合は、- 最初の PipelineJob を実行するときに作成されるか、
- または、Agent Platform SDK for Python で最初のテストを作成するときに作成されます。
省略可: CMEK を使用して構成するには、プロジェクトのメタデータ ストアを構成するをご覧ください。
- プロジェクトに
サポートされているロケーション
機能の提供状況の表には、Vertex AI Experiments で使用できるロケーションが一覧表示されます。Agent Platform Pipelines または Vertex AI TensorBoard を使用する場合は、Agent Platform のテストと同じロケーションに存在する必要があります。