Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings


View source on GitHub

Deploys a model for serving with AI Platform.

    serving_path, model_version, ai_platform_serving_args, executor_class_path


  • serving_path: The path to the model. Must be a GCS URI.
  • model_version: Version of the model being deployed. Must be different from what is currently being served.
  • ai_platform_serving_args: Dictionary containing arguments for pushing to AI Platform. For the full set of parameters supported, refer to https://cloud.google.com/ml-engine/reference/rest/v1/projects.models.versions#Version
  • executor_class_path: class path for TFX core default trainer.


  • RuntimeError: if an error is encountered when trying to push.