MCPcopy Create free account
hub / github.com/THUDM/GLM / load_state_dict

Method load_state_dict

model/distributed.py:34–35  ·  view source on GitHub ↗
(self, state_dict, strict=True)

Source from the content-addressed store, hash-verified

32 return sd
33
34 def load_state_dict(self, state_dict, strict=True):
35 return self.module.load_state_dict(state_dict, strict=strict)
36
37
38class DistributedDataParallel(Module):

Callers

nothing calls this directly

Calls 1

load_state_dictMethod · 0.45

Tested by

no test coverage detected