And torch.cuda.empty_cache() fail?
I suspect memory fragmentation or lingering references may play a role, but gc.collect() doesn’t seem to fix it. Using a dedicated function appears to clean up resources more effectively, but I’m unsure why. Any insights into why explicit cleanup doesn’t always work would be greatly appreciated!https://www.rizekoypazari.com/eng