Skip to content

Commit f11b8b8

Browse files
committed
Update
[ghstack-poisoned]
2 parents 2910518 + 84ab5cd commit f11b8b8

5 files changed

Lines changed: 1 addition & 125 deletions

File tree

backends/mlx/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -180,20 +180,10 @@ set(_mlx_metallib ${_mlx_binary_dir}/mlx/backend/metal/kernels/mlx.metallib)
180180
message(
181181
STATUS "Building MLX from submodule (ExternalProject): ${MLX_SOURCE_DIR}"
182182
)
183-
# Local patches applied to the MLX submodule before its build. Kept minimal and
184-
# idempotent (patches/apply.sh reverse-checks each before applying); a context
185-
# mismatch after an MLX bump fails loudly rather than silently no-op'ing. See
186-
# each patch file under patches/ for its rationale.
187-
set(_mlx_patches
188-
${CMAKE_CURRENT_SOURCE_DIR}/patches/mlx_nax_has_include.patch
189-
${CMAKE_CURRENT_SOURCE_DIR}/patches/mlx_qmm_splitk_bk_align.patch
190-
)
191183
ExternalProject_Add(
192184
mlx_external
193185
SOURCE_DIR ${MLX_SOURCE_DIR}
194186
BINARY_DIR ${_mlx_binary_dir}
195-
PATCH_COMMAND bash ${CMAKE_CURRENT_SOURCE_DIR}/patches/apply.sh
196-
${MLX_SOURCE_DIR} ${_mlx_patches}
197187
CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
198188
-DCMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD}
199189
-DCMAKE_OSX_DEPLOYMENT_TARGET=${CMAKE_OSX_DEPLOYMENT_TARGET}

backends/mlx/patches/apply.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

backends/mlx/patches/mlx_nax_has_include.patch

Lines changed: 0 additions & 44 deletions
This file was deleted.

backends/mlx/patches/mlx_qmm_splitk_bk_align.patch

Lines changed: 0 additions & 42 deletions
This file was deleted.

backends/mlx/third-party/mlx

Submodule mlx updated 381 files

0 commit comments

Comments
 (0)