每当我尝试使用 vertex-ai 管理的 Jupiter notebook 运行管道作业时,我都会遇到错误。
在这里,我通过在管道名称字符串中附加时间戳来确保每次都创建一个唯一的管道名称。例如,我的显示名称AutoML-Pipeline-DS-v4-1637251623
仍然像我收到的错误一样 Please check if pipelines with the same name were previously submitted to a different endpoint.
这里我google-cloud-aiplatform==1.4.3
用来运行管道作业。另外,我正在遵循 GCP 的这个例子。
com.google.cloud.ai.platform.common.errors.AiPlatformException: code=INVALID_ARGUMENT, message=User-specified resource ID must match the regular expression '[a-z0-9][a-z0-9-]{0,127}', cause=null; Failed to update context (id = projects/xxxx/locations/us-central1/metadataStores/default/contexts/AutoML-Pipeline-DS-v4-1637251623). Please check if pipelines with the same name were previously submitted to a different endpoint. If so, one may submit the current pipeline with a different name to avoid reusing the existing MLMD Context from the other endpoint.; Failed to update pipeline and run contexts: project_number=xxxx, job_id=xxxx.; Failed to handle the job: {project_number = xxxx, job_id = xxxx}