pytorch / 2 / generated / torch.cuda.max_memory_cached.html

torch.cuda.max_memory_cached

torch.cuda.max_memory_cached(device=None) [source]

Deprecated; see max_memory_reserved().

Return type

int

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/2.1/generated/torch.cuda.max_memory_cached.html