def METHOD_NAME(self, trainer, output_dir):
    config = trainer.cfg
    CheckpointProcessor.copy_files_and_dump_config(trainer, output_dir,
                                                   config,
                                                   self._BIN_FILE_DIR)
    os.makedirs(
        os.path.join(output_dir, self._BIN_FILE_DIR), exist_ok=True)