@@ -132,7 +132,7 @@ def test_throughput():
132
132
"lengths" : 8 ,
133
133
"device/batches_per_sec" : 2.0 ,
134
134
"device/samples_per_sec" : 4.0 ,
135
- "device/items_per_sec" : 16 .0 ,
135
+ "device/items_per_sec" : 8 .0 ,
136
136
}
137
137
138
138
with pytest .raises (ValueError , match = "Expected the value to increase" ):
@@ -149,7 +149,7 @@ def test_throughput():
149
149
"lengths" : 20 ,
150
150
"device/batches_per_sec" : 1.0 ,
151
151
"device/flops_per_sec" : 10.0 ,
152
- "device/items_per_sec" : 20 .0 ,
152
+ "device/items_per_sec" : 10 .0 ,
153
153
"device/mfu" : 0.2 ,
154
154
"device/samples_per_sec" : 2.0 ,
155
155
}
@@ -166,7 +166,7 @@ def test_throughput():
166
166
"lengths" : 20 ,
167
167
"device/batches_per_sec" : 1.0 ,
168
168
"device/flops_per_sec" : 10.0 ,
169
- "device/items_per_sec" : 20 .0 ,
169
+ "device/items_per_sec" : 10 .0 ,
170
170
"device/samples_per_sec" : 2.0 ,
171
171
}
172
172
@@ -215,7 +215,7 @@ def test_throughput_monitor():
215
215
"lengths" : 24 ,
216
216
"device|batches_per_sec" : 1.0 ,
217
217
"device|samples_per_sec" : 3.0 ,
218
- "device|items_per_sec" : 18 .0 ,
218
+ "device|items_per_sec" : 6 .0 ,
219
219
"device|flops_per_sec" : 10.0 ,
220
220
"device|mfu" : 0.1 ,
221
221
},
@@ -229,7 +229,7 @@ def test_throughput_monitor():
229
229
"lengths" : 30 ,
230
230
"device|batches_per_sec" : 1.0 ,
231
231
"device|samples_per_sec" : 3.0 ,
232
- "device|items_per_sec" : 18 .0 ,
232
+ "device|items_per_sec" : 6 .0 ,
233
233
"device|flops_per_sec" : 10.0 ,
234
234
"device|mfu" : 0.1 ,
235
235
},
@@ -285,7 +285,7 @@ def test_throughput_monitor_world_size():
285
285
"batches_per_sec" : 2.0 ,
286
286
"samples_per_sec" : 6.0 ,
287
287
"items_per_sec" : 12.0 ,
288
- "device/items_per_sec" : 18 .0 ,
288
+ "device/items_per_sec" : 6 .0 ,
289
289
"flops_per_sec" : 20.0 ,
290
290
"device/flops_per_sec" : 10.0 ,
291
291
"device/mfu" : 0.1 ,
@@ -303,7 +303,7 @@ def test_throughput_monitor_world_size():
303
303
"batches_per_sec" : 2.0 ,
304
304
"samples_per_sec" : 6.0 ,
305
305
"items_per_sec" : 12.0 ,
306
- "device/items_per_sec" : 18 .0 ,
306
+ "device/items_per_sec" : 6 .0 ,
307
307
"flops_per_sec" : 20.0 ,
308
308
"device/flops_per_sec" : 10.0 ,
309
309
"device/mfu" : 0.1 ,
0 commit comments