src/transformers/integrations/integration_utils.py/NeptuneCallback/__del__
class NeptuneCallback:    def __del__(self):
        if self._volatile_checkpoints_dir is not None:
            shutil.rmtree(self._volatile_checkpoints_dir, ignore_errors=True)

        self._stop_run_if_exists()