MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / vgather

Function vgather

PATH/core/distributed_utils.py:1129–1130  ·  view source on GitHub ↗
(x_list, x)

Source from the content-addressed store, hash-verified

1127 x.update(y.item())
1128
1129def vgather(x_list, x):
1130 allgather(x_list, torch.Tensor([x]).cuda())
1131
1132def reduce_dict(input_dict, task_size, task_rank, group=None, average=True):
1133 """

Callers 2

gather_resultMethod · 0.90
gather_resultMethod · 0.90

Calls 1

cudaMethod · 0.45

Tested by

no test coverage detected