torch.cuda.memory.caching_allocator_disabled torch.cuda.memory.caching_allocator_disabled() Context manager that temporarily disables the CUDA caching allocator. Назадtorch.cuda.memory.caching_allocator_delete