@@ -1298,22 +1298,22 @@ def print_stats(stats1, stats2):
12981298
12991299 print (
13001300 (
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)"
13031303 ),
13041304 file = file ,
13051305 )
13061306 print (
13071307 (
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)"
13101310 ),
13111311 file = file ,
13121312 )
13131313 print (
13141314 (
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)"
13171317 ),
13181318 file = file ,
13191319 )
@@ -1334,23 +1334,23 @@ def print_stats(stats1, stats2):
13341334 file = file ,
13351335 )
13361336 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" ,
13381338 file = file ,
13391339 )
13401340 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" ,
13421342 file = file ,
13431343 )
13441344 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" ,
13461346 file = file ,
13471347 )
13481348 print ("---" , file = file )
13491349
13501350 if min_max_peak :
13511351 print (
13521352 " 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)" ,
13541354 file = file ,
13551355 )
13561356
0 commit comments