Vertex AI Experiments è supportato dall'SDK Agent Platform per Python e dalla consoleCloud de Confiance . Vertex AI Experiments richiede e dipende da Vertex ML Metadata.
Configura
-
In the Cloud de Confiance console, on the project selector page, select or create a Cloud de Confiance 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 Cloud de Confiance project.
Enable the required API, if it is not already enabled.
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.- Crea un service account. Consulta Creare un account di servizio con le autorizzazioni richieste.
- Installa l'SDK Agent Platform per Python.
- Verifica l'esistenza dell'archivio dei metadati
defaultnel tuo progetto. (obbligatorio)- Per verificare se il tuo progetto dispone di
defaultMetadata Store, vai alla paginaMetadatanella console Cloud de Confiance . - Se l'archivio di metadati
defaultnon esiste, viene creato quando- esegui il primo PipelineJob,
- oppure crea il tuo primo esperimento nell'SDK Agent Platform per Python.
(Facoltativo) Per la configurazione con CMEK, consulta Configurazione dell'archivio dei metadati del progetto.
- Per verificare se il tuo progetto dispone di
Località supportate
La tabella Disponibilità delle funzionalità elenca le località disponibili per Vertex AI Experiments. Quando utilizzi le pipeline di Agent Platform o Vertex AI TensorBoard, devono trovarsi nella stessa località dell'esperimento di Agent Platform.