Skip to content
Snippets Groups Projects
Commit 8b7515c0 authored by huongdm1896's avatar huongdm1896
Browse files

GPU correct

parent ec5b5e41
Branches
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ Configure instances of experiment in a json format, structure is shown below.
python3 get_freq.py
```
- Update extraced frequencies value to configure files.
- Structure of json config:
- Structure of json config: (remark: role "modules": ["logger"] is supported by the Flower_v1 example provided in this repo to easily log FL performance values. For your FL framework just leave it blank: "modules":[]).
```json
{
"instances": {
......@@ -152,7 +152,7 @@ Configure instances of experiment in a json format, structure is shown below.
Choose only one in 3 settings:
- `dummy`: for testing in min and max GPU freq (`false` or `true`).
- `baseline`: for testing in max GPU freq (`false` or `true`).
- last setting includes 3 parameters: test with the all freqs in the range. To disable this setting, set the `zoomfrom` and `zoomto` are same values.
- last setting is `frequencies`, includes 3 parameters: test with the all freqs in the range. To disable this setting, set the `zoomfrom` and `zoomto` are same values.
- `steps`: steps to jump in range/window of frequencies (int).
- `zoomfrom`: freq start
- `zoomto`: freq stop
......@@ -272,6 +272,7 @@ Log/Flower_SingleTest
│ ├── Expetator_<host_info>_<timestamp>: measurement log
│ ├── Flwr_<timestamp>: Flower log
│ │ ├── Client_<ip>
│ │ ├── Client_<ip>
│ │ ├── Server_<ip>
│ │ ├── training_results_<instance_name>_<time>.csv
│ ├── Flwr_<timestamp>
......@@ -279,12 +280,15 @@ Log/Flower_SingleTest
│ │ ├── Server_<ip>
...
```
Output dir structure for demo campaign, includes 2 folders for 2 instances:
Output dir structure for demo campaign, includes 4 folders for 4 instances:
```plaintext
Log/Flower_CampaignTest
├── Flower_instance_Flower_instance_fedAvg_cifar10
├── Flower_instance_Flower_instance_fedAvg2Clients_cifar10
├── Flower_instance_fedAvg_cifar10_epoch1
├── Flower_instance_fedAvg_cifar10_epoch2
├── Flower_instance_fedAvg2Clients_cifar10_epoch1
├── Flower_instance_fedAvg2Clients_cifar10_epoch2
...
```
### Step 6. Clean Up
......
......@@ -18,6 +18,7 @@
"-s fedAvg"
],
"ip": "172.16.66.76",
"modules": ["logger"],
"port": 8080
},
"clients": [
......@@ -74,6 +75,7 @@
"-s fedAvg2Clients"
],
"ip": "172.16.66.76",
"modules": ["logger"],
"port": 8080
},
"clients": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment