A decorator for torch memory analysis using torch.cuda.memory._record_memory_history_legacy() that works on Windows machines.
torch.cuda.memory._record_memory_history_legacy()
torch_memory_analysis_win()
dgs.utils.torchtools.torch_memory_analysis
dgs.utils.track