mlx-swift-examples
mlx-swift-examples copied to clipboard
Examples using MLX Swift
I know there is an issue with async generation but the sync version is also now crashing in debug. This is with the current state of the repo, and no...
Hi, I am at a loss atm. I am getting this error when I try to build the app on my phone. ``` Failed to install the app on the...
Let's try this as a fix for #59 and maybe #57
impossible to run the iOS version I get : import MLX - No such module 'MLX'
minor fix
- passed swift-format - makes the text editable for custom prompts on the device
Context: I'm trying to run the LLMEval iOS application on Apple M1 Pro 32 GB running macOS Version 14.4.1 I've considered the following solutions so far: 1. Ensured I'm running...
- fix for #53 #71 #69 #74 - in order to test the models - I added a default prompt of an appropriate form - while working on the model...
[This Phi 3 model](https://huggingface.co/mlx-community/Phi-3-mini-4k-instruct-4bit-no-q-embed) used in the LLMEval app doesn't behave as expected. It looks like the stop token is not being recognized. Prompt: ``` Name a color. ``` Output:...
[Original comment removed, see below] ```swift import Foundation import MLXLLM extension ModelConfiguration { static let openelm3b = ModelConfiguration( id: "mlx-community/OpenELM-3B" ) { prompt in "\(prompt)" } } ```