Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

mlx: add mlx patch to docker build context (#18440)

Daniel Hiltgen891b0862320c
diff --git a/Dockerfile b/Dockerfile
index c18d0656a..3a6abc331 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -220,6 +220,7 @@ ENV CGO_LDFLAGS="-L/usr/local/cuda-13/lib64 -L/usr/local/cuda-13/targets/x86_64-
WORKDIR /go/src/github.com/ollama/ollama
COPY CMakeLists.txt CMakePresets.json .
COPY cmake cmake
+COPY mlx/compat mlx/compat
COPY x/mlxrunner/mlx x/mlxrunner/mlx
COPY x/mlxrunner/xgrammar/native x/mlxrunner/xgrammar/native
COPY go.mod go.sum .