diff --git a/CMakeLists.txt b/CMakeLists.txt index 712b03a9d..2ea908981 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if (${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "x86_64") message(WARNING - "Building for x86_64 on MacOS is not supported." + "Building for x86_64 on macOS is not supported." " If you are on an Apple silicon system, " " make sure you are building for arm64.") elseif(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "arm64") @@ -39,7 +39,7 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") endif() else() - message(WARNING "MLX is prioritised for Apple Silicon systems using MacOS.") + message(WARNING "MLX is prioritised for Apple silicon systems using macOS.") endif() # ----------------------------- Lib ----------------------------- @@ -68,7 +68,7 @@ elseif (MLX_BUILD_METAL) OUTPUT_VARIABLE MACOS_VERSION COMMAND_ERROR_IS_FATAL ANY) - message(STATUS "Building with SDK for MacOS version ${MACOS_VERSION}") + message(STATUS "Building with SDK for macOS version ${MACOS_VERSION}") if (${MACOS_VERSION} GREATER_EQUAL 14.2) set(METAL_CPP_URL https://developer.apple.com/metal/cpp/files/metal-cpp_macOS14.2_iOS17.2.zip) @@ -77,7 +77,7 @@ elseif (MLX_BUILD_METAL) elseif (${MACOS_VERSION} GREATER_EQUAL 13.3) set(METAL_CPP_URL https://developer.apple.com/metal/cpp/files/metal-cpp_macOS13.3_iOS16.4.zip) else() - message(FATAL_ERROR "MLX requires MacOS >= 13.4 to be built with MLX_BUILD_METAL=ON" ) + message(FATAL_ERROR "MLX requires macOS >= 13.4 to be built with MLX_BUILD_METAL=ON" ) endif() FetchContent_Declare( diff --git a/docs/src/install.rst b/docs/src/install.rst index 682f09f38..4ce1074a8 100644 --- a/docs/src/install.rst +++ b/docs/src/install.rst @@ -15,11 +15,11 @@ To install from PyPI you must meet the following requirements: - Using an M series chip (Apple silicon) - Using a native Python >= 3.8 -- MacOS >= 13.3 +- macOS >= 13.3 .. note:: - MLX is only available on devices running MacOS >= 13.3 - It is highly recommended to use MacOS 14 (Sonoma) + MLX is only available on devices running macOS >= 13.3 + It is highly recommended to use macOS 14 (Sonoma) Troubleshooting ^^^^^^^^^^^^^^^ @@ -47,7 +47,7 @@ Build Requirements - A C++ compiler with C++17 support (e.g. Clang >= 5.0) - `cmake `_ -- version 3.24 or later, and ``make`` -- Xcode >= 14.3 (Xcode >= 15.0 for MacOS 14 and above) +- Xcode >= 14.3 (Xcode >= 15.0 for macOS 14 and above) Python API @@ -154,7 +154,7 @@ should point to the path to the built metal library. export DEVELOPER_DIR="/path/to/Xcode.app/Contents/Developer/" Further, you can use the following command to find out which - MacOS SDK will be used + macOS SDK will be used .. code-block:: shell diff --git a/python/src/mlx.cpp b/python/src/mlx.cpp index 4a1d24aef..ebadf767d 100644 --- a/python/src/mlx.cpp +++ b/python/src/mlx.cpp @@ -17,7 +17,7 @@ void init_random(py::module_&); void init_fft(py::module_&); PYBIND11_MODULE(core, m) { - m.doc() = "mlx: A framework for machine learning on Apple Silicon."; + m.doc() = "mlx: A framework for machine learning on Apple silicon."; auto reprlib_fix = py::module_::import("mlx._reprlib_fix"); diff --git a/setup.py b/setup.py index 53b5ea24a..ca833615c 100644 --- a/setup.py +++ b/setup.py @@ -143,7 +143,7 @@ if __name__ == "__main__": version=get_version("0.0.5"), author="MLX Contributors", author_email="mlx@group.apple.com", - description="A framework for machine learning on Apple Silicon.", + description="A framework for machine learning on Apple silicon.", long_description=long_description, long_description_content_type="text/markdown", packages=packages,