January 23, 2026 undefined분 읽기 PyTorch 내부 구조 07 - Tensor Lifetime, Caching Allocator, 메모리 재사용 PyTorch의 CUDA 메모리는 단순 malloc/free가 아니라 caching allocator 위에서 재사용된다