MCPcopy Create free account
hub / github.com/AIS-SNU/Smart-Infinity / state_dict

Method state_dict

DeepSpeedExample/megatron/model/module.py:181–182  ·  view source on GitHub ↗
(self, destination=None, prefix='', keep_vars=False)

Source from the content-addressed store, hash-verified

179
180
181 def state_dict(self, destination=None, prefix='', keep_vars=False):
182 return self.module.state_dict(destination, prefix, keep_vars)
183
184
185 def state_dict_for_save_checkpoint(self, destination=None, prefix='',

Calls

no outgoing calls

Tested by

no test coverage detected