I' m using --multiprocess or --include-children to profile my PyTorch code, which is multiprocess with dataloader num_workers=4. But I got nothing in my log file. Any suggestions about this?
@profile(stream=open("mem_profile_dataset.log", "w+"))
def get_item(self, idx):
return xxx