def METHOD_NAME(self, other: "StatusMetaData") -> None:
    """
    Check compatibility with a loaded StatsMetaData and warn the user
    if versions mismatch. This is used for resuming from old checkpoints.
    """
    # This should cover all stats version mismatches as well.
    if self.mlagents_version != other.mlagents_version:
        logger.warning(
            "Checkpoint was loaded from a different version of ML-Agents. Some things may not resume properly."
        )
    if self.torch_version != other.torch_version:
        logger.warning(
            "PyTorch checkpoint was saved with a different version of PyTorch. Model may not resume properly."
        )