Get startedGet started for free

Summary

1. Summary

Lak: In this module, we showed you two technologies-- Kubeflow and TensorFlow Lite-- that are important in hybrid machine learning systems. Kubeflow gives you composability, portability, and scalability, while preserving the ability to run everywhere. Specifically, Kubeflow offers portability and composability between your on-premises environment and Cloud ML Engine. The tradeoff is that Kubeflow is not serverless. You will have to do cluster management. Still, retaining the ability to move to cloud and serverless at some point in the future, all for some fraction of your workload, provides flexibility. The presence of Kubeflow also limits lock-in. You can always take your models off Google Cloud and you have a way to continue training and serving those models. TensorFlow Lite makes specific compromises to enable machine learning inference on low-power or under-resourced devices. For example, you can convert variable nodes into constant nodes, which streamlines your model because constant nodes are embedded in the graph itself. However, you sacrifice maintainability and portability since you cannot resume training from that model graph. Another compromise you might make is to use a less-accurate model on the device. Perhaps you quantize the nodes, or you use a smaller model. Of course, we hope that you choose to train and serve machine learning models on Google Cloud, so you don't have to make these compromises, or manage all this infrastructure, or train on low-power devices. But if business and real-world considerations require you to be able to train or serve machine learning models outside a cloud environment, it's good to know that you have these options. So Kubeflow and TensorFlow Lite are good to know about to have in your back pocket when such situations arise.

2. Let's practice!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.