This commit is contained in:
Angelos Katharopoulos
2025-12-12 01:21:43 -08:00
parent 753c6a4d0f
commit 3b416a2e36
2 changed files with 1 additions and 5 deletions

View File

@@ -119,10 +119,6 @@ if(MLX_BUILD_METAL)
COMMAND zsh "-c" "/usr/bin/xcrun -sdk macosx --show-sdk-version" COMMAND zsh "-c" "/usr/bin/xcrun -sdk macosx --show-sdk-version"
OUTPUT_VARIABLE MACOS_SDK_VERSION OUTPUT_VARIABLE MACOS_SDK_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE COMMAND_ERROR_IS_FATAL ANY) OUTPUT_STRIP_TRAILING_WHITESPACE COMMAND_ERROR_IS_FATAL ANY)
execute_process(
COMMAND zsh "-c" "/usr/bin/xcrun -sdk macosx --show-sdk-path"
OUTPUT_VARIABLE CMAKE_OSX_SYSROOT
OUTPUT_STRIP_TRAILING_WHITESPACE COMMAND_ERROR_IS_FATAL ANY)
if(${MACOS_SDK_VERSION} LESS 14.0) if(${MACOS_SDK_VERSION} LESS 14.0)
message( message(

View File

@@ -67,7 +67,7 @@ void init_distributed(nb::module_& parent_module) {
Args: Args:
backend (str, optional): The name of the backend to check for availability. backend (str, optional): The name of the backend to check for availability.
It takes the same values as ``init()``. Default: ``any``. It takes the same values as :func:`init()`. Default: ``"any"``.
Returns: Returns:
bool: Whether the distributed backend is available. bool: Whether the distributed backend is available.