Utilities. This functions are not required for competitors but was developed to prepare the dataset for the competition.
Track a series of values and provide access to smoothed values over a
window or the global series average.
Run all_gather on arbitrary picklable data (not necessarily tensors)
data: any picklable object
list[data]: list of data gathered from each rank
input_dict (dict): all the values will be reduced
average (bool): whether to do average or sum
Reduce the values in the dictionary from all processes so that all processes
have the averaged results. Returns a dict with the same fields as
input_dict, after reduction.
This function disables printing when not in master process