-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathClient.txt
More file actions
199 lines (169 loc) · 9.58 KB
/
Copy pathClient.txt
File metadata and controls
199 lines (169 loc) · 9.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
C:\Users\SC-MLIDS>python client.py
Enter Client ID (int): 1
------------------------------------Client 1------------------------------------
[codecarbon WARNING @ 11:30:56] Multiple instances of codecarbon are allowed to run at the same time.
[codecarbon INFO @ 11:30:56] [setup] RAM Tracking...
[codecarbon INFO @ 11:30:56] [setup] CPU Tracking...
[codecarbon WARNING @ 11:30:58] We saw that you have a 13th Gen Intel(R) Core(TM) i9-13900H but we don't know it. Please contact us.
[codecarbon WARNING @ 11:30:58] No CPU tracking mode found. Falling back on estimation based on TDP for CPU.
Windows OS detected: Please install Intel Power Gadget to measure CPU
[codecarbon INFO @ 11:30:58] CPU Model on constant consumption mode: 13th Gen Intel(R) Core(TM) i9-13900H
[codecarbon WARNING @ 11:30:58] No CPU tracking mode found. Falling back on CPU constant mode.
[codecarbon INFO @ 11:30:58] [setup] GPU Tracking...
[codecarbon INFO @ 11:30:58] Tracking Nvidia GPU via pynvml
[codecarbon INFO @ 11:30:58] The below tracking methods have been set up:
RAM Tracking Method: RAM power estimation model
CPU Tracking Method: global constant
GPU Tracking Method: pynvml
[codecarbon INFO @ 11:30:58] >>> Tracker's metadata:
[codecarbon INFO @ 11:30:58] Platform system: Windows-10-10.0.26100-SP0
[codecarbon INFO @ 11:30:58] Python version: 3.10.11
[codecarbon INFO @ 11:30:58] CodeCarbon version: 3.0.0
[codecarbon INFO @ 11:30:58] Available RAM : 31.730 GB
[codecarbon INFO @ 11:30:58] CPU count: 20 thread(s) in 20 physical CPU(s)
[codecarbon INFO @ 11:30:58] CPU model: 13th Gen Intel(R) Core(TM) i9-13900H
[codecarbon INFO @ 11:30:58] GPU count: 1
[codecarbon INFO @ 11:30:58] GPU model: 1 x NVIDIA GeForce RTX 4060 Laptop GPU
Start - CPU Usage: 2.2%
Start - Memory Usage: 42.6%
Loading sensor data and training local model...
Label distribution: {0: 32858, 1: 21392}
Client 1 model trained in 3.9135s.
Client 1 model saved to: ./client_models\client_1.joblib
Client 1 model encryption information:
Key: b'dneuypySLr_J--T5uZD_01DdBWqRtAYKgUZI-qUWY64='
Seed: 0.60567742
Salt: b'5{\xab\x9eD\x1e=\xe3\xe4\xafR\x0f\xbb\x0b&\xff'
Model file size: 19.4693MB
Model file encrypted, file size: 25.9592MB, time spent: 0.0986s.
Model file compressed, file size: 19.6650MB, time spent: 0.6933s.
Compression ratio: 0.99x
Client 1 has connected to the server at 127.0.0.1:8080.
Model file has been sent from Client 1, file size: 19.6650MB, time spent: 2.2614s.
[codecarbon INFO @ 11:31:08] Energy consumed for RAM : 0.000049 kWh. RAM Power : 20.0 W
[codecarbon INFO @ 11:31:08] Delta energy consumed for CPU with constant : 0.000104 kWh, power : 42.5 W
[codecarbon INFO @ 11:31:08] Energy consumed for All CPU : 0.000104 kWh
[codecarbon INFO @ 11:31:08] Energy consumed for all GPUs : 0.000009 kWh. Total GPU Power : 3.7565004670396966 W
[codecarbon INFO @ 11:31:08] 0.000163 kWh of electricity used since the beginning.
*****************************
Resource Usage:
Execution Time: 9.197078s
Energy Consumed: 0.000163kWh
CO₂ Emission: 0.000111kg
End - CPU Usage: 8.7%
End - Memory Usage: 43.0%
*****************************
-------------------------------Client 1 Completed-------------------------------
C:\Users\SC-MLIDS>python client.py
Enter Client ID (int): 2
------------------------------------Client 2------------------------------------
[codecarbon WARNING @ 11:31:14] Multiple instances of codecarbon are allowed to run at the same time.
[codecarbon INFO @ 11:31:14] [setup] RAM Tracking...
[codecarbon INFO @ 11:31:14] [setup] CPU Tracking...
[codecarbon WARNING @ 11:31:16] We saw that you have a 13th Gen Intel(R) Core(TM) i9-13900H but we don't know it. Please contact us.
[codecarbon WARNING @ 11:31:16] No CPU tracking mode found. Falling back on estimation based on TDP for CPU.
Windows OS detected: Please install Intel Power Gadget to measure CPU
[codecarbon INFO @ 11:31:16] CPU Model on constant consumption mode: 13th Gen Intel(R) Core(TM) i9-13900H
[codecarbon WARNING @ 11:31:16] No CPU tracking mode found. Falling back on CPU constant mode.
[codecarbon INFO @ 11:31:16] [setup] GPU Tracking...
[codecarbon INFO @ 11:31:16] Tracking Nvidia GPU via pynvml
[codecarbon INFO @ 11:31:16] The below tracking methods have been set up:
RAM Tracking Method: RAM power estimation model
CPU Tracking Method: global constant
GPU Tracking Method: pynvml
[codecarbon INFO @ 11:31:16] >>> Tracker's metadata:
[codecarbon INFO @ 11:31:16] Platform system: Windows-10-10.0.26100-SP0
[codecarbon INFO @ 11:31:16] Python version: 3.10.11
[codecarbon INFO @ 11:31:16] CodeCarbon version: 3.0.0
[codecarbon INFO @ 11:31:16] Available RAM : 31.730 GB
[codecarbon INFO @ 11:31:16] CPU count: 20 thread(s) in 20 physical CPU(s)
[codecarbon INFO @ 11:31:16] CPU model: 13th Gen Intel(R) Core(TM) i9-13900H
[codecarbon INFO @ 11:31:16] GPU count: 1
[codecarbon INFO @ 11:31:16] GPU model: 1 x NVIDIA GeForce RTX 4060 Laptop GPU
Start - CPU Usage: 2.5%
Start - Memory Usage: 42.6%
Loading sensor data and training local model...
Label distribution: {0: 33057, 1: 21193}
Client 2 model trained in 4.0073s.
Client 2 model saved to: ./client_models\client_2.joblib
Client 2 model encryption information:
Key: b'Dg28iwERmtg0k2JiC-donrc_PqIJy70SWQKrFUbI2tY='
Seed: 0.60934562
Salt: b'\xb5\xc5\xdb\xe9W+\x8e\xa8\x05(\xba\xd5\x87\xfa4\xb3'
Model file size: 19.4288MB
Model file encrypted, file size: 25.9052MB, time spent: 0.0960s.
Model file compressed, file size: 19.6237MB, time spent: 0.7543s.
Compression ratio: 0.99x
Client 2 has connected to the server at 127.0.0.1:8080.
Model file has been sent from Client 2, file size: 19.6237MB, time spent: 2.1882s.
[codecarbon INFO @ 11:31:26] Energy consumed for RAM : 0.000052 kWh. RAM Power : 20.0 W
[codecarbon INFO @ 11:31:26] Delta energy consumed for CPU with constant : 0.000110 kWh, power : 42.5 W
[codecarbon INFO @ 11:31:26] Energy consumed for All CPU : 0.000110 kWh
[codecarbon INFO @ 11:31:27] Energy consumed for all GPUs : 0.000016 kWh. Total GPU Power : 6.105376094198621 W
[codecarbon INFO @ 11:31:27] 0.000177 kWh of electricity used since the beginning.
*****************************
Resource Usage:
Execution Time: 9.291432s
Energy Consumed: 0.000177kWh
CO₂ Emission: 0.000121kg
End - CPU Usage: 2.8%
End - Memory Usage: 43.0%
*****************************
-------------------------------Client 2 Completed-------------------------------
C:\Users\SC-MLIDS>python client.py
Enter Client ID (int): 3
------------------------------------Client 3------------------------------------
[codecarbon WARNING @ 11:31:32] Multiple instances of codecarbon are allowed to run at the same time.
[codecarbon INFO @ 11:31:32] [setup] RAM Tracking...
[codecarbon INFO @ 11:31:32] [setup] CPU Tracking...
[codecarbon WARNING @ 11:31:34] We saw that you have a 13th Gen Intel(R) Core(TM) i9-13900H but we don't know it. Please contact us.
[codecarbon WARNING @ 11:31:34] No CPU tracking mode found. Falling back on estimation based on TDP for CPU.
Windows OS detected: Please install Intel Power Gadget to measure CPU
[codecarbon INFO @ 11:31:34] CPU Model on constant consumption mode: 13th Gen Intel(R) Core(TM) i9-13900H
[codecarbon WARNING @ 11:31:34] No CPU tracking mode found. Falling back on CPU constant mode.
[codecarbon INFO @ 11:31:34] [setup] GPU Tracking...
[codecarbon INFO @ 11:31:34] Tracking Nvidia GPU via pynvml
[codecarbon INFO @ 11:31:34] The below tracking methods have been set up:
RAM Tracking Method: RAM power estimation model
CPU Tracking Method: global constant
GPU Tracking Method: pynvml
[codecarbon INFO @ 11:31:34] >>> Tracker's metadata:
[codecarbon INFO @ 11:31:34] Platform system: Windows-10-10.0.26100-SP0
[codecarbon INFO @ 11:31:34] Python version: 3.10.11
[codecarbon INFO @ 11:31:34] CodeCarbon version: 3.0.0
[codecarbon INFO @ 11:31:34] Available RAM : 31.730 GB
[codecarbon INFO @ 11:31:34] CPU count: 20 thread(s) in 20 physical CPU(s)
[codecarbon INFO @ 11:31:34] CPU model: 13th Gen Intel(R) Core(TM) i9-13900H
[codecarbon INFO @ 11:31:34] GPU count: 1
[codecarbon INFO @ 11:31:34] GPU model: 1 x NVIDIA GeForce RTX 4060 Laptop GPU
Start - CPU Usage: 3.6%
Start - Memory Usage: 42.6%
Loading sensor data and training local model...
Label distribution: {0: 32914, 1: 21336}
Client 3 model trained in 4.0460s.
Client 3 model saved to: ./client_models\client_3.joblib
Client 3 model encryption information:
Key: b'feCqxq9kHoGc4ohCH1xRrr_HSV9T4OCZRdYEmNVRarU='
Seed: 0.60670968
Salt: b'b(SC\xe0O\xc1\x8a\xb1\xf6\xabF\xfe\xa9\x8f3'
Model file size: 19.6244MB
Model file encrypted, file size: 26.1660MB, time spent: 0.1049s.
Model file compressed, file size: 19.8214MB, time spent: 0.6940s.
Compression ratio: 0.99x
Client 3 has connected to the server at 127.0.0.1:8080.
Model file has been sent from Client 3, file size: 19.8214MB, time spent: 2.2486s.
[codecarbon INFO @ 11:31:44] Energy consumed for RAM : 0.000052 kWh. RAM Power : 20.0 W
[codecarbon INFO @ 11:31:44] Delta energy consumed for CPU with constant : 0.000110 kWh, power : 42.5 W
[codecarbon INFO @ 11:31:44] Energy consumed for All CPU : 0.000110 kWh
[codecarbon INFO @ 11:31:45] Energy consumed for all GPUs : 0.000016 kWh. Total GPU Power : 6.088769933476775 W
[codecarbon INFO @ 11:31:45] 0.000178 kWh of electricity used since the beginning.
*****************************
Resource Usage:
Execution Time: 9.353148s
Energy Consumed: 0.000178kWh
CO₂ Emission: 0.000121kg
End - CPU Usage: 9.2%
End - Memory Usage: 43.3%
*****************************
-------------------------------Client 3 Completed-------------------------------
C:\Users\SC-MLIDS>