def save_additional_contents(
        self,
        state: State,
        logger: Logger,
        save_dir: str,
    ):
        """Save any additional contents other than the checkpoint and tokenizer.

        This would be useful for saving any other potential objects that is part of the state.

        Args:
            state (State): The training state.
            logger (Logger): The logger.
            save_dir (str): The directory to save the additional contents.
        """
        pass
Save any additional contents other than the checkpoint and tokenizer.

        This would be useful for saving any other potential objects that is part of the state.

        Args:
            state (State): The training state.
            logger (Logger): The logger.
            save_dir (str): The directory to save the additional contents.
        
llmfoundry/callbacks/hf_checkpointer.py