pytorch 2 PyTorch Memory Deep Dive: view, reshape, transpose, permute and the Contiguity Puzzle Mar 20, 2026 Distributed Tensor (DTensor) in PyTorch: Overview Sep 28, 2024