Example Projects
On this page
Here a collection of examples that you can already use to experiment with FLOps.
Handwritten Digits
For the handwritten digits recognition task, we provide 4 different examples based on the mnist training dataset.
For the training, you can use the default mock data provider.
curl -sSl https://oakestra.io/FLOps_SLAs/mocks/mnist_multi.json > mnist_multi.json
oak addon flops mock-data mnist_multi.jsonDo you want to injest your own data?
FLOps uses Arrow Flight for data ingestion. Each Learner Node uses a Arrow Flight server and client combination. Check out here how this works.
Core differences between these examples
| Name | mode | rounds | clients | cycles | post_training | arch |
|---|---|---|---|---|---|---|
| Small | classic | 3 | 2 | N/A | build & deploy trained model | amd64 |
| Large | classic | 10 | 4 | N/A | build & deploy trained model | amd64 |
| Hierarchical S | hierarchical | 3 | 2 | 2 | build & deploy trained model | amd64 |
| Hierarchical L | hierarchical | 5 | 3 | 10 | build & deploy trained model | amd64 |
Check out FLOps SLA configuration page to learn how to customize your project.
Object Recognition
For a simple FL object recognition example, here you can find an example based on the cifar10 dataset.
For the training, you can use the default mock data provider for this example.
curl -sSl https://oakestra.io/FLOps_SLAs/mocks/cifar10_simple.json > cifar10_simple.json
oak addon flops mock-data cifar10_simple.jsonDo you want to injest your own data?
FLOps uses Arrow Flight for data ingestion. Each Learner Node uses a Arrow Flight server and client combination. Check out here how this works.
Then, you can download the SLA for this example running
curl -sSl https://oakestra.io/FLOps_SLAs/projects/cifar10_pytorch.json > cifar10_pytorch.jsonand finally you can run the project using
oak addon flops p cifar10_pytorch.jsonHere a summary of the settings for this default SLA
Standard Example Configuration
| Name | mode | flavor | rounds | clients | post_training | arch | |
|---|---|---|---|---|---|---|---|
| cifar10_pytorch | classic | pyTorch | 3 | 2 | build & deploy trained model | amd64 |
Check out FLOps SLA configuration page to learn how to customize your project.
