Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1129
def
vgather(x_list, x):
1130
allgather(x_list, torch.Tensor([x]).cuda())
1131
1132
def
reduce_dict(input_dict, task_size, task_rank, group=None, average=True):
1133
""
"
Callers
2
gather_result
Method · 0.90
gather_result
Method · 0.90
Calls
1
cuda
Method · 0.45
Tested by
no test coverage detected