Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meshcapade/difflocks
/ ensure_distributed
Function
ensure_distributed
train_scalp_diffusion.py:44–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
44
def
ensure_distributed():
45
if
not dist.is_initialized():
46
dist.init_process_group(world_size=1, rank=0, store=dist.HashStore())
47
48
def
get_cli_args():
49
p = argparse.ArgumentParser(description=__doc__,
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected