Files
zeekay 9546c92611 Replace placeholders with real working examples
ML examples:
- credit_scoring: Credit risk prediction with HMEQ data
- disease_prediction: Healthcare ML on encrypted records
- cifar: Encrypted image classification
- federated_learning: Distributed FHE training
- hybrid_model: Mixed FHE/plaintext inference

Deployment:
- breast_cancer: Cancer detection API
- sentiment_analysis: Encrypted NLP
- server: FHE inference server

Blockchain:
- hardhat-template: Solidity + FHE
- react-template: Full dApp with FHE
2026-01-25 20:46:26 -08:00

14 lines
457 B
Bash

#!/bin/bash
uname_str=$(uname)
echo "${uname_str}"
if [[ $uname_str != "Darwin" ]]; then
echo "Not Darwin"
# tune the cpu-list according to the resources you want to allocate to it
taskset --cpu-list 0-12 python serve_model.py --port 8000 --path-to-models ./compiled_models
# No-limit
# PATH_TO_MODELS="compiled_models" PORT=8000 python serve_model.py
else
echo "Darwin"
python serve_model.py --port 8000 --path-to-models ./compiled_models
fi