in peft_fine_tuning.py [0:0]
def cpu_mem_used(self): """get resident set size memory for the current process""" return self.process.memory_info().rss