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

Method eval

deepspeed/runtime/engine.py:1656–1660  ·  view source on GitHub ↗

r

(self)

Source from the content-addressed store, hash-verified

1654 self.module.train(mode)
1655
1656 def eval(self):
1657 r""""""
1658
1659 self.warn_unscaled_loss = True
1660 self.module.train(False)
1661
1662 def _scale_loss_by_gas(self, prescaled_loss):
1663 if isinstance(prescaled_loss, torch.Tensor):

Callers 9

load_attributesMethod · 0.45
sample_sequence_batchFunction · 0.45
evaluateFunction · 0.45
evaluateFunction · 0.45
get_model_profileFunction · 0.45
eval_batchMethod · 0.45

Calls 1

trainMethod · 0.45

Tested by

no test coverage detected