by xenonite · 4mo ago · 0 comments
opts.languageVersion = .version4_0
or surround them with if #available(macOS 26.0, *) {
opts.languageVersion = .version4_0
}
You'll miss out on a prefill speedup of 2.4x (as it yields 11.24x faster attention), according to the git comments, but it works. (On the 8-GPU-core MBA M1, I get 5-6 tok/s.) @@ -4,8 +4,7 @@ import PackageDescription
let package = Package(
name: "TurboFieldfare",
platforms: [
- .macOS(.v26),
- .iOS(.v26),
+ .macOS(.v15)
],
products: [
.library(name: "TurboFieldfare", targets: ["TurboFieldfare"]),macOS is the only OS which fully supports M1 hardware and its security features. Please see Asahi Linux's documentation: https://asahilinux.org/docs/platform/feature-support/m1/#m1-...