mlx.core.metal.get_peak_memory#
- get_peak_memory() int #
Get the peak amount of used memory in bytes.
The maximum memory used recorded from the beginning of the program execution or since the last call to
reset_peak_memory()
.
Get the peak amount of used memory in bytes.
The maximum memory used recorded from the beginning of the program
execution or since the last call to reset_peak_memory()
.