mirror of
https://github.com/luxfhe/workshop.git
synced 2026-10-30 17:06:44 +00:00
Deployment
In this folder we explain how to deploy Torus ML models. We show-case how to do this on 3 examples:
- Breast cancer classification using a simple XGBoost model
- Sentiment analysis by running a XGBoost model on top of a Transformer model
- CIFAR-10 classification using a VGG model.
You can run these example locally using Docker.
For all of them the workflow is the same:
- Optional: Train the model
- Compile the model to an FHE circuit
- Deploy to Docker or localhost
- Run the inference using the client (locally or in Docker)
The script to deploy the model compiled to an FHE circuit is the same for all. The main difference between them is the client. Each use-case needs its own client.