MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / _load_world

Function _load_world

accessory/model/multi_gpu_wrapper.py:138–141  ·  view source on GitHub ↗
(load_dict, load_world)

Source from the content-addressed store, hash-verified

136 return save_dict, save_world
137
138def _load_world(load_dict, load_world):
139 for key, val in load_dict.items():
140 setattr(dist.distributed_c10d, key, val)
141 dist.distributed_c10d._world = load_world
142
143class MultiGpuWrapper:
144 """

Callers 3

__init__Method · 0.85
_emit_requestMethod · 0.85
_get_responseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected