From cfb9cc646c5f78bea234ce1ae3b8199538b6570d Mon Sep 17 00:00:00 2001 From: noorbhatia Date: Wed, 12 Nov 2025 14:41:10 +0530 Subject: [PATCH] fix: update mlx-swift-examples repository to mlx-swift-lm --- Package.swift | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index 554c8173..d5b14d88 100644 --- a/Package.swift +++ b/Package.swift @@ -32,7 +32,7 @@ let package = Package( .package(url: "https://github.com/mattt/JSONSchema.git", from: "1.3.0"), .package(url: "https://github.com/mattt/EventSource.git", from: "1.3.0"), .package(url: "https://github.com/mattt/PartialJSONDecoder.git", from: "1.0.0"), - .package(url: "https://github.com/ml-explore/mlx-swift-examples/", branch: "main"), + .package(url: "https://github.com/ml-explore/mlx-swift-lm/", branch: "main"), .package(url: "https://github.com/huggingface/swift-transformers", from: "1.0.0"), .package(url: "https://github.com/mattt/llama.swift", .upToNextMajor(from: "1.6818.0")), ], @@ -46,17 +46,17 @@ let package = Package( .product(name: "PartialJSONDecoder", package: "PartialJSONDecoder"), .product( name: "MLXLLM", - package: "mlx-swift-examples", + package: "mlx-swift-lm", condition: .when(traits: ["MLX"]) ), .product( name: "MLXVLM", - package: "mlx-swift-examples", + package: "mlx-swift-lm", condition: .when(traits: ["MLX"]) ), .product( name: "MLXLMCommon", - package: "mlx-swift-examples", + package: "mlx-swift-lm", condition: .when(traits: ["MLX"]) ), .product( diff --git a/README.md b/README.md index 354bdb50..40db3c08 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ This results in smaller binary sizes and faster build times. - `CoreML`: Enables Core ML model support (depends on `huggingface/swift-transformers`) - `MLX`: Enables MLX model support - (depends on `ml-explore/mlx-swift-examples`) + (depends on `ml-explore/mlx-swift-lm`) - `Llama`: Enables llama.cpp support (requires `mattt/llama.swift`)