mirror of
https://github.com/luxfhe/ml-sdk.git
synced 2026-10-30 18:13:04 +00:00
Machine Learning with FHE - fork of Zama Concrete-ML - Built-in FHE-friendly ML models - scikit-learn compatible API - PyTorch model conversion - Quantization-aware training
16 lines
398 B
Bash
Executable File
16 lines
398 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Starting server"
|
|
python federated_server.py &
|
|
sleep 10 # Sleep for 3s to give the server enough time to start
|
|
|
|
for i in $(seq 0 1); do
|
|
echo "Starting client $i"
|
|
python federated_client.py &
|
|
done
|
|
|
|
# This will allow you to use CTRL+C to stop all background processes
|
|
trap 'trap - SIGTERM && kill -- -$$' SIGINT SIGTERM
|
|
# Wait for all background processes to complete
|
|
wait
|