I use
gcloud ai models upload
to create a model from a custom docker image. But I do not see a way to create a new version of that model in command line? Only with UI console.
Is the feature missing or am I missing something?
I use
gcloud ai models upload
to create a model from a custom docker image. But I do not see a way to create a new version of that model in command line? Only with UI console.
Is the feature missing or am I missing something?
Good day @Zall ,
Welcome to Google Cloud Community!
You need to specify the flag –parent model if you want to create a new version of that specific model, --parent-model=, If you also want to specify a version description of that model you can use `--version-description`=. You can check this link for more information: https://cloud.google.com/sdk/gcloud/reference/ai/models/upload
Hope this helps!
Specifying the parent model ID will upload it as a new version for that model. You may hit some snags in specifying which model is the default though, since there aren’t specific alias managing functions in gcloud as far as I know.