Add z-image image generation prototype (#13659)

This commit is contained in:
Jeffrey Morgan
2026-01-09 21:09:46 -08:00
committed by GitHub
parent c6d4c0c7f2
commit 2584940016
44 changed files with 6422 additions and 269 deletions

View File

@@ -161,10 +161,6 @@ ARG GOFLAGS="'-ldflags=-w -s'"
ENV CGO_ENABLED=1
ARG CGO_CFLAGS
ARG CGO_CXXFLAGS
# TODO wire up the actual MLX engine here instead of building the main binary...
RUN mkdir -p dist/bin
RUN go build -tags mlx -trimpath -buildmode=pie -o dist/bin/imagegen ./x/imagegen/cmd/engine
FROM base AS build
WORKDIR /go/src/github.com/ollama/ollama