Skip to content

Commit

Permalink
update mlx-swift to 0.18.1 (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkoski authored Nov 6, 2024
1 parent a719a6d commit 7baf9bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions Applications/LLMEval/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,7 @@ class LLMEvaluator {

/// This controls which model loads. `phi3_5_4bit` is one of the smaller ones, so this will fit on
/// more devices.

// let modelConfiguration = ModelConfiguration.phi3_5_4bit
// let modelConfiguration = ModelConfiguration.mistral7B4bit
let modelConfiguration = ModelConfiguration.llama3_2_3B_4bit
let modelConfiguration = ModelConfiguration.phi3_5_4bit

/// parameters controlling the output
let generateParameters = GenerateParameters(temperature: 0.6)
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ let package = Package(
targets: ["StableDiffusion"]),
],
dependencies: [
.package(url: "https://github.com/ml-explore/mlx-swift", from: "0.16.1"),
.package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.12"),
.package(url: "https://github.com/ml-explore/mlx-swift", from: "0.18.1"),
.package(url: "https://github.com/huggingface/swift-transformers", from: "0.1.13"),
.package(url: "https://github.com/1024jp/GzipSwift", "6.0.1" ... "6.0.1"),
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/ml-explore/mlx-swift",
"state" : {
"revision" : "78a7cfe6701d6e9c88e9d4a0d1f7990af84b2146",
"version" : "0.18.0"
"revision" : "d649c62b77c487c25012910b0d02b30283d388ca",
"version" : "0.18.1"
}
},
{
Expand Down

0 comments on commit 7baf9bc

Please sign in to comment.