MLXBackend.get_available_memory#
- MLXBackend.get_available_memory()#
Returns the available memory available for computations in bytes. For CPU operations this corresponds to available RAM. For GPU operations the function is expected to return the available GPU memory.