Calling it an alternative to SageMaker might be a bit misleading, as SageMaker is also a platform for training the models in automatically allocated EC2 resources, even on spot instances.
Cortex: Deploy machine learning models in production
11–20 of 29 posts
Re: Cortex: Deploy machine learning models in production
#12Re: Cortex: Deploy machine learning models in production
#13Re: Cortex: Deploy machine learning models in production
#14Seems to work with: Pytorch, TensorFlow, Keras, XGBoost, sklearn
Re: Cortex: Deploy machine learning models in production
#15Re: Cortex: Deploy machine learning models in production
#16How does this work under the hood? Is the model loaded every time it receives a request? Is it run in a docker or a lambda? How does it work after "uploading it" to amazon?
Re: Cortex: Deploy machine learning models in production
#17How does this work under the hood? Is the model loaded every time it receives a request? Is it run in a docker or a lambda? How does it work after "uploading it" to amazon?
Each model is loaded into a Docker container, along with any Python packages and request handling code. The cluster runs on EKS on your AWS account. Cortex takes the declarative configuration from 'cortex.yaml' and creates it every time you run 'cortex deploy' so the containers don’t change unless you run 'cortex deploy' again with updated configuration. This post goes into more detail about some of our design decisi…
Re: Cortex: Deploy machine learning models in production
#18When I've tested, it's up to 10x faster than Flask + serialised model object and uses far less CPU resources.
Plays nicely with lightgbm and Xgboost.
Re: Cortex: Deploy machine learning models in production
#19Seems to work with: Pytorch, TensorFlow, Keras, XGBoost, sklearn
Yes, Cortex uses ONNX Runtime ( https://github.com/microsoft/onnxruntime ) under the hood so any model that can be exported to ONNX can be deployed.
Re: Cortex: Deploy machine learning models in production
#20Looks like I am going to have to scrap that entire project now, seems pointless to keep working on it given how similar this is.