def on_fit_end(self, trainer: Trainer, pl_module: LightningModule) -> None:
        """Called when fit ends.

        Calculates and logs the total training time.

        Args:
            trainer (Trainer): PyTorch Lightning trainer instance
            pl_module (LightningModule): The current training module

        Note:
            The trainer and module arguments are not used but kept for callback signature compatibility
        """
        del trainer, pl_module  # Unused arguments.
        logger.info("Training took %5.2f seconds", (time.time() - self.start))
Called when fit ends.

        Calculates and logs the total training time.

        Args:
            trainer (Trainer): PyTorch Lightning trainer instance
            pl_module (LightningModule): The current training module

        Note:
            The trainer and module arguments are not used but kept for callback signature compatibility
        
src/anomalib/callbacks/timer.py