[PR #13806] win: Image Generation support #14398

Open
opened 2026-04-13 00:52:50 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13806
Author: @dhiltgen
Created: 1/21/2026
Status: 🔄 Open

Base: mainHead: win_mlx


📝 Commits (2)

📊 Changes

15 files changed (+992 additions, -638 deletions)

View changed files

📝 .github/workflows/release.yaml (+51 -5)
📝 .github/workflows/test.yaml (+52 -8)
📝 CMakeLists.txt (+68 -7)
MLX_CORE_VERSION (+1 -0)
📝 MLX_VERSION (+1 -1)
📝 scripts/build_windows.ps1 (+113 -1)
📝 server/routes.go (+3 -0)
📝 x/imagegen/mlx/CMakeLists.txt (+16 -3)
📝 x/imagegen/mlx/generate_wrappers.go (+10 -3)
📝 x/imagegen/mlx/mlx.c (+582 -574)
📝 x/imagegen/mlx/mlx.go (+2 -2)
📝 x/imagegen/mlx/mlx_dynamic.c (+53 -7)
📝 x/imagegen/models/zimage/zimage.go (+6 -13)
📝 x/imagegen/server.go (+26 -10)
📝 x/mlxrunner/mlx/dynamic.h (+8 -4)

📄 Description

Add support for image generation to Windows

This carries some upstream PRs temporarily so we can make forward progress. Once those (or equivalent functionality) merges we can drop the patches.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/13806 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/21/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `win_mlx` --- ### 📝 Commits (2) - [`b16eeac`](https://github.com/ollama/ollama/commit/b16eeac5cdec962a0f69cd914db3015a333bd9fc) win: Image Generation support - [`c373eaa`](https://github.com/ollama/ollama/commit/c373eaa5782fe4b0d5946a0f818d2462518f73fc) CI improvements ### 📊 Changes **15 files changed** (+992 additions, -638 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yaml` (+51 -5) 📝 `.github/workflows/test.yaml` (+52 -8) 📝 `CMakeLists.txt` (+68 -7) ➕ `MLX_CORE_VERSION` (+1 -0) 📝 `MLX_VERSION` (+1 -1) 📝 `scripts/build_windows.ps1` (+113 -1) 📝 `server/routes.go` (+3 -0) 📝 `x/imagegen/mlx/CMakeLists.txt` (+16 -3) 📝 `x/imagegen/mlx/generate_wrappers.go` (+10 -3) 📝 `x/imagegen/mlx/mlx.c` (+582 -574) 📝 `x/imagegen/mlx/mlx.go` (+2 -2) 📝 `x/imagegen/mlx/mlx_dynamic.c` (+53 -7) 📝 `x/imagegen/models/zimage/zimage.go` (+6 -13) 📝 `x/imagegen/server.go` (+26 -10) 📝 `x/mlxrunner/mlx/dynamic.h` (+8 -4) </details> ### 📄 Description Add support for image generation to Windows This carries some upstream PRs temporarily so we can make forward progress. Once those (or equivalent functionality) merges we can drop the patches. - https://github.com/ml-explore/mlx/pull/2972 - https://github.com/ml-explore/mlx-c/pull/92 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 00:52:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#14398