课程: Google Cloud Professional Machine Learning Engineer Cert Prep
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
A Rust and PyTorch microservice walkthrough - Google Cloud Platform教程
课程: Google Cloud Professional Machine Learning Engineer Cert Prep
A Rust and PyTorch microservice walkthrough
- [Instructor] Here we have an architectural diagram of using a Pre-trained PyTorch Model with Rust. Let's talk through how some of the key advantages of rust combine along with pre-trained models to build out a very compelling story for MLOps. To start with, in this example we have Actix, which is a web microservice that at one point in time was ranked as the fastest in the world. So you could say effectively it's one of the fastest web services in the world. We also have the tch-rs or Rust bindings for PyTorch. These bindings are very complete and give you access to the underlying PyTorch C++ infrastructure. So you have really a low level interface to the the PyTorch Library. We also can interact with excellent pre-trained models for computer vision or natural language processing that are all ready to go with PyTorch. And some of the other things to consider for a production environment are logging, right. If you're…