Skip to content

Commit 7baf9bc

Browse files
authored
update mlx-swift to 0.18.1 (#147)
1 parent a719a6d commit 7baf9bc

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

Applications/LLMEval/ContentView.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,7 @@ class LLMEvaluator {
159159

160160
/// This controls which model loads. `phi3_5_4bit` is one of the smaller ones, so this will fit on
161161
/// more devices.
162-
163-
// let modelConfiguration = ModelConfiguration.phi3_5_4bit
164-
// let modelConfiguration = ModelConfiguration.mistral7B4bit
165-
let modelConfiguration = ModelConfiguration.llama3_2_3B_4bit
162+
let modelConfiguration = ModelConfiguration.phi3_5_4bit
166163

167164
/// parameters controlling the output
168165
let generateParameters = GenerateParameters(temperature: 0.6)

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ let package = Package(
1818
targets: ["StableDiffusion"]),
1919
],
2020
dependencies: [
21-
.package(url: "https://github.com/ml-explore/mlx-swift", from: "0.16.1"),
22-
.package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.12"),
21+
.package(url: "https://github.com/ml-explore/mlx-swift", from: "0.18.1"),
22+
.package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.13"),
2323
.package(url: "https://github.com/1024jp/GzipSwift", "6.0.1" ... "6.0.1"),
2424
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"),
2525
],

mlx-swift-examples.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)