From 61c0703c9171be04d255fbeaf5d31d2825d5da6a Mon Sep 17 00:00:00 2001 From: David Koski <46639364+davidkoski@users.noreply.github.com> Date: Mon, 10 Jun 2024 15:44:36 -0700 Subject: [PATCH] switch to tags where possible (#80) --- Package.swift | 4 ++-- mlx-swift-examples.xcodeproj/project.pbxproj | 8 ++++---- .../xcshareddata/swiftpm/Package.resolved | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Package.swift b/Package.swift index f7eb0e8..3af9da5 100644 --- a/Package.swift +++ b/Package.swift @@ -15,8 +15,8 @@ let package = Package( targets: ["MLXMNIST"]), ], dependencies: [ - .package(url: "https://github.com/ml-explore/mlx-swift", branch: "main"), - .package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.5"), + .package(url: "https://github.com/ml-explore/mlx-swift", from: "0.12.1"), + .package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.8"), .package(url: "https://github.com/1024jp/GzipSwift", from: "6.0.1"), .package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"), ], diff --git a/mlx-swift-examples.xcodeproj/project.pbxproj b/mlx-swift-examples.xcodeproj/project.pbxproj index c4e7142..e3ea1b6 100644 --- a/mlx-swift-examples.xcodeproj/project.pbxproj +++ b/mlx-swift-examples.xcodeproj/project.pbxproj @@ -2607,8 +2607,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/huggingface/swift-transformers"; requirement = { - branch = main; - kind = branch; + kind = upToNextMajorVersion; + minimumVersion = 0.1.8; }; }; C392736E2B60699100368D5D /* XCRemoteSwiftPackageReference "swift-argument-parser" */ = { @@ -2623,8 +2623,8 @@ isa = XCRemoteSwiftPackageReference; repositoryURL = "https://github.com/ml-explore/mlx-swift"; requirement = { - branch = main; - kind = branch; + kind = upToNextMajorVersion; + minimumVersion = 0.12.1; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index ef218f0..48a7b7d 100644 --- a/mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -15,8 +15,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/ml-explore/mlx-swift", "state" : { - "branch" : "main", - "revision" : "d6d9472da5bf7ec2654e8914bd1d15622f45b6a9" + "revision" : "36d63a1fc386a551df14f5b67df1756dc17d2ebc", + "version" : "0.12.1" } }, { @@ -78,8 +78,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/huggingface/swift-transformers", "state" : { - "branch" : "main", - "revision" : "fc6543263e4caed9bf6107466d625cfae9357f08" + "revision" : "fc6543263e4caed9bf6107466d625cfae9357f08", + "version" : "0.1.8" } } ],