Destroy cuda state by emptying cache and collecting IPC.
Consecutively calls torch.cuda.empty_cache() and torch.cuda.ipc_collect().
Notes