How to: Building with MLX (experimental)
First build the MLX libraries:

```shell
cmake --preset MLX
cmake --build --preset MLX --parallel
cmake --install build --component MLX
```

Next, build the `ollama-mlx` binary, which is a separate build of the Ollama runtime with MLX support enabled (needs to be in the same directory as `ollama`):

```shell
go build -tags mlx -o ollama-mlx .
```

Finally, start the server:

```
./ollama serve
```