MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / state_dict

Method state_dict

codegeex/megatron/model/module.py:188–189  ·  view source on GitHub ↗
(self, destination=None, prefix="", keep_vars=False)

Source from the content-addressed store, hash-verified

186 return outputs
187
188 def state_dict(self, destination=None, prefix="", keep_vars=False):
189 return self.module.state_dict(destination, prefix, keep_vars)
190
191 def state_dict_for_save_checkpoint(
192 self, destination=None, prefix="", keep_vars=False

Calls

no outgoing calls

Tested by

no test coverage detected