memory
======

.. currentmodule:: lightning.pytorch.utilities.memory



.. rubric:: Functions

.. autosummary::
    :nosignatures:

    garbage_collection_cuda
    is_cuda_out_of_memory
    is_cudnn_snafu
    is_oom_error
    is_out_of_cpu_memory
    recursive_detach











.. automodule:: lightning.pytorch.utilities.memory