def METHOD_NAME(self, checkpoint_dir: str) -> None:
    """
    Deprecated. Please use :meth:`on_checkpoint_write_end` instead.
    .. warning::
        This callback only executes on the chief GPU when doing distributed training with
        PyTorchTrial.
    """
    # TODO(DET-7912): remove this once it has been deprecated long enough.
    pass