Vertex AI job operators in deferrable mode assume job uses Managed Model #40476
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
10.18.0
Apache Airflow version
2.8.4
Operating System
Linux
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
What happened
When using the CreateCustomContainerTrainingJobOperator without exporting a managed model, the operator failed when fetching the result with the following error:
On further exploration, this seems to be because the
execute_complete
function assumes the model parameter is returned. Theexecute
function actually checks if a model is returned or not.What you think should happen instead
Wether the operator is deferrable mode or not, it should check if a model is exported or not
How to reproduce
In order to reproduce:
Anything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: