Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/OpenMeshLab/MeshXL
/ barrier
Function
barrier
utils/dist.py:30–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
28
29
30
def
barrier():
31
if
not is_distributed():
32
return
33
torch.distributed.barrier()
34
35
36
def
setup_print_for_distributed(is_primary):
Callers
1
synchronize_between_processes
Method · 0.90
Calls
1
is_distributed
Function · 0.85
Tested by
no test coverage detected