MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / on_validation_start

Method on_validation_start

lit_gpt/speed_monitor.py:414–415  ·  view source on GitHub ↗
(self, trainer: Trainer, pl_module: LightningModule)

Source from the content-addressed store, hash-verified

412
413 @trainer_rank_zero_only
414 def on_validation_start(self, trainer: Trainer, pl_module: LightningModule) -> None:
415 self.eval_t0 = time.perf_counter()
416
417 @trainer_rank_zero_only
418 def on_validation_end(self, trainer: Trainer, pl_module: LightningModule) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected