Run the warmup_fun if needed, e.g. after a system reboot.
(self, name, warmup_fun)
| 789 | class WarmupManager(ABC): |
| 790 | @abstractmethod |
| 791 | def maybe_warm_up(self, name, warmup_fun): |
| 792 | """Run the warmup_fun if needed, e.g. after a system reboot.""" |
| 793 | |
| 794 | |
| 795 | class NullWarmupManager(WarmupManager): |