LLM optimization integration for Amazon SageMaker Python SDK
AI:The SageMaker Python SDK v3 (3.17.0+) lets you benchmark an endpoint, get ranked deployment recommendations for generative AI models, and deploy the top configuration from a notebook.
This blog has previously discussed FHE for ML inference in the post Enable fully homomorphic encryption with Amazon SageMaker endpoints for secure, real-time inferencing, but this post goes a little further. That previous post showed how to implement FHE-based inference ‘from scratch’ by hand-crafting a linear-regression algorithm using a low-level library called SEAL. Instead, this post shows a much more flexible and higher-level approach based on concrete-ml, a high-level library built…
Read the original (opens the source's page in a new tab)
Shows how to train a concrete-ml FHE model in SageMaker AI, deploy it to an async endpoint, and query it with a client that encrypts and decrypts data so the cloud never sees plaintext.
Architects and developers who must run ML inference on sensitive data in SageMaker AI without exposing plaintext to the cloud.