This folder contains examples of how to deploy Concrete ML models using Fully Homomorphic Encryption (FHE). These examples demonstrate the process of training, compiling, and deploying models for various use cases.
The deployment process generally follows these steps:
- Train the model (optional, depending on the use case)
- Compile the model to an FHE circuit
- Deploy the model using Docker
- Run inference using a client (locally or in Docker)
We provide three different use cases to demonstrate the deployment process:
Each example folder contains its own README with specific instructions. However, the general process is similar:
- Train or compile the model using the provided scripts
- Deploy the model using
deploy_to_docker.py
from theserver
folder - Build the client Docker image
- Run the client to interact with the deployed model
For detailed instructions, please refer to the README in each example folder.
- Docker
- Python 3.8 or later
- Concrete ML library installed