@@ -1298,22 +1298,22 @@ def print_stats(stats1, stats2):
1298
1298
1299
1299
print (
1300
1300
(
1301
- f" CPU: { int ( round (new_max_running_max_memory_size [1 ] / 1024.0 ) )} KB "
1302
- f"({ int ( round (max_running_max_memory_size [1 ] / 1024.0 ) )} KB)"
1301
+ f" CPU: { round (new_max_running_max_memory_size [1 ] / 1024.0 )} KB "
1302
+ f"({ round (max_running_max_memory_size [1 ] / 1024.0 )} KB)"
1303
1303
),
1304
1304
file = file ,
1305
1305
)
1306
1306
print (
1307
1307
(
1308
- f" GPU: { int ( round (new_max_running_max_memory_size [2 ] / 1024.0 ) )} KB "
1309
- f"({ int ( round (max_running_max_memory_size [2 ] / 1024.0 ) )} KB)"
1308
+ f" GPU: { round (new_max_running_max_memory_size [2 ] / 1024.0 )} KB "
1309
+ f"({ round (max_running_max_memory_size [2 ] / 1024.0 )} KB)"
1310
1310
),
1311
1311
file = file ,
1312
1312
)
1313
1313
print (
1314
1314
(
1315
- f" CPU + GPU: { int ( round (new_max_running_max_memory_size [0 ] / 1024.0 ) )} KB "
1316
- f"({ int ( round (max_running_max_memory_size [0 ] / 1024.0 ) )} KB)"
1315
+ f" CPU + GPU: { round (new_max_running_max_memory_size [0 ] / 1024.0 )} KB "
1316
+ f"({ round (max_running_max_memory_size [0 ] / 1024.0 )} KB)"
1317
1317
),
1318
1318
file = file ,
1319
1319
)
@@ -1334,23 +1334,23 @@ def print_stats(stats1, stats2):
1334
1334
file = file ,
1335
1335
)
1336
1336
print (
1337
- f" CPU: { int ( round (new_max_node_memory_size [1 ] / 1024.0 ) )} KB" ,
1337
+ f" CPU: { round (new_max_node_memory_size [1 ] / 1024.0 )} KB" ,
1338
1338
file = file ,
1339
1339
)
1340
1340
print (
1341
- f" GPU: { int ( round (new_max_node_memory_size [2 ] / 1024.0 ) )} KB" ,
1341
+ f" GPU: { round (new_max_node_memory_size [2 ] / 1024.0 )} KB" ,
1342
1342
file = file ,
1343
1343
)
1344
1344
print (
1345
- f" CPU + GPU: { int ( round (new_max_node_memory_size [0 ] / 1024.0 ) )} KB" ,
1345
+ f" CPU + GPU: { round (new_max_node_memory_size [0 ] / 1024.0 )} KB" ,
1346
1346
file = file ,
1347
1347
)
1348
1348
print ("---" , file = file )
1349
1349
1350
1350
if min_max_peak :
1351
1351
print (
1352
1352
" Minimum peak from all valid apply node order is "
1353
- f"{ int ( round (min_max_peak / 1024.0 ) )} KB(took { min_peak_time :3f} s to compute)" ,
1353
+ f"{ round (min_max_peak / 1024.0 )} KB(took { min_peak_time :3f} s to compute)" ,
1354
1354
file = file ,
1355
1355
)
1356
1356
0 commit comments