← Back to context

Comment by xenonite

6 hours ago

With my M1 MBA, I am still on macOS 15. To compile it, just remove the two lines with

  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.)

Thank you! That’s useful. I might try lowering the minimum version later. The 2.4x prefill improvement will only work on the apple10 GPU family. The M1 uses apple7 as I remember

  • I'm looking forward to trying it, but not willing to upgrade to Tahoe, so I'd appreciate it for sure!