ollama/x/ml
Daniel Hiltgen 12719b6e87
MLX - dynamic loading of mlx-c (#13735)
* MLX - dynamic loading of mlx-c

Create a wrapper layer to indirect the dependency on mlx-c so
the main ollama binary does not have a load-time dependency on mlx-c, mlx, and on linux, cuda.  Lazy load the library via dlopen
so we can adjust the path to ensure the dependencies are found
and fail gracefully if not present.

* review comments

* fix broken tests
2026-01-16 16:34:22 -08:00
..
backend MLX - dynamic loading of mlx-c (#13735) 2026-01-16 16:34:22 -08:00
nn Add experimental MLX backend and engine with imagegen support (#13648) 2026-01-08 16:18:59 -08:00
backend.go Add experimental MLX backend and engine with imagegen support (#13648) 2026-01-08 16:18:59 -08:00
device.go Add experimental MLX backend and engine with imagegen support (#13648) 2026-01-08 16:18:59 -08:00
path.go Add experimental MLX backend and engine with imagegen support (#13648) 2026-01-08 16:18:59 -08:00