def on_loader_end(self, runner: "IRunner"):
        """Cleanup and close tqdm progress bar."""
        if runner.engine.process_index > 0:
            return
        # self.tqdm.visible = False
        # self.tqdm.leave = True
        # self.tqdm.disable = True
        self.tqdm.clear()
        self.tqdm.close()
        self.tqdm = None
        self.step = 0
Cleanup and close tqdm progress bar.
catalyst/callbacks/misc.py