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

Method train

deepspeed/runtime/engine.py:1650–1654  ·  view source on GitHub ↗

r

(self, mode=True)

Source from the content-addressed store, hash-verified

1648 deepspeed_dataloader_config=deepspeed_dataloader_config)
1649
1650 def train(self, mode=True):
1651 r""""""
1652
1653 self.warn_unscaled_loss = True
1654 self.module.train(mode)
1655
1656 def eval(self):
1657 r""""""

Callers 7

trainFunction · 0.45
evaluateFunction · 0.45
_trainFunction · 0.45
fitMethod · 0.45
evalMethod · 0.45
train_batchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected