ollama/scripts
Daniel Hiltgen 33ee7168ba
Add experimental MLX backend and engine with imagegen support (#13648)
* WIP - MLX backend with gemma3

* MLX: add cmake and go tag build toggles

To build the new MLX backend code:
  cmake --preset MLX
  cmake --build --preset MLX --parallel
  cmake --install build --component MLX
  go build -tags mlx .

Note: the main.go entrypoint for the MLX engine will change in a follow up commit.

* add experimental image generation runtime

* add experimental image generation runtime

* MLX: wire up cuda build for linux

* MLX: get dependencies correct and dedup

This is still too large for a unified github artifact, but is now "correct" for the mlx_cuda_v13
directory.

* fix relative link bug in dedup

* Add darwin build and readme

* add go build tag for mlx dependent code and wire up build_darwin.sh

* lint cleanup

* macos: build mlx for x86

This will be CPU only.

* cuda build instructions and fix drift from mlx bump

* stale comment

* Delete agent helper doc

* Clean up readme.md

* Revise README for tokenizer clarity and details

Updated README to clarify tokenizer functionality and removed correctness section.

---------

Co-authored-by: jmorganca <jmorganca@gmail.com>
2026-01-08 16:18:59 -08:00
..
support app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
.this-is-the-create-dmg-repo app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
build_darwin.sh Add experimental MLX backend and engine with imagegen support (#13648) 2026-01-08 16:18:59 -08:00
build_docker.sh Update ROCm (6.3 linux, 6.2 windows) and CUDA v12.8 (#9304) 2025-02-25 13:47:36 -08:00
build_linux.sh Add experimental MLX backend and engine with imagegen support (#13648) 2026-01-08 16:18:59 -08:00
build_windows.ps1 app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
create-dmg.sh app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
env.sh build: avoid unbounded parallel builds (#12319) 2025-09-18 14:57:01 -07:00
install.sh Linux: switch to zstd compression (#13651) 2026-01-08 15:47:32 -08:00
push_docker.sh change github.com/jmorganca/ollama to github.com/ollama/ollama (#3347) 2024-03-26 13:04:17 -07:00
tag_latest.sh CI: clean up naming, fix tagging latest (#6832) 2024-09-16 16:18:41 -07:00