Vertex AI - model versioning doesn't work with CreateAutoMLTextTrainingJobOperator #37400
Closed
1 of 2 tasks
Labels
area:providers
good first issue
kind:bug
This is a clearly a bug
provider:google
Google (including GCP) related issues
Apache Airflow Provider(s)
google
Versions of Apache Airflow Providers
apache-airflow-providers-google==10.12.0
Apache Airflow version
2.6.3
Operating System
Ubuntu 22.04.3 LTS
Deployment
Docker-Compose
Deployment details
No response
What happened
When creating AutoML Text Training jobs using
CreateAutoMLTextTrainingJobOperator
and providing the resource name or model ID of an existing model to theparent_model
parameter, an entirely new model withVersion 1
shows up in Vertex AI Model Registry.What you think should happen instead
Since we provided an argument to
parent_model
, the model uploaded by the job should be a version of the existing parent model.How to reproduce
If your model registry already has an existing model to use as the parent model, skip to step 3. Otherwise:
parent_model=initial_model_resource_name
Anything else
This problem only occurs when using the
CreateAutoMLTextTrainingJobOperator
, and not with the Vertex AI SDK for Python. For example, we were able to implement model versioning successfully using something like:google-cloud-aiplatform==1.41.0
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: